void-packages/srcpkgs/brasero/template
2019-02-08 22:46:44 -02:00

41 lines
1.3 KiB
Bash

# Template file for 'brasero'
pkgname=brasero
version=3.12.2
revision=4
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-schemas-compile --disable-caches"
hostmakedepends="pkg-config intltool cdrtools gnome-doc-utils itstool"
makedepends="gst-plugins-base1-devel totem-pl-parser-devel libnotify-devel
libcanberra-devel nautilus-devel libisofs-devel
libburn-devel libSM-devel dconf-devel"
depends="cdrdao cdrtools dconf shared-mime-info hicolor-icon-theme desktop-file-utils"
short_desc="Application to burn CD/DVD for the Gnome Desktop"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.gnome.org/projects/brasero"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=6822166f9d08efcf8d900cab6f563e87f49f0e078ca10595dcd908498ef12041
# Package build options
build_options="gir"
case "$XBPS_TARGET_MACHINE" in
x86_64-musl) build_options_default+=" gir" ;;
*-musl) ;;
*) build_options_default+=" gir" ;;
esac
brasero-devel_package() {
depends="gtk+3-devel brasero>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
}
}