blob: c945ca49759866be01a52d0df70864f529a14d99 (
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
54
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfce4ui
pkgver=4.13.7
pkgrel=0
pkgdesc="Widgets library for the Xfce desktop environment"
url="https://xfce.org/"
arch="all"
license="GPL-2.0-only"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-gtk3"
depends_dev="startup-notification-dev"
makedepends="$depends_dev gtk+2.0-dev gtk+3.0-dev libxfce4util-dev xfconf-dev
glade-dev gtk-doc gobject-introspection-dev"
source="https://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--enable-gladeui \
--with-vendor-info="${DISTRO_NAME:-Alpine Linux}" \
--disable-static \
--enable-introspection \
--enable-gtk-doc
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
dev() {
default_dev
mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share
mv "$pkgdir"/usr/lib/glade* "$subpkgdir"/usr/lib/
mv "$pkgdir"/usr/share/glade* "$subpkgdir"/usr/share/
}
gtk3() {
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libxfce4ui-2.so.* \
"$pkgdir"/usr/lib/libxfce4kbd-private-3.so.* \
"$subpkgdir"/usr/lib/
}
sha512sums="bcee0bd7b1f1200c195809b8484778326d02637c06754e876d0fdcdfb860ea642fc342c3fc5cb4b181bfbd58f17a695cc1fa1b318725f774f3b79e544ee4b32d libxfce4ui-4.13.7.tar.bz2"
|