|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
|
|
|
|
# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
|
|
|
|
|
# Contributor: Calvin Morrison <mutantturkey@gmail.com>
|
|
|
|
|
|
|
|
|
|
pkgname=trinity-amarok
|
|
|
|
|
pkgver=3513
|
|
|
|
@ -8,13 +9,12 @@ url='http://www.trinitydesktop.org'
|
|
|
|
|
license=('GPL')
|
|
|
|
|
groups=('trinity-apps')
|
|
|
|
|
pkgdesc="Trinity Amarok music player and manager"
|
|
|
|
|
depends=('trinity-kdebase' 'libifp' 'libmtp' 'libnjb' 'python-daap' 'ruby')
|
|
|
|
|
depends=('trinity-kdebase' 'libifp' 'libmtp' 'taglib' 'libnjb' 'python-daap' 'ruby')
|
|
|
|
|
makedepends=('pkgconfig' 'cmake' 'imake')
|
|
|
|
|
options=('libtool' '!strip')
|
|
|
|
|
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/amarok-3.5.13.tar.gz)
|
|
|
|
|
md5sums=('7145ebee38f104bef6cfaf56e7f81959')
|
|
|
|
|
|
|
|
|
|
_svnmod=applications/amarok
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
|
|
|
|
@ -24,7 +24,7 @@ build() {
|
|
|
|
|
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
|
|
|
|
|
export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
|
|
|
|
|
|
|
|
|
|
trinity_prefix="/opt/trinity"
|
|
|
|
|
_prefix="/opt/trinity"
|
|
|
|
|
|
|
|
|
|
cd $srcdir
|
|
|
|
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
|
|
|
@ -36,8 +36,8 @@ build() {
|
|
|
|
|
CXXFLAGS=${CXXFLAGS}" -fpermissive"
|
|
|
|
|
|
|
|
|
|
msg "Starting cmake..."
|
|
|
|
|
cmake ${srcdir}/${_svnmod} \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
|
|
|
|
|
cmake ${srcdir}/applications/amarok \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX=${_prefix} \
|
|
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
|
|
|
|
-DQT_VERSION=3 \
|
|
|
|
|
-DWITH_IFP=ON \
|
|
|
|
@ -50,7 +50,6 @@ build() {
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
|
msg "Packaging - $pkgname-$pkgver"
|
|
|
|
|
# cd ${srcdir}/${_svnmod}
|
|
|
|
|
cd ${srcdir}/build
|
|
|
|
|
|
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
|