void-packages/srcpkgs/brasero/template

43 lines
1.3 KiB
Bash

# Template file for 'brasero'
pkgname=brasero
version=3.12.2
revision=6
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-schemas-compile --disable-caches"
hostmakedepends="pkg-config intltool cdrtools 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="Orphaned <orphan@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"
build_options_default="gir"
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' \
-e 's,localedir=.*eval echo.*,localedir=/usr/share/locale,' \
configure
}
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
}
}