aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 15:27:15 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:22 +0000
commit11756d2c2241ceacb2c638429c56c4f24cfb955a (patch)
tree99aeb7a31e1564ceba6151ee6ba4a1158fb93158
parent131bdb2f1100788ebeb77d018aab4dce0c73f1a5 (diff)
downloadaports-11756d2c2241ceacb2c638429c56c4f24cfb955a.tar.gz
aports-11756d2c2241ceacb2c638429c56c4f24cfb955a.tar.bz2
aports-11756d2c2241ceacb2c638429c56c4f24cfb955a.tar.xz
community/libindicator: new aport. In community due to dependency for mate-indicator-applet
-rw-r--r--community/libindicator/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/community/libindicator/APKBUILD b/community/libindicator/APKBUILD
new file mode 100644
index 0000000000..4ec404ffcf
--- /dev/null
+++ b/community/libindicator/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=libindicator
+pkgver=12.10.1
+pkgrel=0
+pkgdesc="Set of symbols and convenience functions for Ayatana indicators (GTK+ 3 library)"
+url="https://launchpad.net/libindicator"
+arch="all"
+license="GPL3"
+makedepends="gtk+3.0-dev"
+subpackages="$pkgname-dev"
+source="https://launchpad.net/$pkgname/${pkgver%.*}/${pkgver}/+download/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ default_prepare
+ cd "$builddir"
+ sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i libindicator/Makefile.am
+ sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i libindicator/Makefile.in
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/libindicator \
+ --sysconfdir=/etc \
+ --with-gtk=3 \
+ --disable-static \
+ --disable-tests
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="${pkgdir}" install
+}
+
+sha512sums="d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af libindicator-12.10.1.tar.gz"