From c1a18024a2067f39cc075f0d2d93fa884e092886 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 29 Nov 2024 05:20:16 -0600 Subject: user/libdbusmenu: New package --- user/libdbusmenu/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 user/libdbusmenu/APKBUILD (limited to 'user') 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 +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" -- cgit v1.2.3-70-g09d2