brasero: added gir build option; remove long_desc.
This commit is contained in:
parent
7565671d17
commit
a60d27c6da
|
@ -1,11 +1,10 @@
|
|||
# Template file for 'brasero'
|
||||
pkgname=brasero
|
||||
version=3.10.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-schemas-compile --disable-caches"
|
||||
hostmakedepends="pkg-config intltool which gnome-doc-utils
|
||||
itstool gobject-introspection"
|
||||
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.10 tracker-devel>=0.16_2 libisofs-devel
|
||||
libburn-devel libSM-devel cdrtools dconf-devel"
|
||||
|
@ -16,17 +15,22 @@ homepage="http://www.gnome.org/projects/brasero"
|
|||
license="GPL-2"
|
||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||
checksum=88fd9135e796f58caeb484d00f5d95916c67f97505e68d2027ab84d3f9245f37
|
||||
long_desc="
|
||||
Features
|
||||
* Data CD/DVD: supports edition of discs contents (remove/move/rename
|
||||
files inside directories)
|
||||
* can burn data CD/DVD on the fly
|
||||
* automatic filtering for unwanted files (hidden files, broken/recursive
|
||||
symlinks, files not conforming to joliet standard, ...)
|
||||
* supports multisession
|
||||
* supports joliet extension
|
||||
* can write the image to the hard drive
|
||||
* can check disc file integrity"
|
||||
|
||||
# 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() {
|
||||
depends="gtk+3-devel brasero>=${version}_${revision}"
|
||||
|
@ -35,7 +39,9 @@ brasero-devel_package() {
|
|||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share/gir-1.0
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
vmove usr/share/gtk-doc
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue