summaryrefslogtreecommitdiff
path: root/audio/clementine
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2010-06-15 04:36:58 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-15 04:36:58 -0500
commit6a49c5521f87df8e2df55d22fe5fa1283b1839ec (patch)
tree79bb8e4e3a7d0853c774e78b902020294c693994 /audio/clementine
parent4bdda09a8054e97a1535288cf41919f3b2575207 (diff)
downloadslackbuilds-6a49c5521f87df8e2df55d22fe5fa1283b1839ec.tar.gz
audio/clementine: Updated for version 0.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/clementine')
-rw-r--r--audio/clementine/clementine.SlackBuild36
-rw-r--r--audio/clementine/clementine.info10
2 files changed, 24 insertions, 22 deletions
diff --git a/audio/clementine/clementine.SlackBuild b/audio/clementine/clementine.SlackBuild
index 76d9a406d2..8de11693d8 100644
--- a/audio/clementine/clementine.SlackBuild
+++ b/audio/clementine/clementine.SlackBuild
@@ -25,17 +25,17 @@
# Modified by SlackBuilds.org
PRGNAM=clementine
-VERSION=${VERSION:-0.1}
+VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
- *) ARCH=$( uname -m ) ;;
+ *) export ARCH=$( uname -m ) ;;
esac
fi
@@ -73,28 +73,30 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-qmake \
- QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS"
-
-make
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make all CFLAGS="-fPIC" PMFLAGS="-DNEWBUFFER"
+ make install DESTDIR=$PKG
+cd ..
for i in 16 32 64 ; do
- mkdir -p $PKG/usr/share/icons/hicolor/${i}x${i}/apps
- install -m 0644 dist/${PRGNAM}_${i}.png \
+ install -m 0644 -D dist/${PRGNAM}_${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/application-x-clementine.png
done
-
-mkdir -p $PKG/usr/{bin,share/applications}
-
-install -m 0755 src/$PRGNAM $PKG/usr/bin/
-install -m 0644 dist/${PRGNAM}.desktop $PKG/usr/share/applications/
+install -m 0644 -D dist/${PRGNAM}.desktop $PKG/usr/share/applications/
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp TODO $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a TODO $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/audio/clementine/clementine.info b/audio/clementine/clementine.info
index be7c3b0732..cab88acc5a 100644
--- a/audio/clementine/clementine.info
+++ b/audio/clementine/clementine.info
@@ -1,10 +1,10 @@
PRGNAM="clementine"
-VERSION="0.1"
+VERSION="0.3"
HOMEPAGE="http://www.kde-apps.org/content/show.php/Clementine?content=120598"
-DOWNLOAD="http://clementine-player.googlecode.com/files/clementine-0.1.tar.gz"
-MD5SUM="769ac869fd9d8e10ecd15709e0137549"
+DOWNLOAD="http://clementine-player.googlecode.com/files/clementine-0.3.tar.gz"
+MD5SUM="3aff98e41d9bf96717ecf97c780ef086"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Woodfall"
-EMAIL="info@davidwoodfall.co.uk"
-APPROVED="pprkut"
+EMAIL="dave@dawoodfall.net"
+APPROVED="rworkman"