aboutsummaryrefslogtreecommitdiff
path: root/xfburn/Pkgfile
blob: 49a52e2f2fbaa5df3fc8ed45302f0a8fa5c7165b (plain) (blame)
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
# Description: A cd burning suite for Xfce based off libburnia
# URL: https://docs.xfce.org/apps/xfburn/start
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: desktop-file-utils exo libburn libisofs libgudev
# Optional: gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly

name=xfburn
version=0.8.0
release=1
source=(https://archive.xfce.org/src/apps/$name/0.8/$name-$version.tar.bz2)

build() {

	prt-get isinst gstreamer && PKGMK_XFB+='-D gstreamer=enabled ' || PKGMK_XFB+=' -D gstreamer=disabled '

	meson setup $name-$version build $PKGMK_XFB \
	  --prefix=/usr \
	  --libexecdir=/usr/lib \
	  --sysconfdir=/etc \
	  --buildtype=plain \
	  -D b_lto=true \
	  -D b_pie=true

	meson compile -C build
	DESTDIR=$PKG meson install -C build

	rm -rf $PKG/usr/share/locale

}