diff options
author | Tim Biermann <tbier@posteo.de> | 2022-01-03 14:35:02 +0100 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-01-03 14:35:02 +0100 |
commit | f892127b7165a91eadb27bc76f14fd5c48a9a21a (patch) | |
tree | 2bd2008578fec8f1aebc8a0ff7b3ec4634b9d931 /libdbusmenu-glib | |
parent | 87d8c08dc7e0454b762a111fbf492b5c63944ee0 (diff) | |
download | contrib-f892127b7165a91eadb27bc76f14fd5c48a9a21a.tar.gz contrib-f892127b7165a91eadb27bc76f14fd5c48a9a21a.tar.xz |
libdbusmenu-glib: added optional dependencies
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/.footprint | 5 | ||||
-rw-r--r-- | libdbusmenu-glib/.signature | 6 | ||||
-rw-r--r-- | libdbusmenu-glib/Pkgfile | 9 |
3 files changed, 11 insertions, 9 deletions
diff --git a/libdbusmenu-glib/.footprint b/libdbusmenu-glib/.footprint index 708867c6e..2445897d6 100644 --- a/libdbusmenu-glib/.footprint +++ b/libdbusmenu-glib/.footprint @@ -10,8 +10,6 @@ drwxr-xr-x root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/ -rw-r--r-- root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/server.h -rw-r--r-- root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/types.h drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/girepository-1.0/ --rw-r--r-- root/root usr/lib/girepository-1.0/Dbusmenu-0.4.typelib -rw-r--r-- root/root usr/lib/libdbusmenu-glib.a -rwxr-xr-x root/root usr/lib/libdbusmenu-glib.la lrwxrwxrwx root/root usr/lib/libdbusmenu-glib.so -> libdbusmenu-glib.so.4.0.12 @@ -19,6 +17,3 @@ lrwxrwxrwx root/root usr/lib/libdbusmenu-glib.so.4 -> libdbusmenu-glib.so.4.0.12 -rwxr-xr-x root/root usr/lib/libdbusmenu-glib.so.4.0.12 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/dbusmenu-glib-0.4.pc -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/gir-1.0/ --rw-r--r-- root/root usr/share/gir-1.0/Dbusmenu-0.4.gir diff --git a/libdbusmenu-glib/.signature b/libdbusmenu-glib/.signature index 23a514d42..eba1bd47d 100644 --- a/libdbusmenu-glib/.signature +++ b/libdbusmenu-glib/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3yw/ecl+5RGB0L3ejFZoPtVtDrmQgfLu9XFAx0BObuI1EEa9N+mBkIaDMcH4WrmDv03/6DQ0D399bD4cy7h8owQ= -SHA256 (Pkgfile) = ad3625d2d85f9ec3c98daa796ec06fa10a49787a8996665f519f4b4c0c94250f -SHA256 (.footprint) = 590077021c94af24ace6ad1e6f9d0c0459da9716d4a44a490f1efd41a8c596b8 +RWSagIOpLGJF323akRSDMBTM/JMytvt7J1MDuKvqOC47vKC6ZmUua+HEOSOQFV6eM8y28MLkwoPv0nlZe/SK6iyLcDL2trqr7AE= +SHA256 (Pkgfile) = 003b55672b5cf786c3e8f7f230da0ba45836b65b16372fa1e61e24fcc4c63648 +SHA256 (.footprint) = 38dd875914f1a696ba5b9e1f62598a572177281117c51ad5b4e38b5975ddb052 SHA256 (libdbusmenu_18.10.20180917~bzr490+repack1.orig.tar.xz) = f670bc86ea5ae1488b2405f371ceb870ce353127578f9b0aed2862cbbc42053b SHA256 (0001_no-deprecated-gnome-common-macros.patch) = a65626ad3dd26a81037332d881736587929c7f8935cd34d2fc3e7f4a988d5a72 diff --git a/libdbusmenu-glib/Pkgfile b/libdbusmenu-glib/Pkgfile index c99af3165..50ab8f201 100644 --- a/libdbusmenu-glib/Pkgfile +++ b/libdbusmenu-glib/Pkgfile @@ -2,6 +2,7 @@ # URL: https://launchpad.net/libdbusmenu # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: glib gnome-common gtk-doc intltool +# Optional: gobject-introspection vala name=libdbusmenu-glib version=18.10 @@ -11,16 +12,22 @@ source=(http://cdn-fastly.deb.debian.org/debian/pool/main/libd/libdbusmenu/libdb build() { cd libdbusmenu-18.10.20180917~bzr490 + export HAVE_VALGRIND_TRUE='#' export HAVE_VALGRIND_FALSE='' + patch -Np1 -i $SRC/0001_no-deprecated-gnome-common-macros.patch sed -e 's/-Werror -Wno-error=deprecated-declarations//g' -i libdbusmenu-{glib,gtk}/Makefile.am sed -e 's/gtkdocize || exit 1//g' -i autogen.sh sed -e 's/--enable-gtk-doc//g' -i autogen.sh - ./autogen.sh --prefix=/usr \ + + prt-get isinst vala || PKGMK_LIBDBUSGLIB+=' --disable-vala' + + ./autogen.sh --prefix=/usr $PKGMK_LIBDBUSGLIB \ --sysconfdir=/etc \ --libexecdir=/usr/lib/$name \ --localstatedir=/var \ + --enable-introspection=auto \ --disable-{dumper,tests,nls,gtk} make -j1 make DESTDIR=$PKG -C libdbusmenu-glib -j1 install |