aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfburn/APKBUILD
blob: 2a87311148dec21d291d11ece0e4c53d33b5b389 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfburn
pkgver=0.5.2
pkgrel=2
pkgdesc="a simple CD/DVD burning tool based on libburnia libraries"
url="http://goodies.xfce.org/projects/applications/xfburn"
arch="all"
license="GPL2"
depends="desktop-file-utils hicolor-icon-theme"
makedepends="libburn-dev libisofs-dev libxfce4ui-dev thunar-dev librsvg-dev
	gst-plugins-base0.10-dev exo-dev"
install=
subpackages="$pkgname-doc $pkgname-lang"
source="http://archive.xfce.org/src/apps/xfburn/${pkgver%.*}/xfburn-$pkgver.tar.bz2
	"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
	# fix build issue
	sed -i '1 i\
		#include <glib-object.h>' \
		xfburn/xfburn-settings.h
}

build () {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-gstreamer \
		--enable-thunar-vfs \
		--enable-dbus \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="5a277c76ec9f70900b8b98a2cd500a1d  xfburn-0.5.2.tar.bz2"
sha256sums="63682aab3c30c77e464b2b3b84606d1e1dcefc98e7042072fa09b729d6f84412  xfburn-0.5.2.tar.bz2"
sha512sums="3c6f27e2c8e5200d620bf32f938a1fb044b371a9fe0b5474ba8c1a487c79a7761e144ec8490f04c2389c96bc980b9f2bdfebce9d24dea30c5caae451bb9dcf5e  xfburn-0.5.2.tar.bz2"