[arch-commits] Commit in (6 files)

Pierre Schmitz pierre at archlinux.org
Fri Feb 24 10:40:36 EST 2012


    Date: Friday, February 24, 2012 @ 10:40:36
  Author: pierre
Revision: 151055

readded banshee

Added:
  banshee/
  banshee/repos/
  banshee/trunk/
  banshee/trunk/PKGBUILD
  banshee/trunk/banshee-recent-gpod.patch
  banshee/trunk/banshee.install

---------------------------+
 PKGBUILD                  |   49 ++++++++++++++++++++++++++++++++++++++++++++
 banshee-recent-gpod.patch |   24 +++++++++++++++++++++
 banshee.install           |   15 +++++++++++++
 3 files changed, 88 insertions(+)

Added: banshee/trunk/PKGBUILD
===================================================================
--- banshee/trunk/PKGBUILD	                        (rev 0)
+++ banshee/trunk/PKGBUILD	2012-02-24 15:40:36 UTC (rev 151055)
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 141668 2011-11-02 03:17:12Z eric $
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=banshee
+pkgver=2.2.1
+pkgrel=1
+pkgdesc="Music management and playback for GNOME"
+arch=('i686' 'x86_64')
+url="http://banshee.fm/"
+license=('MIT')
+depends=(libxxf86vm gstreamer0.10-base-plugins mono-addins notify-sharp-svn dbus-sharp-glib boo libwebkit libsoup-gnome gdata-sharp taglib-sharp gtk-sharp-beans 'gudev-sharp' 'gkeyfile-sharp' gconf-sharp libmtp libgpod mono-zeroconf desktop-file-utils hicolor-icon-theme xdg-utils media-player-info)
+makedepends=('intltool' 'gnome-doc-utils')
+optdepends=('gstreamer0.10-good-plugins: Extra media codecs'
+            'gstreamer0.10-ugly-plugins: Extra media codecs'
+            'gstreamer0.10-bad-plugins: Extra media codecs'
+            'gstreamer0.10-ffmpeg: Extra media codecs'
+            'brasero: CD burning')
+options=('!libtool')
+install=$pkgname.install
+source=(http://download.gnome.org/sources/$pkgname/2.2/$pkgname-$pkgver.tar.xz
+        banshee-recent-gpod.patch)
+sha256sums=('55c03ddf9732199b9f83d4ff375af99ae5a4eea46b8a198695427e5c48f1b9a5'
+            '018eeb00d1b4e625d13f1184863e499be5b5dde050a7513e012d5898125073d9')
+
+build() {
+  export MONO_SHARED_DIR="$srcdir/.wabi"
+  mkdir -p "$MONO_SHARED_DIR"
+
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i "$srcdir/banshee-recent-gpod.patch"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+              --disable-docs \
+              --disable-static \
+              --disable-scrollkeeper \
+              --disable-schemas-install \
+              --with-vendor-build-id=ArchLinux
+  make
+}
+
+package() {
+  export MONO_SHARED_DIR="$srcdir/.wabi"
+  mkdir -p "$MONO_SHARED_DIR"
+
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}

Added: banshee/trunk/banshee-recent-gpod.patch
===================================================================
--- banshee/trunk/banshee-recent-gpod.patch	                        (rev 0)
+++ banshee/trunk/banshee-recent-gpod.patch	2012-02-24 15:40:36 UTC (rev 151055)
@@ -0,0 +1,24 @@
+From d4cd959c4a48ffc9da8fe0983bd31c4647669bf4 Mon Sep 17 00:00:00 2001
+From: William Witt <william at witt-family.net>
+Date: Sat, 30 Jul 2011 21:54:41 -0500
+Subject: [PATCH] - Changed typecast on FileSize to uint in AppleDeviceTrackInfo to comply with libgpod-sharp
+
+---
+ .../AppleDeviceTrackInfo.cs                        |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs
+index 178266d..b8549f7 100644
+--- a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs
++++ b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs
+@@ -215,7 +215,7 @@ namespace Banshee.Dap.AppleDevice
+             track.CDs = DiscCount;
+             track.CDNumber = DiscNumber;
+             track.TrackLength = (int) Duration.TotalMilliseconds;
+-            track.Size = (int)FileSize;
++            track.Size = (uint)FileSize;
+             track.Grouping = Grouping;
+             try {
+                 track.TimePlayed = LastPlayed;
+-- 
+1.7.3.4

Added: banshee/trunk/banshee.install
===================================================================
--- banshee/trunk/banshee.install	                        (rev 0)
+++ banshee/trunk/banshee.install	2012-02-24 15:40:36 UTC (rev 151055)
@@ -0,0 +1,15 @@
+pkgname=banshee
+
+post_install() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime &> /dev/null
+  xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}



More information about the arch-commits mailing list