#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=banshee pkgver=2.1.0 zenver=72 pkgrel=1 arch=i686 source=("http://ftp.gnome.org/pub/GNOME/sources/banshee/2.1/banshee-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=http://banshee-project.org/ options=('norequiredbuilder' 'noautodotnew') extradepends=("atk" "cairo" "cxxlibs" "dbus-sharp" "dbus-sharp-glib" "gcc-g++" "expat" "fontconfig" "freetype" "gcc" "glib2" \ "gst-plugins-base" "gstreamer" "gtk+2" "libX11" "libXau" "libXcomposite" "libXcursor" "libXdamage" \ "libXdmcp" "libXext" "libXfixes" "libXi" "libXinerama" "libXrandr" "libXrender" "libXxf86vm" \ "libpng" "libxcb" "libxml2" "pango" "pixman" "zlib" "mono" "notify-sharp" "ipod-sharp" "boo" \ "taglib-sharp" "libgoogle-data-mono" "mono-zeroconf" "mono-addins" "ndesk-dbus" \ "ndesk-dbus-glib" "webkit" "sqlite" "gnome-sharp" "gtk-sharp2" "gnome-sharp") 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 } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "banshee (A music management and playback application for GNOME)" "Import, organize, play, and share your music using Banshee's simple," "powerful interface. Rip CDs, play and sync your iPod, create" "playlists, and burn audio CDs. Most portable music devices are" "supported. Banshee also has support for podcasting, smart playlists," "music recommendations, and much more." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --disable-schemas-install --disable-mtp --disable-hal \ --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" --disable-static make || return 1 make install DESTDIR=$startdir/pkg # 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 }