1. VectorLinux Core
  2. vabs

Commits

benreilly  committed 085ae0a

Build ptlib

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

  • Participants
  • Parent commits 82217eb
  • Branches veclinux-7.0

Comments (0)

Files changed (1)

File var/vabs/ptlib/src/ptlib.SlackBuild

View file
 #
 #-----------------------------------------------------------------------
 
+# The "LIBS" variable is set to fix OpenLDAP support
+#
+# The --disable-avc is here to avoid build problems when both libdv and
+# libavc1394 are installed. According to
+#   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516826
+# the problem lies in the usage of deprecated (and now removed) functions.
+# Quoting from message #15:
+# | We are planning on releasing ptlib 2.6 without DC nor AVC support and
+# | redirecting people to use V4L.
+# which is advised in the README file.
 echo "Configuring source..."
+LIBS="-lgthread-2.0" \
 ./configure --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --infodir=/usr/info \
   --localstatedir=/var \
   --mandir=/usr/man \
   --with-included-gettext \
-  --disable-debug \
-  --enable-opal \
-  --enable-plugins \
-  --enable-oss \
-  --enable-v4l2 \
-  --disable-avc \
-  --enable-sdl \
-  --enable-ipv6 \
   --enable-v4l \
-  --enable-dc \
-  --enable-alsa \
-  --disable-odbc \
-  --enable-expat \
-  --enable-httpforms \
-  --enable-openh323 \
-  --enable-url \
-  --enable-http \
-  --enable-jabber \
-  --enable-vxml \
-  --enable-soap \
-  --enable-tts \
-  --enable-asn \
-  --enable-stun \
-  --enable-pipechan \
-  --enable-dtmf \
-  --enable-wavfile \
-  --enable-socks \
-  --enable-ftp \
-  --enable-snmp \
-  --enable-telnet \
-  --enable-remconn \
-  --enable-serial \
-  --enable-pop3smtp \
-  --enable-audio \
-  --enable-qos \
-  --enable-video \
-  --enable-vidfile \
-  --enable-ffvdev \
-  --enable-bsdvideo \
-  --enable-appshare \
-  --enable-shmvideo \
-  --enable-exceptions \
+  --disable-avc \
   --program-prefix="" \
   --program-suffix="" \
   --build=$CONFIGURE_TRIPLET \
 #Miscellenious tweaks and things outside a normal ./configure go here #
 #######################################################################
 
+# Remove static library
+rm $PKG/usr/lib${LIBDIRSUFFIX}/libpt_s.a
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
-cp -a History.txt ReadMe* README* $PKG/usr/doc/$NAME-$VERSION
+cp -a ChangeLog* mpl* History.txt ReadMe* README* $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 #----------------------------------------------------------------------