[arch-commits] Commit in audacious/trunk (ChangeLog PKGBUILD audacious.install)
Alexander Fehr
alexanderf at archlinux.org
Mon Sep 1 19:10:47 UTC 2008
Date: Monday, September 1, 2008 @ 15:10:47
Author: alexanderf
Revision: 11715
upgpkg: audacious 1.5.1-1
Modified:
audacious/trunk/ChangeLog
audacious/trunk/PKGBUILD
audacious/trunk/audacious.install
-------------------+
ChangeLog | 30 ++++++++++++++++++++++--------
PKGBUILD | 47 ++++++++++++++++++-----------------------------
audacious.install | 23 +++++------------------
3 files changed, 45 insertions(+), 55 deletions(-)
Modified: ChangeLog
===================================================================
--- ChangeLog 2008-09-01 19:04:54 UTC (rev 11714)
+++ ChangeLog 2008-09-01 19:10:47 UTC (rev 11715)
@@ -1,11 +1,25 @@
-2008-03-15 Travis Willard <travis at archlinux.org>
+2008-08-16 Alexander Fehr <pizzapunk gmail com>
- * 1.5
- New upstream release.
- Renamed audacious-player to audacious - been a long time coming
+ * audacious-1.5.1-1:
+ New upstream release.
+ New maintainer.
+ Added dependencies on libxml2 and desktop-file-utils.
+ Removed dependency on libglade.
+ Made dependency on unzip optional.
+ Removed conflicts audacious-player.
+ Removed !libtool option.
+ Enabled SSE2 for x86_64.
+ Cleaned up install file.
+ Added update-desktop-database to install file.
-2008-02-16 Travis Willard <travis at archlinux.org>
+2008-03-15 Travis Willard <travis at archlinux.org>
- * 1.4.6
- Added ChangeLog
- New upstream release.
+ * audacious-1.5.0-1:
+ New upstream release.
+ Renamed audacious-player to audacious - been a long time coming.
+
+2008-02-16 Travis Willard <travis at archlinux.org>
+
+ * audacious-1.4.6-1:
+ New upstream release.
+ Added ChangeLog.
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-09-01 19:04:54 UTC (rev 11714)
+++ PKGBUILD 2008-09-01 19:10:47 UTC (rev 11715)
@@ -1,42 +1,31 @@
# $Id$
-# Maintainer: Travis Willard <travisw at wmpub.ca>
+# Maintainer: Alexander Fehr <pizzapunk gmail com>
# Contributor: William Rea <sillywilly at gmail.com>
pkgname=audacious
-pkgver=1.5.0
-pkgrel=2
-pkgdesc="A media player forked from BMP 0.9.7.1 - player component (no plugins)."
+pkgver=1.5.1
+pkgrel=1
+pkgdesc="Media player based on BMP"
arch=('i686' 'x86_64')
url="http://audacious-media-player.org/"
license=('GPL3')
-depends=('gtk2' 'libmowgli' 'libmcs' 'dbus-glib' 'libglade' 'unzip' 'libsamplerate') # Unzip for theme changing
-replaces=('audacious-player')
+depends=('gtk2' 'libmcs' 'dbus-glib' 'libsamplerate' 'libxml2' 'desktop-file-utils')
+optdepends=('unzip: Zipped skins support')
provides=('audacious-player')
-conflicts=('audacious-player')
+replaces=('audacious-player')
install=audacious.install
-source=(http://distfiles.atheme.org/$pkgname-$pkgver.tgz)
-md5sums=('ea631b69eb54e97d60bf3c52ae6c7e62')
-options=('!libtool')
+source=(http://distfiles.atheme.org/audacious-$pkgver.tbz2)
+md5sums=('ea7a8ee2e8f1a301b40ccf40788ab0eb')
build() {
+ cd "$srcdir/audacious-$pkgver"
- # NOTE TO ANYONE BUILDING THIS PKG!
- #
- # Audacious 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.
+ if [[ $CARCH == "i686" ]]; then
+ ./configure --prefix=/usr --enable-samplerate --disable-sse2 || return 1
+ elif [[ $CARCH == "x86_64" ]]; then
+ ./configure --prefix=/usr --enable-samplerate || return 1
+ fi
- cd $startdir/src/audacious-$pkgver
-
- ./configure --prefix=/usr \
- --enable-chardet --enable-samplerate \
- --disable-sse2
-
- make || return 1
-
- make DESTDIR=$startdir/pkg install
-
-}
-
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+}
Modified: audacious.install
===================================================================
--- audacious.install 2008-09-01 19:04:54 UTC (rev 11714)
+++ audacious.install 2008-09-01 19:10:47 UTC (rev 11715)
@@ -1,24 +1,11 @@
-# $Id: audacious.install,v 1.3 2008/03/15 15:16:04 travis Exp $
-# arg 1: the new package version
post_install() {
- echo "==> Ensure audacious-plugins is installed for full functionality!"
-
- # Run ldconfig after installation
- # the makefile wants to do this after make install
- /sbin/ldconfig
+ update-desktop-database -q
}
-# arg 1: the new package version
-# arg 2: the old package version
post_upgrade() {
- post_install $1
- if [ "`vercmp $2 1.3.1`" -lt "0" ]; then
- echo "==> As of version 1.3.0, Audacious now supports the XDG BASEDIR standard."
- echo "==> Skins and plugins have moved to ~/.local/share/audacious"
- echo "==> Configuration files have moved to ~/.config/audacious"
- fi
+ post_install
}
-op=$1
-shift
-$op $*
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list