Commits

Anonymous committed ca9c50f

Clementine update to 1.2.0

Comments (0)

Files changed (1)

var/vabs/clementine/src/clementine.SlackBuild

 # AUTHORS = 
 
 NAME="clementine"            #Enter package Name!
-VERSION=${VERSION:-"1.1.1"}      #Enter package Version!
+VERSION=${VERSION:-"1.2.0"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
-LINK=${LINK:-"http://clementine-player.googlecode.com/files/clementine-1.1.1.tar.gz"}  #Enter URL for package here!
+LINK=${LINK:-"http://clementine-player.googlecode.com/files/${NAME}-${VERSION}.tar.gz"}  #Enter URL for package here!
 #http://clementine-player.googlecode.com/files/clementine-1.1.1.tar.gz
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"3"}
+BUILDNUM=${BUILDNUM:-"1"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS-"protobuf usbmuxd glew libgpod libimobiledevice qjson taglib ffmpeg gstreamer gst-plugins-base libplist liblastfm"}
+MAKEDEPENDS=${MAKEDEPENDS-"protobuf usbmuxd glew libgpod libimobiledevice qjson taglib ffmpeg gstreamer gst-plugins-base libplist liblastfm fftw boost glib2 gobject-introspection libcdio libmtp qca qjson"}
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
-
+if [ "$NORUN" != 1 ]; then
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 CWD=$(pwd)
 	-DLIB_SUFFIX=${LIBDIRSUFFIX} \
 	-DMAN_INSTALL_DIR=/usr/man \
 	-DCMAKE_BUILD_TYPE=Release \
-	..
-  make
-  make install DESTDIR=$PKG
+	.. || exit 1
+  make $NUMJOBS || exit 1
+  make install DESTDIR=$PKG || exit 1
 cd ..
 
 #######################################################################
 echo "Cleaning up temp files..." && rm -rf $TMP
 echo "Package Complete"
 #--------------------------------------------------------------
-
+fi
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##