aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfburn/APKBUILD
blob: 568881c18f764b5744b4b783dc1210a8626ede4b (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.5
pkgrel=0
pkgdesc="a simple CD/DVD burning tool based on libburnia libraries"
url="http://goodies.xfce.org/projects/applications/xfburn"
arch="all"
license="GPL-2.0"
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="https://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="37574aa7dcec65c26a8fd5019c3776196763fa1ebb0f531002f5bcb72a6eb0ec19ed994dd14726988766d890ef257c39c26e64ca3f5944386c03d9b54c26a90a  xfburn-0.5.5.tar.bz2"