summaryrefslogtreecommitdiff
path: root/moc-nosort/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-09 09:32:14 +0200
committerErich Eckner <git@eckner.net>2018-07-09 09:32:14 +0200
commit1b9498618608b516491d9d28386796a51d546c29 (patch)
tree1157deb577f2aa3853228568130830a4fb209a96 /moc-nosort/PKGBUILD
parentf9fb1ca05f1a0ce5c76cbafc000f46e67db3b965 (diff)
downloadarchlinuxewe-1b9498618608b516491d9d28386796a51d546c29.tar.xz
moc -> moc-nosort
Diffstat (limited to 'moc-nosort/PKGBUILD')
-rw-r--r--moc-nosort/PKGBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/moc-nosort/PKGBUILD b/moc-nosort/PKGBUILD
new file mode 100644
index 000000000..125eb9c41
--- /dev/null
+++ b/moc-nosort/PKGBUILD
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=moc-nosort
+pkgver=2.5.2
+provides=("moc=${pkgver}")
+conflicts=('moc')
+pkgrel=1
+epoch=1
+pkgdesc="An ncurses console audio player designed to be powerful and easy to use"
+arch=('i686' 'x86_64')
+url="http://moc.daper.net/"
+license=('GPL')
+depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file')
+makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug' 'faad2')
+optdepends=('speex: for using the speex plugin'
+ 'ffmpeg: for using the ffmpeg plugin'
+ 'taglib: for using the musepack plugin'
+ 'libmpcdec: for using the musepack plugin'
+ 'wavpack: for using the wavpack plugin'
+ 'faad2: for using the aac plugin'
+ 'libmodplug: for using the modplug plugin')
+source=(http://ftp.daper.net/pub/soft/moc/stable/${pkgname%-nosort}-${pkgver}.tar.bz2{,.sig}
+ disable-sort.patch
+ moc-ffmpeg4.patch)
+sha512sums=('992d06809fb52e58dcee63704bde05795b99edbac46edd8381f314c564490013b18e1853926f419c2c3c7f1bb68ff35e97048de03ace3232b800cf4b3b7dbe0f'
+ 'SKIP'
+ '7a760eebf22d84f1ac21e3b429c10f7fb77bc8c7642adb57c57c1b6dfb9d2fa464398475778813a803738ec7a6ffee2c3da857bd36a6b89eaf3345ae419dc7ab'
+ '270308ad7d2b300553a6cc0ddb9ef90441e32a20a3405ebcb710ff8f0a2cc036e0b59d01bf34f49144f22de5d24e25f9a66dd452a76b6a8994f2d8d75cd9795e')
+validpgpkeys=('59359B80406D9E73E80599BEF3121E4F2885A7AA')
+
+prepare() {
+ cd "${pkgname%-nosort}-${pkgver}"
+ patch -p0 -i ../moc-ffmpeg4.patch # Fix build with ffmpeg 4
+ patch -p0 -i ../disable-sort.patch
+}
+
+build() {
+ cd "${pkgname%-nosort}-${pkgver}"
+ ./configure --prefix=/usr --without-rcc \
+ --with-oss --with-alsa --with-jack --with-aac --with-mp3 \
+ --with-musepack --with-vorbis --with-flac --with-wavpack \
+ --with-sndfile --with-modplug --with-ffmpeg --with-speex \
+ --with-samplerate --with-curl --disable-cache --disable-debug
+ make
+}
+
+package() {
+ cd "${pkgname%-nosort}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}