blob: 0abbf77d19c252c22e62e43c0817ade12ed7dd92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=libappindicator
pkgver=12.10.0
pkgrel=0
pkgdesc="Library that allow applications to export menus"
options="!check" # Requires dbus-test-runner
url="https://launchpad.net/libappindicator"
arch="all"
license="LGPL-2.1-or-later"
makedepends="glib-dev gtk+3.0-dev glib-networking libdbusmenu-glib-dev
libdbusmenu-gtk3-dev libindicator-dev dbus-glib-dev vala"
subpackages="$pkgname-dev"
source="https://launchpad.net/libappindicator/${pkgver%.*}/$pkgver/+download/libappindicator-$pkgver.tar.gz
improved-plasma.patch
incompatible_pointer_build_fix.patch
no-python.patch
"
prepare() {
default_prepare
update_config_sub
}
build() {
export CFLAGS="$CFLAGS -Wno-error"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-gtk-doc-html \
--disable-mono-test \
--disable-static \
--with-gtk=3
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/share/gtk-doc
}
sha512sums="317a22a23c8ed84e74207b64b2e9683992d1fb7208176637a051dfe925974f966d1cfa31e650b45eaf839ab61641dee8fbebc8a07882a09b0dd766d88b8d5b9a libappindicator-12.10.0.tar.gz
e2930b9942b800a7a14faf4c27d59073c166e24bb1675f8604a0b5ac3fbd101f3642f7221bc8f5219231c8f021a2a8c4aa203f971ea5f2f9225be83d807cb80e improved-plasma.patch
bda93822c43dbc153202e7cd1e4b5c5fde5ca1ec35a1314bee37707f9cf4483c52ba79d3c808592f5e62470d45dc6a7b8eb5cfe60295a8e5446128b0643e36c5 incompatible_pointer_build_fix.patch
faa160e93b9a5ca7b9e2cee978f225de9b6ab5a17ecb982987e3dacf61c148ffd739fe956db7c949987a80cc401a7f88ceb3417b049152f7c4cbbae60f0afde9 no-python.patch"
|