[arch-commits] CVS update of extra/multimedia/audacious-player (PKGBUILD)

Travis Willard travis at archlinux.org
Tue Jul 3 13:00:17 UTC 2007


    Date: Tuesday, July 3, 2007 @ 09:00:17
  Author: travis
    Path: /home/cvs-extra/extra/multimedia/audacious-player

Modified: PKGBUILD (1.12 -> 1.13)

upgpkg: audacious-player 1.3.2-4
Finally figured out the source of playlist corruption.
The old player was built with the older version of GCC, without the -mtune
option.  When -player and -plugins are compiled with different flags, very
odd stuff happens.


----------+
 PKGBUILD |   21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)


Index: extra/multimedia/audacious-player/PKGBUILD
diff -u extra/multimedia/audacious-player/PKGBUILD:1.12 extra/multimedia/audacious-player/PKGBUILD:1.13
--- extra/multimedia/audacious-player/PKGBUILD:1.12	Mon Jul  2 15:42:43 2007
+++ extra/multimedia/audacious-player/PKGBUILD	Tue Jul  3 09:00:17 2007
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.12 2007/07/02 19:42:43 travis Exp $
+# $Id: PKGBUILD,v 1.13 2007/07/03 13:00:17 travis Exp $
 # Maintainer: Travis Willard <travisw at wmpub.ca>
 # Contributor: William Rea <sillywilly at gmail.com>
 
 pkgname=audacious-player
 pkgver=1.3.2
-pkgrel=3
+pkgrel=4
 pkgdesc="A media player forked from BMP 0.9.7.1 - player component (no plugins)."
 arch=('i686' 'x86_64')
 url="http://audacious-media-player.org/"
@@ -19,16 +19,15 @@
 
 build() {
 
-    cd $startdir/src/audacious-$pkgver
+    # NOTE TO ANYONE BUILDING THIS PKG!
+    # 
+    # Audacious-player and Audacious-plugins must both be built with
+    # the same CFLAGS and CXXFLAGS.  
+    # If ever strange, unexplainable playlist corruption happens, this
+    # is likely the cause - make sure both packages were built with
+    # the same flags and same version of GCC.
 
-    # This odd little hack seems to be needed to ensure audacious playlists
-    # don't corrupt themselves on exit.  Without, each file URI ends up with
-    # a ?xspf appended, which screws the whole playlist over, since it can't
-    # find the files anymore.
-    #CFLAGS=${CFLAGS/-mtune=generic/}
-    #CXXFLAGS=${CXXFLAGS/-mtune=generic/}
-    CFLAGS=
-    CXXFLAGS=
+    cd $startdir/src/audacious-$pkgver
 
     ./configure --prefix=/usr --enable-chardet --enable-samplerate
     make || return 1




More information about the arch-commits mailing list