fcitx5-gtk: 5.0.3 -> 5.0.7
This commit is contained in:
parent
1a63a40bc7
commit
55dfc47900
|
@ -4,9 +4,11 @@
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, fcitx5
|
, fcitx5
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
|
, glib
|
||||||
, gtk2
|
, gtk2
|
||||||
, gtk3
|
, gtk3
|
||||||
, gtk4
|
, gtk4
|
||||||
|
, fmt
|
||||||
, pcre
|
, pcre
|
||||||
, libuuid
|
, libuuid
|
||||||
, libselinux
|
, libselinux
|
||||||
|
@ -24,13 +26,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fcitx5-gtk";
|
pname = "fcitx5-gtk";
|
||||||
version = "5.0.3";
|
version = "5.0.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fcitx";
|
owner = "fcitx";
|
||||||
repo = "fcitx5-gtk";
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-+BzXbZyzC3fvLqysufblk0zK9fAg5jslVdm/v3jz4B4=";
|
sha256 = "0vcikqrxv1xxcdaiz3axgm7rpab4w8aciw838sbpa9l20dp8cnyq";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -39,8 +41,10 @@ stdenv.mkDerivation rec {
|
||||||
] ++ lib.optional (! withGTK2) "-DENABLE_GTK2_IM_MODULE=off";
|
] ++ lib.optional (! withGTK2) "-DENABLE_GTK2_IM_MODULE=off";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
glib
|
||||||
gtk3
|
gtk3
|
||||||
gtk4
|
gtk4
|
||||||
|
fmt
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
fcitx5
|
fcitx5
|
||||||
pcre
|
pcre
|
||||||
|
@ -57,6 +61,11 @@ stdenv.mkDerivation rec {
|
||||||
libXtst
|
libXtst
|
||||||
] ++ lib.optional withGTK2 gtk2;
|
] ++ lib.optional withGTK2 gtk2;
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = lib.concatMapStringsSep " " (s: "-isystem ${s}") [
|
||||||
|
"${glib.dev}/include/gio-unix-2.0"
|
||||||
|
"${glib.dev}/include/glib-2.0"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
|
Loading…
Reference in a new issue