void-packages/srcpkgs/brasero/template

46 lines
1.4 KiB
Text

# Template file for 'brasero'
pkgname=brasero
version=3.11.3
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-caches"
hostmakedepends="pkg-config intltool which gnome-doc-utils itstool"
makedepends="gst-plugins-base1-devel totem-pl-parser-devel>=3.10 libnotify-devel
libcanberra-devel nautilus-devel>=3.12 tracker-devel>=1.0 libisofs-devel
libburn-devel libSM-devel cdrtools dconf-devel>=0.20"
depends="cdrtools dconf>=0.20 shared-mime-info hicolor-icon-theme desktop-file-utils"
short_desc="Application to burn CD/DVD for the Gnome Desktop"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org/projects/brasero"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=0b6fa557d67845b7a4f9978b565a6769e1a023c397a73f2891a8f1c7c55e2d4c
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
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
}
}