mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
gthree: 0.2.0 -> 0.9.0
This commit is contained in:
parent
2988feba8c
commit
e4fc19e66e
@ -3,10 +3,10 @@
|
||||
, fetchpatch
|
||||
, ninja
|
||||
, meson
|
||||
, pkgconfig
|
||||
, pkg-config
|
||||
, gobject-introspection
|
||||
, gtk-doc
|
||||
, docbook_xsl
|
||||
, docbook-xsl-nons
|
||||
, docbook_xml_dtd_43
|
||||
, glib
|
||||
, gtk3
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gthree";
|
||||
version = "0.2.0";
|
||||
version = "0.9.0";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
@ -25,32 +25,42 @@ stdenv.mkDerivation rec {
|
||||
owner = "alexlarsson";
|
||||
repo = "gthree";
|
||||
rev = version;
|
||||
sha256 = "16ap1ampnzsyhrs84b168d6889lh8sjr2j5sqv9mdbnnhy72p5cd";
|
||||
sha256 = "09fcnjc3j21lh5fjf067wm35sb4qni4vgzing61kixnn2shy79iy";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Add option for disabling examples
|
||||
(fetchpatch {
|
||||
url = "https://github.com/alexlarsson/gthree/commit/75f05c40aba9d5f603d8a3c490c3406c1fe06776.patch";
|
||||
sha256 = "PBwLz4DLhC+7BtypVTFMFiF3hKAJeskU3XBKFHa3a84=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
ninja
|
||||
meson
|
||||
pkgconfig
|
||||
pkg-config
|
||||
gtk-doc
|
||||
docbook_xsl
|
||||
docbook-xsl-nons
|
||||
docbook_xml_dtd_43
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
epoxy
|
||||
json-glib
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
glib
|
||||
gtk3
|
||||
graphene
|
||||
json-glib
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dgtk_doc=${if stdenv.isDarwin then "false" else "true"}"
|
||||
# Data for examples is useless when the example programs are not installed.
|
||||
"-Dexamples=false"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user