From 2220c804bef5c8834ceac83d7aff87e29ea38f74 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sat, 23 Mar 2019 19:46:15 -0500 Subject: user/ayatana-ido: new package what kind of dev asks for a test framework but doesn't use it? --- user/ayatana-ido/APKBUILD | 46 ++++++++++++++++++++++++++++++++++++++ user/ayatana-ido/gtk-doc-fix.patch | 16 +++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 user/ayatana-ido/APKBUILD create mode 100644 user/ayatana-ido/gtk-doc-fix.patch 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 +# Maintainer: Kiyoshi Aman +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 =========================================================================== + -- cgit v1.2.3-70-g09d2