From 63bd66056e59c02a988bf17876bd72e27bb4dc8b Mon Sep 17 00:00:00 2001 From: root Date: Fri, 8 Jun 2012 19:39:26 +0000 Subject: Fri Jun 8 19:39:26 UTC 2012 --- community-staging/qmmp/PKGBUILD | 42 ++++++++++++++++++++++++ community-staging/qmmp/ffmpeg-0.11.diff | 14 ++++++++ community-staging/qmmp/qmmp.changelog | 57 +++++++++++++++++++++++++++++++++ community-staging/qmmp/qmmp.install | 12 +++++++ 4 files changed, 125 insertions(+) create mode 100644 community-staging/qmmp/PKGBUILD create mode 100644 community-staging/qmmp/ffmpeg-0.11.diff create mode 100644 community-staging/qmmp/qmmp.changelog create mode 100644 community-staging/qmmp/qmmp.install (limited to 'community-staging/qmmp') diff --git a/community-staging/qmmp/PKGBUILD b/community-staging/qmmp/PKGBUILD new file mode 100644 index 000000000..caaa6b511 --- /dev/null +++ b/community-staging/qmmp/PKGBUILD @@ -0,0 +1,42 @@ +#$Id: PKGBUILD 72061 2012-06-07 17:49:23Z tdziedzic $ +# Maintainer: Jaroslav Lichtblau + +pkgname=qmmp +pkgver=0.5.5 +pkgrel=2 +pkgdesc="Qt4 based audio-player" +arch=('i686' 'x86_64') +url="http://qmmp.ylsoftware.com/" +license=('GPL') +depends=('alsa-lib' 'curl' 'hicolor-icon-theme' 'libmad' 'libvorbis' 'libogg' 'qt' 'taglib' 'xdg-utils') +makedepends=('cmake' 'flac' 'jack' 'libmpcdec' 'pulseaudio' 'ffmpeg' 'libcdio' 'libcddb' 'libmms' 'libsamplerate' 'libmodplug' 'libsndfile' 'wavpack') +optdepends=('flac: native FLAC support' + 'jack: JACK sound output' + 'libmpcdec: Musepack support' + 'pulseaudio: PulseAudio output' + 'libcdio: Compact Disc input and control support' + 'libcddb: CDDB server support' + 'libmms: MMS stream protocol support' + 'libmodplug: MOD playing library' + 'libsndfile: sampled sound support' + 'ffmpeg' 'libsamplerate' 'wavpack') +install=$pkgname.install +source=("http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2" + 'ffmpeg-0.11.diff') +sha256sums=('525d7528c58c885e45149f698125dfff6bedca0e9af979b2490e3f0b902943a6' + 'f110e59b345fcf143e45642b1cb3e89ead6c85a927a49974620e285cb116b666') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + patch -Np0 -i ${srcdir}/ffmpeg-0.11.diff + + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install +} diff --git a/community-staging/qmmp/ffmpeg-0.11.diff b/community-staging/qmmp/ffmpeg-0.11.diff new file mode 100644 index 000000000..f414ffbf6 --- /dev/null +++ b/community-staging/qmmp/ffmpeg-0.11.diff @@ -0,0 +1,14 @@ +Index: src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp +=================================================================== +--- src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp (revision 2728) ++++ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp (revision 2729) +@@ -133,9 +133,6 @@ + m_stream->seekable = !input()->isSequential(); + m_stream->max_packet_size = INPUT_BUFFER_SIZE; + +- AVFormatParameters ap; +- memset(&ap, 0, sizeof(ap)); +- + if(avformat_open_input(&ic, m_path.toLocal8Bit().constData(), fmt, 0) != 0) + { + qDebug("DecoderFFmpeg: av_open_input_stream() failed"); diff --git a/community-staging/qmmp/qmmp.changelog b/community-staging/qmmp/qmmp.changelog new file mode 100644 index 000000000..04be7b9e8 --- /dev/null +++ b/community-staging/qmmp/qmmp.changelog @@ -0,0 +1,57 @@ +2012-05-26 Jaroslav Lichtblau + * qmmp 0.5.5-1 + +2012-03-18 Jaroslav Lichtblau + * qmmp 0.5.4-1 + +2011-11-12 Andrea Scarpino + * qmmp 0.5.2-3 + * rebuild with qt 4.7 + +2011-10-09 Jaroslav Lichtblau + * qmmp 0.5.2-1 + +2011-07-20 Jaroslav Lichtblau + * qmmp 0.5.1-1 + +2011-04-03 Jaroslav Lichtblau + * qmmp 0.5.0-1 + +2011-02-28 Jaroslav Lichtblau + * qmmp 0.4.4-1 + +2010-11-10 Jaroslav Lichtblau + * Update to major release v0.4.3 + +2010-09-13 Jaroslav Lichtblau + * Update to major release v0.4.2 + +2010-06-14 Jaroslav Lichtblau + * Update to major release v0.4.1 + +2010-05-04 Jaroslav Lichtblau + * Update to major release v0.4.0 + +2010-04-21 Jaroslav Lichtblau + * Update to major release v0.3.4 + +2010-03-18 Jaroslav Lichtblau + * Update to major release v0.3.3 + +2010-01-13 Jaroslav Lichtblau + * Update to major release v0.3.2 + +2009-07-11 Jaroslav Lichtblau + * Update to major release v0.3.0 + +2009-03-30 Giovanni Scafora + * Fixed x86_64 build + +2009-03-29 Jaroslav Lichtblau + * Update to major release v0.2.4 + +2008-12-08 Jaroslav Lichtblau + * Update to major release v0.2.3 + +2008-08-31 Jaroslav Lichtblau + * Update to major release v0.2.2 diff --git a/community-staging/qmmp/qmmp.install b/community-staging/qmmp/qmmp.install new file mode 100644 index 000000000..4c0972beb --- /dev/null +++ b/community-staging/qmmp/qmmp.install @@ -0,0 +1,12 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} -- cgit v1.2.3-54-g00ecf