aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfburn/APKBUILD
blob: 038c42177ef5d425d13d2511f33ad8204e27248b (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=xfburn
pkgver=0.5.4
pkgrel=0
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"
subpackages="$pkgname-doc $pkgname-lang"
source="http://archive.xfce.org/src/apps/xfburn/${pkgver%.*}/xfburn-$pkgver.tar.bz2"

builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	default_prepare
	cd "$_builddir"
	# 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
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="66bd82aa80fcd53d5d505b01a33cdbffdcf547a05a11bdbe688387420ee682a28564397acaf85a52852625909648c01cc18f289736ac54d2806725f46c875481  xfburn-0.5.4.tar.bz2"