arts-1.5.8-2-i686
authorcrazy <crazy@frugalware.org>
Tue, 13 Nov 2007 14:02:26 +0000 (15:02 +0100)
committercrazy <crazy@frugalware.org>
Tue, 13 Nov 2007 14:03:17 +0000 (15:03 +0100)
* rebuild with latest glib2
* fix CXXFLAGS
* make the BACKEND look for .so and not .la files

source/xmultimedia/arts/FrugalBuild
source/xmultimedia/arts/avoid_la_files.diff [new file with mode: 0644]

index 03491e6..d3d38e7 100644 (file)
@@ -4,14 +4,22 @@
 
 pkgname=arts
 pkgver=1.5.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Analog realtime synthesizer"
 groups=('xmultimedia')
 archs=('i686' 'x86_64')
 depends=('libstdc++' 'qt>=3.3.8-3' 'libvorbis' 'libmad' 'glib2' 'jack' 'alsa-lib' 'audiofile')
+_F_kde_reconf=1
 Finclude kde
-Fconfopts="$Fconfopts --with-alsa --without-esd --with-jack --with-audiofile"
-sha1sums=('190162c2075ee4ebaac569c61b161147c3505690')
+source=($source avoid_la_files.diff)
+Fconfopts="$Fconfopts --with-alsa --without-esd \
+       --with-jack --enable-threading \
+       --disable-rpath"
+sha1sums=('190162c2075ee4ebaac569c61b161147c3505690' \
+          '2ac2a82d06057e8c3dbca12a4ffa41d2bd3fcde0')
 
+# lol 
+export CXXFLAGS="$CXXFLAGS -DNDEBUG" 
+export CFLAGS="$CXXFLAGS"
 
 # optimization OK
diff --git a/source/xmultimedia/arts/avoid_la_files.diff b/source/xmultimedia/arts/avoid_la_files.diff
new file mode 100644 (file)
index 0000000..7c592d6
--- /dev/null
@@ -0,0 +1,26 @@
+--- artsc/Makefile.am
++++ artsc/Makefile.am
+@@ -1,4 +1,4 @@
+-AM_CFLAGS = -DARTSC_BACKEND='"$(libdir)/libartscbackend.la"' 
++AM_CFLAGS = -DARTSC_BACKEND='"$(libdir)/libartscbackend.so"' 
+ AM_CPPFLAGS = -DCOMPILING_ARTSC
+ lib_LTLIBRARIES = libartsc.la libartscbackend.la libartsdsp.la libartsdsp_st.la
+ FLOWLIBS = $(top_builddir)/flow/libartsflow.la
+--- mcop/extensionloader.cc
++++ mcop/extensionloader.cc
+@@ -56,7 +56,14 @@
+       /* this will catch all startup classes here */
+       StartupManager::setExtensionLoader(this);
+-    lt_dlinit();
++      lt_dlinit();
++
++      string::size_type len = dlfilename.length();
++      if (len > 0 && dlfilename[len-1] == 'a' && dlfilename[len-2] == 'l') {
++          dlfilename[len-1] = 'o';
++          dlfilename[len-2] = 's';
++        }
++
+       handle = lt_dlopen(dlfilename.c_str());
+       StartupManager::setExtensionLoader(0);