xmms2: cleaner build process and new post-install script
This commit is contained in:
parent
02d44d77a8
commit
47e4b866c1
@ -15,7 +15,11 @@ source=(http://dfn.dl.sourceforge.net/project/$name/$name/${version}%20$_codenam
|
||||
|
||||
build () {
|
||||
cd $name-$version$_codename
|
||||
|
||||
# fool waf so it does not run ldconfig during installation
|
||||
# we does not want any directories nor it's contents
|
||||
# to be touched/modified etc. during build,
|
||||
# except those in PKGMK_WORK_DIR or /tmp
|
||||
sed -i 's|/sbin/ldconfig|/bin/true|' wscript
|
||||
./waf --prefix=/usr --with-mandir=/usr/man -p configure
|
||||
./waf build
|
||||
./waf --destdir=$PKG install
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- xmms2-0.5DrLecter.orig/src/plugins/avcodec/avcodec.c 2008-06-15 19:31:38.000000000 +0200
|
||||
+++ xmms2-0.5DrLecter/src/plugins/avcodec/avcodec.c 2009-01-11 19:54:43.000000000 +0100
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <glib.h>
|
||||
|
||||
#undef ABS
|
||||
-#include "avcodec.h"
|
||||
+#include <libavcodec/avcodec.h>
|
||||
|
||||
#define AVCODEC_BUFFER_SIZE 16384
|
||||
|
3
xmms2/post-install
Executable file
3
xmms2/post-install
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
/sbin/ldconfig /usr/lib
|
Loading…
Reference in New Issue
Block a user