libhandy: 0.0.6 -> 0.0.7 (#54355)

* fix tests by providing hicolor

* enable glade catalog and introspection features explicitly
  (this is no longer the default or something)

https://bytesgnomeschozo.blogspot.com/2019/01/my-name-is-handy-lib-handy.html
This commit is contained in:
Will Dietz 2019-01-20 13:39:00 -06:00 committed by Tor Hedin Brønner
parent 6fc8992e6d
commit 8c11495e47

View File

@ -2,11 +2,12 @@
, gtk-doc, docbook_xsl, docbook_xml_dtd_43 , gtk-doc, docbook_xsl, docbook_xml_dtd_43
, gtk3, gnome3 , gtk3, gnome3
, dbus, xvfb_run, libxml2 , dbus, xvfb_run, libxml2
, hicolor-icon-theme
}: }:
let let
pname = "libhandy"; pname = "libhandy";
version = "0.0.6"; version = "0.0.7";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
@ -18,7 +19,7 @@ in stdenv.mkDerivation rec {
owner = "Librem5"; owner = "Librem5";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0gmqsxkpi288qjfdczfrbvjqyy9sbn3gligqwgqj27ask95zl1q5"; sha256 = "1k9v6q2dz9x8lfcyzmsksrkq6md7m9jdkjlfan7nqlcj3mqhd7m9";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -26,10 +27,12 @@ in stdenv.mkDerivation rec {
gtk-doc docbook_xsl docbook_xml_dtd_43 gtk-doc docbook_xsl docbook_xml_dtd_43
]; ];
buildInputs = [ gnome3.gnome-desktop gtk3 gnome3.glade libxml2 ]; buildInputs = [ gnome3.gnome-desktop gtk3 gnome3.glade libxml2 ];
checkInputs = [ dbus xvfb_run ]; checkInputs = [ dbus xvfb_run hicolor-icon-theme ];
mesonFlags = [ mesonFlags = [
"-Dgtk_doc=true" "-Dgtk_doc=true"
"-Dglade_catalog=enabled"
"-Dintrospection=enabled"
]; ];
PKG_CONFIG_GLADEUI_2_0_MODULEDIR = "${placeholder "glade"}/lib/glade/modules"; PKG_CONFIG_GLADEUI_2_0_MODULEDIR = "${placeholder "glade"}/lib/glade/modules";