#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=gnome-media pkgver=2.24.0.1 pkgrel=1gv arch=i486 source=("http://ftp.acc.umu.se/pub/GNOME/sources/gnome-media/2.24/gnome-media-2.24.0.1.tar.bz2") docs=("readme" "install" "copying*" "changelog" "authors" "news" "todo" "maintainers") url=www.gnome.org options=('noautodotnew') doinst() { # Update the scrollkeeper database (Remove stale pieces) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-media (Media Applications for GNOME)" "GNOME-Media includes many Media applications useful in for the GNOME" "desktop." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --enable-esound --enable-profiles --enable-grecord --enable-gstprops --enable-gstmix --disable-schemas-install --disable-scrollkeeper --disable-static --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" make || return 1 make install DESTDIR=$startdir/pkg sed -i "/NoDisplay=true/d" $startdir/pkg/usr/share/applications/gstreamer-properties.desktop echo "OnlyShowIn=GNOME;" >> $startdir/pkg/usr/share/applications/gnome-volume-control.desktop # gconf stuff export GCONF_CONFIG_SOURCE="xml::$startdir/pkg/etc/gconf/gconf.xml.defaults" if [ -d $startdir/pkg/etc/gconf/schemas ]; then install -v -d -m755 $startdir/pkg/etc/gconf/gconf.xml.defaults SCHEMAS=$startdir/pkg/etc/gconf/schemas for schema in $SCHEMAS/*.schemas; do gconftool-2 --makefile-install-rule $schema done # Reset / Verify correct permissions ( cd $startdir/pkg/etc/gconf ; find . -type d -exec chmod 755 {} \; ) ( cd $startdir/pkg/etc/gconf ; find . -type f -exec chmod 644 {} \; ) fi }