void-packages/srcpkgs/brasero/template

48 lines
1.5 KiB
Text
Raw Normal View History

2011-02-23 14:24:04 +00:00
# Template file for 'brasero'
pkgname=brasero
2013-11-25 19:41:06 +00:00
version=3.10.0
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-caches"
hostmakedepends="pkg-config intltool which gnome-doc-utils itstool"
2013-09-26 20:48:08 +00:00
makedepends="gst-plugins-base1-devel totem-pl-parser-devel>=3.10 libnotify-devel
libcanberra-devel nautilus-devel>=3.10 tracker-devel>=0.16_2 libisofs-devel
2013-11-25 19:41:06 +00:00
libburn-devel libSM-devel cdrtools dconf-devel"
depends="cdrtools dconf shared-mime-info hicolor-icon-theme desktop-file-utils"
2011-02-23 14:24:04 +00:00
short_desc="Application to burn CD/DVD for the Gnome Desktop"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-09-26 05:15:15 +00:00
homepage="http://www.gnome.org/projects/brasero"
license="GPL-2"
2013-11-25 19:41:06 +00:00
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=88fd9135e796f58caeb484d00f5d95916c67f97505e68d2027ab84d3f9245f37
# Package build options
build_options="gir"
desc_option_gir="Enable support for building gobject introspection data"
# 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() {
2013-11-25 19:41:06 +00:00
depends="gtk+3-devel brasero>=${version}_${revision}"
2013-09-26 20:48:08 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-11-25 19:41:06 +00:00
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
}
}