void-packages/srcpkgs/brasero/template

44 lines
1.4 KiB
Bash

# Template file for 'brasero'
pkgname=brasero
version=3.12.3
revision=1
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="https://wiki.gnome.org/Apps/Brasero"
changelog="https://gitlab.gnome.org/GNOME/brasero/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=87749eae33a141207d1b00be233b6d8045982ed3249ed4b98dae1f3a975fea15
# 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
}
}