diff --git a/srcpkgs/brasero/template b/srcpkgs/brasero/template index b1cc79d8027..9ff2a6468ea 100644 --- a/srcpkgs/brasero/template +++ b/srcpkgs/brasero/template @@ -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"