Commits

Anonymous committed 2017bb0

dvdstyler update to 2.4.3 and fix makedepends

Comments (0)

Files changed (1)

var/vabs/dvdstyler/src/dvdstyler.SlackBuild

 # AUTHORS = 
 
 NAME="dvdstyler"            #Enter package Name!
-VERSION=${VERSION:-"2.1"}      #Enter package Version!
+VERSION=${VERSION:-"2.4.3"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"M0E-lnx"}   #Enter your Name!
 LINK=${LINK:-"http://sourceforge.net/projects/$NAME/files/$NAME/$VERSION/DVDStyler-$VERSION.tar.bz2"}  #Enter URL for package here!
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"2"}
+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:-"ffmpeg wxWidgets wxsvg dvdauthor"}
+MAKEDEPENDS=${MAKEDEPENDS:-"ffmpeg wxWidgets wxsvg dvdauthor libexif libgnomeui cdrkit dvd+rw-tools"}
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
 if [ "$NORUN" != 1 ]; then
 #-----------------------------------------------------------------------
 
 echo "Configuring source..."
+chmod +x autogen.sh configure
 ./autogen.sh
 
 ./configure --prefix=/usr \
   --build=$CONFIGURE_TRIPLET \
   $CONFIG_OPTIONS || exit 1
 
-make || exit 1
+make $NUMJOBS || make || exit 1
 
 make install DESTDIR=$PKG || exit 1