brasero: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2020-12-31 07:48:52 +07:00
parent 7da16f9532
commit 2879b28df9
1 changed files with 9 additions and 2 deletions

View File

@ -1,10 +1,11 @@
# Template file for 'brasero'
pkgname=brasero
version=3.12.2
revision=5
revision=6
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-schemas-compile --disable-caches"
configure_args="--with-locales-dir=/usr/share/locale
--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
@ -21,6 +22,12 @@ checksum=6822166f9d08efcf8d900cab6f563e87f49f0e078ca10595dcd908498ef12041
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"