summaryrefslogtreecommitdiffstats
path: root/kde/amarok/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/amarok/Pkgfile')
-rwxr-xr-xkde/amarok/Pkgfile25
1 files changed, 9 insertions, 16 deletions
diff --git a/kde/amarok/Pkgfile b/kde/amarok/Pkgfile
index 03fc8e0dc..d732a2eb7 100755
--- a/kde/amarok/Pkgfile
+++ b/kde/amarok/Pkgfile
@@ -6,8 +6,8 @@
# Run on: kdebase-runtime,mysql,qtscriptgenerator,taglib-extras,libmtp,loudmouth
name=amarok
-version=2.4.0.90
-release=1
+version=2.4.0
+release=2
source=(ftp://kde.mirrors.pair.com/unstable/$name/$version/src/$name-$version.tar.bz2
http://nutyx.meticul.eu/files/patchs/$name/splash_screen.jpg
)
@@ -17,21 +17,14 @@ build() {
mkdir build
cd build
- 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'
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DSYSCONF_INSTALL_DIR=/etc/kde \
+ -DKDE_DEFAULT_HOME='.kde' \
+ -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