summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-29 05:20:16 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-29 05:20:16 -0600
commitc1a18024a2067f39cc075f0d2d93fa884e092886 (patch)
tree9ea654bb56b85f78958d2486fc1143029b6721fa /user
parent0e9adc0b5b4e3a4c6df8685a1fcab639a136b036 (diff)
downloadpackages-c1a18024a2067f39cc075f0d2d93fa884e092886.tar.gz
packages-c1a18024a2067f39cc075f0d2d93fa884e092886.tar.bz2
packages-c1a18024a2067f39cc075f0d2d93fa884e092886.tar.xz
packages-c1a18024a2067f39cc075f0d2d93fa884e092886.zip
user/libdbusmenu: New package
Diffstat (limited to 'user')
-rw-r--r--user/libdbusmenu/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libdbusmenu/APKBUILD b/user/libdbusmenu/APKBUILD
new file mode 100644
index 000000000..0c1b9f693
--- /dev/null
+++ b/user/libdbusmenu/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libdbusmenu
+pkgver=16.04.0
+pkgrel=0
+pkgdesc="Library for passing menus over D-Bus"
+url="https://launchpad.net/libdbusmenu"
+arch="all"
+options="!check" # Requires Python 2.
+license="(LGPL-2.1-only OR LGPL-3.0-only) AND GPL-3.0-only"
+depends=""
+makedepends="atk-dev glib-dev gobject-introspection-dev gtk-doc gtk+3.0-dev
+ intltool json-glib-dev libx11-dev libxslt-dev vala-dev"
+subpackages="$pkgname-doc $pkgname-dev"
+source="https://launchpad.net/libdbusmenu/16.04/$pkgver/+download/libdbusmenu-$pkgver.tar.gz"
+
+build() {
+ export CFLAGS="$CFLAGS -Wno-error"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-introspection
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ee9654ac4ed94bdebc94a6db83b126784273a417a645b2881b2ba676a5f67d7fc95dd2bb37bfb0890aa47299ed73cb21ed7de8b75f3fed6b69bfd39065062241 libdbusmenu-16.04.0.tar.gz"