#Maintainer: George Vlahavas (vlahavas~AT~gmail~DOT~com) # # libburnia packages (libburn, libisoburn, libisofs) must be installed if # you want to compile with optional support for them pkgname=brasero pkgver=3.12.1 _mainver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)\.\(.*\)/\1.\2/"` pkgrel=1gv source=("http://download.gnome.org/sources/brasero/${_mainver}/brasero-${pkgver}.tar.xz" "http://pnboy.pinguix.com/gapan/$pkgname/brasero-2.26.0-nohelp.patch") url="http://www.gnome.org/projects/brasero/index.html" docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") options=('noautodotnew') doinst() { # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi # compile schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "brasero (a CD/DVD burning application)" "Brasero is a application to burn CD/DVD for the Gnome Desktop. It is" "designed to be as simple as possible and has some unique features to" "enable users to create their discs easily and quickly." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/brasero-2.26.0-nohelp.patch || exit 1 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-playlist \ --disable-gtk-doc \ --disable-caches \ --disable-static \ --disable-schemas-compile \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # we don't need help files, we've disabled them with a patch # and --disable-gtk-doc doesn't really work rm -rf $startdir/pkg/usr/share/gnome rm -rf $startdir/pkg/usr/share/gtk-doc rm -rf $startdir/pkg/usr/share/omf }