[arch-commits] Commit in xmms2/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Mar 31 11:47:51 UTC 2014


    Date: Monday, March 31, 2014 @ 13:47:50
  Author: spupykin
Revision: 108662

upgpkg: xmms2 0.8DrO_o-25

upd

Modified:
  xmms2/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-31 11:41:19 UTC (rev 108661)
+++ PKGBUILD	2014-03-31 11:47:50 UTC (rev 108662)
@@ -3,7 +3,7 @@
 
 pkgname=xmms2
 pkgver=0.8DrO_o
-pkgrel=24
+pkgrel=25
 pkgdesc="complete rewrite of the popular music player"
 arch=('i686' 'x86_64')
 url="http://xmms2.org/"
@@ -58,7 +58,7 @@
          '47e68461589578e8a99857746c5b6f29'
          'da84ec58c5711f3c4ecd932c3e6642d6')
 
-build() {
+prepare() {
   cd ${srcdir}/${pkgname}-${pkgver}
   patch -Np1 -i ../ffmpeg2.0.patch
 
@@ -66,7 +66,11 @@
   # sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' waf
   sed -i 's|#include <cdio/cdda.h>|#include <cdio/paranoia/cdda.h>|' src/plugins/cdda/cdda.c
   sed -i 's|libsmbclient.h|samba-4.0/libsmbclient.h|' src/plugins/samba/{samba.c,wscript}
+  sed -i 's|modplug.h|libmodplug/modplug.h|' src/plugins/modplug/modplug.c
+}
 
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
   ./waf configure --prefix=/usr \
 	--with-optionals=python,launcher,xmmsclient++,xmmsclient++-glib,perl,ruby,nycli,pixmaps,et,mdns,medialib-updater \
 	--with-ruby-archdir=`ruby -e 'puts RbConfig::CONFIG["vendorarchdir"]'` \




More information about the arch-commits mailing list