diff options
Diffstat (limited to 'community/musepack-tools')
-rw-r--r-- | community/musepack-tools/PKGBUILD | 43 | ||||
-rw-r--r-- | community/musepack-tools/math.patch | 12 |
2 files changed, 0 insertions, 55 deletions
diff --git a/community/musepack-tools/PKGBUILD b/community/musepack-tools/PKGBUILD deleted file mode 100644 index eac151149..000000000 --- a/community/musepack-tools/PKGBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# $Id: PKGBUILD 67972 2012-03-16 13:24:52Z giovanni $ -# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> -# Contributor: Corrado Primier <bardo@aur.archlinux.org> -# Contributor: Eric Belanger <belanger@astro.umontreal.ca> - -pkgname=musepack-tools -pkgver=475 -pkgrel=2 -pkgdesc="Musepack decoder/encoder" -arch=('i686' 'x86_64') -url="http://www.musepack.net/" -license=('LGPL') -depends=('libcuefile' 'libreplaygain') -makedepends=('cmake') -source=("http://files.musepack.net/source/musepack_src_r$pkgver.tar.gz" - 'math.patch') -md5sums=('754d67be67f713e54baf70fcfdb2817e' - '9de31f07a3492c7b1db1248b055fbdc8') - -build() { - cd "$srcdir/musepack_src_r$pkgver" - - #export LDFLAGS+="-lm" - - patch -Np1 -i "$srcdir/math.patch" - - cmake . -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_SKIP_RPATH=ON -} - -package() { - cd "$srcdir/musepack_src_r$pkgver" - - make DESTDIR="$pkgdir" install - - for bin in chap cut dec enc gain 2sv8; do - install -Dm755 mpc$bin/mpc$bin "$pkgdir/usr/bin/mpc$bin" - done - - find ${pkgdir} -depth -type d -name .svn -exec rm -rf {} \; -} - -# vim:set ts=2 sw=2 et: diff --git a/community/musepack-tools/math.patch b/community/musepack-tools/math.patch deleted file mode 100644 index 61b3d07ec..000000000 --- a/community/musepack-tools/math.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -aur musepack_src_r475.old/CMakeLists.txt musepack_src_r475/CMakeLists.txt ---- musepack_src_r475.old/CMakeLists.txt 2011-10-14 16:31:05.536450109 +0800 -+++ musepack_src_r475/CMakeLists.txt 2011-10-14 16:31:34.022962450 +0800 -@@ -16,7 +16,7 @@ - add_definitions(-DFAST_MATH -DCVD_FASTLOG) - - if(NOT MSVC) -- set(CMAKE_C_FLAGS "-O3 -Wall -fomit-frame-pointer -pipe") -+ set(CMAKE_C_FLAGS "-O3 -Wall -fomit-frame-pointer -pipe -lm") - endif(NOT MSVC) - - add_subdirectory(libmpcdec) |