Commits

Anonymous committed e76eae5

Build ekiga-3.3.2

Signed-off-by: benreilly <benreilly@vector.Linux.net>

  • Participants
  • Parent commits 1e2d0da
  • Branches veclinux-7.0

Comments (0)

Files changed (1)

var/vabs/ekiga/src/ekiga.SlackBuild

 # AUTHORS = 
 
 NAME="ekiga"            #Enter package Name!
-VERSION=${VERSION:-"3.2.7"}      #Enter package Version!
+VERSION=${VERSION:-"3.3.2"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
-LINK=${LINK:-""}  #Enter URL for package here!
+LINK=${LINK:-"http://ftp.gnome.org/pub/gnome/sources/$NAME/3.3/$NAME-$VERSION.tar.xz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 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:-"ptlib opal"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
+# DO NOT EXECUTE if NORUN is set to 1
+if [ "$NORUN" != "1" ]; then
+
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 for SRC in $(echo $LINK);do
 if [ ! -f $CWD/$(basename $SRC) ]
 then
-        wget -c $SRC
+        wget --no-check-certificate -c $SRC
 fi
 done
 #--------------------------------------------
 
 # Put any Patches into a patches folder in the src dir
 #-----------------------------------------------------
-#for i in $CWD/patches/*;do
-#	patch -p1 <$i
+#for i in $CWD/patches/*.patch;do
+#  patch -p1 <$i
+#  mkdir -p $PKG/usr/doc/$NAME-$VERSION/patches/
+#  cp $i $PKG/usr/doc/$NAME-$VERSION/patches/
 #done
 #-----------------------------------------------------
 
 find . -perm 555 -exec chmod 755 {} \;
 #-----------------------------------------
 
+# Requires avahi
+if [[ ${AVAHI:-no} = "no" ]] ; then
+  DO_AVAHI="dis"
+else
+  DO_AVAHI="en"
+fi
+
+# Experimental XCAP support
+# Requires libsoup 2.4, still not available on SBo
+#if [[ ${XCAP:-no} = "no" ]] ; then
+  DO_XCAP="dis"
+#else
+#  DO_XCAP="en"
+#fi
+
+# Experimental KDE support
+if [[ ${KDE:-no} = "no" ]] ; then
+  DO_KDE="dis"
+else
+  DO_KDE="en"
+fi
+
+# Experimental KAddressBook support
+if [[ ${KAB:-no} = "no" ]] ; then
+  DO_KAB="dis"
+else
+  DO_KAB="en"
+fi
 
+# Experimental GStreamer support
+if [[ ${GS:-no} = "no" ]] ; then
+  DO_GS="dis"
+else
+  DO_GS="en"
+fi
 
 #CONFIGURE & MAKE
 #----------------------------------------------------------------------
   --disable-gdu \
   --disable-schemas-install \
   --disable-scrollkeeper \
+  --disable-static \
+  --enable-gconf \
+  --${DO_AVAHI}able-avahi \
+  --${DO_XCAP}able-xcap \
+  --${DO_KDE}able-kde \
+  --${DO_KAB}able-kab \
+  --${DO_GS}able-gstreamer \
   --program-prefix="" \
   --program-suffix="" \
   --build=$CONFIGURE_TRIPLET \
 
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
-cp -a ANNOUNCE* AUTHORS* BUGS* COPYING* ChangeLog* CHANGELOG* Credits* DEVELOPERS \
-LICENSE* MANIFEST PROVENANCE README* TODO* Exception_to_GPL_for_Qt.txt \
-$PKG/usr/doc/$NAME-$VERSION
+cp -a AUTHORS* COPYING* ChangeLog* FAQ INSTALL LICENSE MAINTAINERS \
+	NEWS README* TODO* doc/* $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 #----------------------------------------------------------------------
 cd $CWD
 echo "Cleaning up temp files..." && rm -rf $TMP
 echo "Package Complete"
+fi
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##