aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-mixer/APKBUILD
blob: e5fae12f006f5a631e43c931c30ee7cac3e7abb7 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-mixer
pkgver=4.11.0
pkgrel=3
pkgdesc="The volume control plugin for the Xfce panel"
url="https://xfce.org/"
arch="all"
license="GPL-2.0"
depends="hicolor-icon-theme"
makedepends="xfce4-panel-dev gst-plugins-base0.10-dev libxfce4ui-dev
	libunique-dev keybinder-dev dbus-glib-dev"
install=
subpackages="$pkgname-lang $pkgname-doc"
source="http://archive.xfce.org/src/apps/xfce4-mixer/${pkgver%.*}/xfce4-mixer-$pkgver.tar.bz2
	"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--with-sound=alsa \
		CFLAGS="$CFLAGS -I/usr/include/dbus-1.0"
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="0ef27ece0d5f46bd83db86d8e607d2dc34f4b0221679dbdeae4e4eb9993b30398a2e882b3a870af9928906330898935f2fe29e83442ba6f01b9e19d02ea6f66f  xfce4-mixer-4.11.0.tar.bz2"