mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
amtterm: allow compiling with gamt
This adds a graphical version of amtterm, called `gamt`, which automatically gets built if gtk/gdk and vte are discovered. It's gated behind a `withGamt` flag, defaulting to false, and available as `gamt`. This follows the same logic as qcam.
This commit is contained in:
parent
262d03879b
commit
13d60d66d7
2 changed files with 11 additions and 1 deletions
|
@ -3,10 +3,13 @@
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
|
gtk3,
|
||||||
openssl,
|
openssl,
|
||||||
perl,
|
perl,
|
||||||
perlPackages,
|
perlPackages,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
|
vte,
|
||||||
|
withGamt ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
@ -18,7 +21,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
perl
|
perl
|
||||||
SOAPLite
|
SOAPLite
|
||||||
])
|
])
|
||||||
++ [ openssl ];
|
++ [ openssl ]
|
||||||
|
|
||||||
|
++ lib.optionals withGamt [
|
||||||
|
gtk3
|
||||||
|
vte
|
||||||
|
];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
|
@ -8752,6 +8752,8 @@ with pkgs;
|
||||||
protobuf = protobuf_21;
|
protobuf = protobuf_21;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gamt = callPackage ../by-name/am/amtterm/package.nix { withGamt = true; };
|
||||||
|
|
||||||
gcr = callPackage ../development/libraries/gcr { };
|
gcr = callPackage ../development/libraries/gcr { };
|
||||||
|
|
||||||
gcr_4 = callPackage ../development/libraries/gcr/4.nix { };
|
gcr_4 = callPackage ../development/libraries/gcr/4.nix { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue