Merge pull request #2110 from steski/libdbusmenu

New package: libdbusmenu-gtk3-12.10.2
This commit is contained in:
Juan RP 2015-07-30 06:02:08 +02:00
commit 2dbe5d85c2
5 changed files with 75 additions and 0 deletions

View file

@ -1224,6 +1224,8 @@ libcryptopp.so.562 crypto++-562_4
libqzeitgeist.so.1 libqzeitgeist-0.8.0_1
libphonon.so.4 phonon-4.6.0_1
libphononexperimental.so.4 phonon-4.6.0_1
libdbusmenu-glib.so.4 libdbusmenu-glib-12.10.2_1
libdbusmenu-gtk3.so.4 libdbusmenu-gtk3-12.10.2_1
libdbusmenu-qt.so.2 libdbusmenu-qt-0.9.2_1
libgrantlee_gui.so.0 grantlee-0.3.0_1
libgrantlee_core.so.0 grantlee-0.3.0_1

View file

@ -0,0 +1 @@
libdbusmenu-glib

View file

@ -0,0 +1,70 @@
# Template file for 'libdbusmenu-glib'
_pkgbase=libdbusmenu
pkgname=libdbusmenu-glib
version=12.10.2
revision=1
build_style=gnu-configure
configure_args="--disable-dumper --disable-static --disable-tests
$(vopt_enable gir 'vala introspection') HAVE_VALGRIND_FALSE=''"
hostmakedepends="automake gettext-devel gnome-doc-utils glib-devel intltool libtool pkg-config
$(vopt_if gir 'gobject-introspection vala-devel')"
makedepends="libglib-devel gtk+3-devel gnome-doc-utils rarian"
short_desc="Library for passing menus over DBus"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-3, LGPL-2.1, LGPL-3"
homepage="https://launchpad.net/libdbusmenu"
distfiles="https://launchpad.net/libdbusmenu/${version%.*}/${version}/+download/${_pkgbase}-${version}.tar.gz"
checksum=9d6ad4a0b918b342ad2ee9230cce8a095eb601cb0cee6ddc1122d0481f9d04c9
wrksrc="$_pkgbase-$version"
CFLAGS='-Wno-deprecated-declarations'
build_options="gir"
# Disable gir for cross builds
if [ -z "$CROSS_BUILD" ]; then
build_options_default+="gir"
fi
pre_configure() {
autoreconf -fi
}
libdbusmenu-glib-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/include/libdbusmenu-glib-*"
vmove "usr/lib/pkgconfig/dbusmenu-glib-*.pc"
vmove "usr/lib/libdbusmenu-glib.so"
vmove "usr/share/gtk-doc/html/libdbusmenu-glib"
if [ "$build_option_gir" ]; then
vmove "usr/share/gir-1.0/Dbusmenu-*.gir"
vmove "usr/share/vala/vapi/Dbusmenu-*.vapi"
fi
}
}
libdbusmenu-gtk3_package() {
short_desc+=" (GTK+3)"
pkg_install() {
vmove "usr/lib/libdbusmenu-gtk3.so.*"
if [ "$build_option_gir" ]; then
vmove "usr/lib/girepository-1.0/DbusmenuGtk3-*.typelib"
fi
}
}
libdbusmenu-gtk3-devel_package() {
depends="gtk+3-devel libdbusmenu-gtk3>=${version}_${revision}"
short_desc+=" (GTK+3) - development files"
pkg_install() {
vmove "usr/include/libdbusmenu-gtk3-*"
vmove "usr/lib/pkgconfig/dbusmenu-gtk3-*.pc"
vmove "usr/lib/libdbusmenu-gtk3.so"
vmove "usr/share/gtk-doc/html/libdbusmenu-gtk"
if [ "$build_option_gir" ]; then
vmove "usr/share/gir-1.0/DbusmenuGtk3-*.gir"
vmove "usr/share/vala/vapi/DbusmenuGtk3-*.vapi"
fi
}
}

1
srcpkgs/libdbusmenu-gtk3 Symbolic link
View file

@ -0,0 +1 @@
libdbusmenu-glib

View file

@ -0,0 +1 @@
libdbusmenu-glib