summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-08 12:48:43 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-08 12:49:09 -0300
commit20584bbcaf2ede5f242ff16ad507294173a1389e (patch)
tree4374be977528787460015f6bd1963c48d40e0d5d
parentc77c25d080effd112c695d836040bd2cc4dcee5d (diff)
banshee-2.6.2-9.nonprism1: hooks rebuild
-rw-r--r--nonprism/banshee/PKGBUILD13
-rw-r--r--nonprism/banshee/banshee.install15
2 files changed, 9 insertions, 19 deletions
diff --git a/nonprism/banshee/PKGBUILD b/nonprism/banshee/PKGBUILD
index b813b25bc..d540272ee 100644
--- a/nonprism/banshee/PKGBUILD
+++ b/nonprism/banshee/PKGBUILD
@@ -5,19 +5,18 @@
pkgname=banshee
pkgver=2.6.2
-pkgrel=8.nonprism1
+pkgrel=9.nonprism1
pkgdesc="Music management and playback for GNOME, without gdata-sharp, Ubuntu One Music store and Amazon MP3 store support"
arch=('i686' 'x86_64')
url="http://banshee.fm/"
license=('MIT')
-depends=(libxxf86vm gst-plugins-base-libs mono-addins dbus-sharp-glib webkitgtk2 libsoup-gnome taglib-sharp gudev-sharp gkeyfile-sharp gconf-sharp libmtp libgpod mono-zeroconf desktop-file-utils hicolor-icon-theme media-player-info gst-plugins-bad mono-upnp gst-plugins-good gvfs)
+depends=(libxxf86vm gst-plugins-base-libs mono-addins dbus-sharp-glib webkitgtk2 libsoup-gnome taglib-sharp gudev-sharp gkeyfile-sharp gconf-sharp libmtp libgpod mono-zeroconf hicolor-icon-theme media-player-info gst-plugins-bad mono-upnp gst-plugins-good gvfs)
makedepends=('intltool' 'gnome-doc-utils' 'gtk-sharp-beans' 'gnome-common')
optdepends=('gst-plugins-ugly: Extra media codecs'
'gst-libav: Extra media codecs'
'brasero: CD burning')
replaces=(${pkgname}-nonprism)
conflicts=(${pkgname}-nonprism)
-install=$pkgname.install
source=(http://download.gnome.org/sources/$pkgname/2.6/$pkgname-$pkgver.tar.xz
Initial-port-to-GStreamer-1.0.patch
Remove-build-time-enable-gapless-playback-option.patch
@@ -46,6 +45,12 @@ prepare() {
patch -p1 -i ../sqlite_fix.patch
patch -p1 -i ../Remove-IDBusExportable-inheritance-from-exported-int.patch
patch -p1 -i ../Use-dbus-2.patch
+
+ NOCONFIGURE=1 ./autogen.sh
+# Fix build with mono 4.0 (Fedora)
+ sed -i "s#mono/2.0#mono/4.5#g" configure
+ sed -i "s#Mono 2.0#Mono 4.5#g" configure
+
# Remove Amazon MP3 store extension since it's mandatory from the building
patch -p1 -i ../nonprism.patch
rm -rv src/Extensions/Banshee.AmazonMp3{,.Store}
@@ -60,7 +65,7 @@ build() {
cd $pkgname-$pkgver
# Disable Youtube extension because it needs gdata-sharp to works. Also disable Ubuntu One Music store too.
- MCS=/usr/bin/dmcs ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ MCS=/usr/bin/dmcs ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-docs \
--disable-static \
--disable-scrollkeeper \
diff --git a/nonprism/banshee/banshee.install b/nonprism/banshee/banshee.install
deleted file mode 100644
index 079ac953d..000000000
--- a/nonprism/banshee/banshee.install
+++ /dev/null
@@ -1,15 +0,0 @@
-pkgname=banshee
-
-post_install() {
- update-desktop-database -q
- update-mime-database usr/share/mime &> /dev/null
- gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}