diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-28 14:40:33 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-28 14:40:33 -0600 |
commit | 9f3094ea159b52a55c01fb5e7e7a73c218f8b33a (patch) | |
tree | 5d4e435d251bebe8187368cb0b752b2f32ab18b8 /testing/libdbusmenu-qt | |
parent | 1260e665377aeb3ccf11cdd5278d758588b7a711 (diff) | |
download | aports-9f3094ea159b52a55c01fb5e7e7a73c218f8b33a.tar.bz2 aports-9f3094ea159b52a55c01fb5e7e7a73c218f8b33a.tar.xz |
testing/libdbusmenu-qt: new aport
Diffstat (limited to 'testing/libdbusmenu-qt')
-rw-r--r-- | testing/libdbusmenu-qt/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/libdbusmenu-qt/APKBUILD b/testing/libdbusmenu-qt/APKBUILD new file mode 100644 index 0000000000..bf300a98b7 --- /dev/null +++ b/testing/libdbusmenu-qt/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libdbusmenu-qt +pkgver=0.9.3_pre20160218 +pkgrel=1 +pkgdesc="library to export QMenu over DBusMenu protocol" +url="http://people.canonical.com/~agateau/dbusmenu/index.html" +arch="all" +license="LGPL" +options="!check" # requires as-of-yet unpkg'd qjson, may require dbus? +depends= +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev cmake doxygen" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver/_pre/+16.04.}.orig.tar.gz" + +builddir="$srcdir"/"$pkgname-0.9.3+16.04.20160218" +prepare() { + cd "$builddir" + default_prepare + mkdir -p "$builddir"/build +} + +build() { + cd "$builddir"/build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DUSE_QT5=ON \ + "$builddir" + make +} + +package() { + cd "$builddir"/build + make DESTDIR="$pkgdir" install +} + +sha512sums="dfaba59cedd320e6a3b5a9c0a5e13fb9e0952224e39cdd6ee3b32b03d95ac850a533e2a73835a7c0ead93b2283b9c235472bacb84e3d761ebe9e9398345314a9 libdbusmenu-qt_0.9.3+16.04.20160218.orig.tar.gz" |