mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
39 lines
1.4 KiB
Bash
39 lines
1.4 KiB
Bash
# $Id: PKGBUILD 38598 2009-05-09 14:05:13Z tpowa $
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
pkgname=tunepimp
|
|
pkgver=0.5.3
|
|
pkgrel=6
|
|
pkgdesc="The TunePimp library (also referred to as libtunepimp) is a development library geared towards developers who wish to create MusicBrainz enabled tagging applications."
|
|
arch=(i686 x86_64)
|
|
license=('GPL')
|
|
options=('!libtool' '!makeflags')
|
|
makedepends=('python')
|
|
depends=('curl>=7.16.2' 'musicbrainz' 'zlib' 'libmad' 'flac>=1.1.4' 'libvorbis' 'readline' 'libmpcdec' 'libofa' 'taglib' 'libmp4v2')
|
|
replaces=('trm')
|
|
source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/lib${pkgname}-${pkgver}.tar.gz
|
|
tunepimp-gcc43.patch
|
|
mp4.patch)
|
|
url="http://www.musicbrainz.org/products/tunepimp/"
|
|
|
|
build() {
|
|
cd ${startdir}/src/lib${pkgname}-${pkgver}
|
|
sed -i -e 's,-ltermcap,-lncurses,' configure
|
|
sed -i -e 's:-lthr:-lpthread:g' lib/threads/posix/Makefile.in
|
|
patch -Np0 -i ../tunepimp-gcc43.patch || return 1
|
|
patch -Np0 -i ../mp4.patch || return 1
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=${startdir}/pkg install
|
|
# install python bindings
|
|
cd python
|
|
python setup.py install --root=${startdir}/pkg
|
|
|
|
# fix includes for kdemultimedia
|
|
cd ${startdir}/pkg/usr/include
|
|
ln -s tunepimp-0.5 tunepimp
|
|
}
|
|
|
|
md5sums=('09649f983acef679a548344ba7a9bb2f'
|
|
'40f48ad658958b909909b204bf9b1367'
|
|
'8d8dc225511544ec23755e62f3eef456')
|