summaryrefslogtreecommitdiff
path: root/user/ayatana-ido
diff options
context:
space:
mode:
Diffstat (limited to 'user/ayatana-ido')
-rw-r--r--user/ayatana-ido/APKBUILD46
-rw-r--r--user/ayatana-ido/gtk-doc-fix.patch16
2 files changed, 62 insertions, 0 deletions
diff --git a/user/ayatana-ido/APKBUILD b/user/ayatana-ido/APKBUILD
new file mode 100644
index 000000000..dea352c42
--- /dev/null
+++ b/user/ayatana-ido/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=ayatana-ido
+pkgver=0.4.4
+pkgrel=0
+pkgdesc="Indicator display object library for the Gnome desktop environment"
+url="https://ayatanaindicators.github.io/"
+arch="all"
+license="GPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0+"
+depends=""
+makedepends="glib-dev gobject-introspection-dev gtest-dev gtk+3.0-dev
+ mate-common-dev vala-dev xorg-gtest-dev"
+subpackages="$pkgname-dev"
+source="ayatana-ido-$pkgver.tar.gz::https://github.com/AyatanaIndicators/ayatana-ido/archive/$pkgver.tar.gz
+ gtk-doc-fix.patch"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ autoreconf -vif
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="ef04b0b6c959d209e88b1de322ac64ea33fdd043a73980bf3b043380603b6a448ea7bf43ba8e2750e1a0a9bef704a7099f7ae9b92a97d3ce0be2e9f48ba16703 ayatana-ido-0.4.4.tar.gz
+92ddc4f09c5ed7800357a76e2276c07db682408f259e22d6511696df032d6712ecd295d0775db36ad6ace5d3f352ce7d59cd9f1b24e899b7accaf680c0e4488d gtk-doc-fix.patch"
diff --git a/user/ayatana-ido/gtk-doc-fix.patch b/user/ayatana-ido/gtk-doc-fix.patch
new file mode 100644
index 000000000..867aa0b2c
--- /dev/null
+++ b/user/ayatana-ido/gtk-doc-fix.patch
@@ -0,0 +1,16 @@
+diff -Nurd ayatana-ido-0.4.4/configure.ac ayatana-ido-0.4.4.new/configure.ac
+--- ayatana-ido-0.4.4/configure.ac 2018-08-13 05:34:25.000000000 -0500
++++ ayatana-ido-0.4.4.new/configure.ac 2019-03-23 19:40:02.167258822 -0500
+@@ -138,7 +138,11 @@
+
+ dnl = GTK Doc Check ===========================================================
+
+-GTK_DOC_CHECK([1.8])
++m4_ifdef([GTK_DOC_CHECK], [
++GTK_DOC_CHECK([1.8],[])
++],[
++AM_CONDITIONAL([ENABLE_GTK_DOC], false)
++])
+
+ dnl ===========================================================================
+