summaryrefslogtreecommitdiff
path: root/cmus
diff options
context:
space:
mode:
authorThomas Penteker <tek@serverop.de>2010-03-02 22:39:16 +0100
committerThomas Penteker <tek@serverop.de>2010-03-02 22:39:16 +0100
commit163f015ee658662263c884ab7b3ba4a110ecb1c0 (patch)
tree8193818fa9df948787f6671a0e0786a8126bbfce /cmus
parent9ee53d4e17f99784b3312edf0987fa9275f2db32 (diff)
downloadopt-163f015ee658662263c884ab7b3ba4a110ecb1c0.tar.gz
opt-163f015ee658662263c884ab7b3ba4a110ecb1c0.tar.xz
cmus: 2.2.0 -> 2.3.0
Diffstat (limited to 'cmus')
-rw-r--r--cmus/.footprint4
-rw-r--r--cmus/.md5sum4
-rw-r--r--cmus/Pkgfile8
-rw-r--r--cmus/ffmpeg.diff15
-rw-r--r--cmus/mp4.diff58
5 files changed, 8 insertions, 81 deletions
diff --git a/cmus/.footprint b/cmus/.footprint
index 192f37228..602c22e9f 100644
--- a/cmus/.footprint
+++ b/cmus/.footprint
@@ -7,11 +7,15 @@ drwxr-xr-x root/root usr/lib/cmus/
drwxr-xr-x root/root usr/lib/cmus/ip/
-rwxr-xr-x root/root usr/lib/cmus/ip/wav.so
drwxr-xr-x root/root usr/lib/cmus/op/
+-rwxr-xr-x root/root usr/lib/cmus/op/alsa.so
+-rwxr-xr-x root/root usr/lib/cmus/op/ao.so
-rwxr-xr-x root/root usr/lib/cmus/op/oss.so
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/cmus-remote.1.gz
-rw-r--r-- root/root usr/man/man1/cmus.1.gz
+drwxr-xr-x root/root usr/man/man7/
+-rw-r--r-- root/root usr/man/man7/cmus-tutorial.7.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/cmus/
-rw-r--r-- root/root usr/share/cmus/rc
diff --git a/cmus/.md5sum b/cmus/.md5sum
index f1a794f2a..0a6e2221d 100644
--- a/cmus/.md5sum
+++ b/cmus/.md5sum
@@ -1,3 +1 @@
-7a9895ecfc10cd16577c73051436962f cmus-2.2.0.tar.bz2
-6afdae6aa3b05f7638a836dc9967ccdb ffmpeg.diff
-88d405f6750253bb84707c86a5e4098e mp4.diff
+8039df4b08b9cbc2e050ab2922e6d99d cmus-v2.3.0.tar.bz2
diff --git a/cmus/Pkgfile b/cmus/Pkgfile
index 68fbe59b1..04a78adad 100644
--- a/cmus/Pkgfile
+++ b/cmus/Pkgfile
@@ -6,14 +6,12 @@
# Nice to have: alsa-lib, flac, libao, libid3tag, libmad, libmodplug, libmpcdec, libvorbis
name=cmus
-version=2.2.0
+version=2.3.0
release=2
-source=(http://mirror.greaterscope.net/$name/$name-$version.tar.bz2 mp4.diff ffmpeg.diff)
+source=(http://downloads.sourceforge.net/project/cmus/cmus-v${version}.tar.bz2)
build() {
- cd $name-$version
- patch -p1 -i ../mp4.diff
- patch -p1 -i ../ffmpeg.diff
+ cd $name-v${version}
./configure prefix=/usr mandir=/usr/man CONFIG_ARTS=n
make
make DESTDIR=$PKG install install-man
diff --git a/cmus/ffmpeg.diff b/cmus/ffmpeg.diff
deleted file mode 100644
index 89812b21b..000000000
--- a/cmus/ffmpeg.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- cmus-2.2.0-orig/ffmpeg.c 2007-07-27 16:52:13.000000000 +0200
-+++ cmus-2.2.0/ffmpeg.c 2008-04-25 16:32:40.000000000 +0200
-@@ -18,9 +18,9 @@
- */
-
- #include <stdio.h>
--#include <ffmpeg/avcodec.h>
--#include <ffmpeg/avformat.h>
--#include <ffmpeg/avio.h>
-+#include <libavcodec/avcodec.h>
-+#include <libavformat/avformat.h>
-+#include <libavformat/avio.h>
-
- #include "ip.h"
- #include "xmalloc.h"
diff --git a/cmus/mp4.diff b/cmus/mp4.diff
deleted file mode 100644
index a0c649b61..000000000
--- a/cmus/mp4.diff
+++ /dev/null
@@ -1,58 +0,0 @@
-From fff730440d21dab90e41371cce1146aa820e64fb Mon Sep 17 00:00:00 2001
-From: Gregory Petrosyan <gregory.petrosyan@gmail.com>
-Date: Thu, 18 Feb 2010 01:39:27 +0300
-Subject: [PATCH] Fix MP4 compilation when using new libmp4v2
-
-Up-to-date libmp4v2 from http://code.google.com/p/mp4v2/ provides
-<mp4v2/mp4v2.h> instead of <mp4.h>, so use it if available.
-
-Reported-by: David Flatz <solanum0@gmail.com>
-Signed-off-by: Gregory Petrosyan <gregory.petrosyan@gmail.com>
----
- configure | 3 +++
- mp4.c | 6 ++++++
- 2 files changed, 9 insertions(+), 0 deletions(-)
-
-diff --git a/configure b/configure
-index aba3779..16d9fba 100755
---- a/configure
-+++ b/configure
-@@ -222,6 +222,8 @@ check_waveout()
-
- check_mp4()
- {
-+ check_header mp4v2/mp4v2.h
-+ MP4_USE_OLD_HEADER=$?
- check_header faad.h &&
- check_library MP4 "" "-lmp4v2 -lfaad -lm"
- return $?
-@@ -344,6 +346,7 @@ config_header config/datadir.h DATADIR
- config_header config/libdir.h LIBDIR
- config_header config/debug.h DEBUG
- config_header config/tremor.h CONFIG_TREMOR
-+config_header config/mp4.h MP4_USE_OLD_HEADER
-
- makefile_vars bindir datadir libdir mandir exampledir
- makefile_vars CONFIG_FLAC CONFIG_MAD CONFIG_MIKMOD CONFIG_MODPLUG CONFIG_MPC CONFIG_VORBIS CONFIG_WAVPACK CONFIG_WAV CONFIG_MP4 CONFIG_AAC CONFIG_FFMPEG
-diff --git a/mp4.c b/mp4.c
-index c1969b4..07e8339 100644
---- a/mp4.c
-+++ b/mp4.c
-@@ -21,8 +21,14 @@
- #include "xmalloc.h"
- #include "debug.h"
- #include "file.h"
-+#include "config/mp4.h"
-
-+#if MP4_USE_OLD_HEADER
- #include <mp4.h>
-+#else
-+#include <mp4v2/mp4v2.h>
-+#endif
-+
- #include <faad.h>
-
- #include <errno.h>
---
-1.6.1
-

Generated by cgit