summaryrefslogtreecommitdiffstats
path: root/kde/amarok/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/amarok/Pkgfile')
-rwxr-xr-xkde/amarok/Pkgfile29
1 files changed, 20 insertions, 9 deletions
diff --git a/kde/amarok/Pkgfile b/kde/amarok/Pkgfile
index a03d9d57b..03fc8e0dc 100755
--- a/kde/amarok/Pkgfile
+++ b/kde/amarok/Pkgfile
@@ -2,25 +2,36 @@
# URL: http://amarok.kde.org/fr
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
-# Depends on: kdelibs, cmake, mysql, qtscriptgenerator, taglib, taglib-extras, libmtp, loudmouth, libvisual, docbook-xsl, liblastfm
+# Depends on: kdelibs, cmake, mysql, qtscriptgenerator, taglib, taglib-extras, libmtp, loudmouth, libvisual, docbook-xsl, liblastfm, qjson
# Run on: kdebase-runtime,mysql,qtscriptgenerator,taglib-extras,libmtp,loudmouth
name=amarok
-version=2.4.0
-release=2
-source=(ftp://kde.mirrors.pair.com/stable/$name/$version/src/$name-$version.tar.bz2
+version=2.4.0.90
+release=1
+source=(ftp://kde.mirrors.pair.com/unstable/$name/$version/src/$name-$version.tar.bz2
http://nutyx.meticul.eu/files/patchs/$name/splash_screen.jpg
)
-build() {
+build() {
cd $name-$version
mkdir build
cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DWITH_PLAYER=ON \
+ -DWITH_Libgcrypt=OFF \
+ -DWITH_MYSQL_EMBEDDED=YES
+
+# cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
+# -DCMAKE_BUILD_TYPE=Release \
+# -DCMAKE_SKIP_RPATH=ON \
+# -DSYSCONF_INSTALL_DIR=/etc/kde \
+# -DKDE_DEFAULT_HOME='.kde'
+# -DWITH_Libgcrypt=OFF \
+# -DWITH_MYSQL_EMBEDDED=ON \
+# -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
make DESTDIR=$PKG install
install -m644 $SRC/splash_screen.jpg $PKG//usr/share/apps/amarok/images/splash_screen.jpg