[SCM] calf/master: + build support for DSSI (make install can install the .so in the right directory)
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:36:44 UTC 2013
The following commit has been merged in the master branch:
commit fbde699983de85f48dea031b01b5ec2ca4ecb365
Author: kfoltman <kfoltman at 78b06b96-2940-0410-b7fc-879d825d01d8>
Date: Thu Dec 13 23:39:46 2007 +0000
+ build support for DSSI (make install can install the .so in the right directory)
git-svn-id: https://calf.svn.sourceforge.net/svnroot/calf/trunk@18 78b06b96-2940-0410-b7fc-879d825d01d8
diff --git a/configure.in b/configure.in
index 32ddb2c..d129153 100644
--- a/configure.in
+++ b/configure.in
@@ -118,6 +118,14 @@ AC_ARG_WITH(ladspa_rdf_dir,
AC_MSG_RESULT($with_ladspa_rdf_dir)
AC_SUBST(with_ladspa_rdf_dir)
+AC_MSG_CHECKING(where to install DSSI plugins)
+AC_ARG_WITH(dssi_dir,
+ AC_HELP_STRING([--with-dssi-dir],[install DSSI plugins to DIR (default=$prefix/lib/dssi/)]),
+ ,
+ [with_dssi_dir="$prefix/lib/dssi/"])
+AC_MSG_RESULT($with_dssi_dir)
+AC_SUBST(with_dssi_dir)
+
# Checks for library functions.
AC_CHECK_FUNCS([floor memset pow])
@@ -128,7 +136,7 @@ AC_MSG_RESULT([
Calf configured
LADSPA enabled: $LADSPA_FOUND
- DSSI enabeld: $DSSI_FOUND
+ DSSI enabled: $DSSI_FOUND
JACK host enabled: $JACK_ENABLED
Old-style JACK MIDI: $OLD_JACK
PHAT library enabled: $PHAT_ENABLED
diff --git a/src/Makefile.am b/src/Makefile.am
index 0813300..d118c74 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -59,6 +59,10 @@ if USE_LADSPA
install -c -m 755 $(top_builddir)/src/.libs/libcalf.so.0.0.0 $(DESTDIR)$(with_ladspa_dir)/calf.so
$(DESTDIR)$(bindir)/calfmakerdf > $(DESTDIR)$(with_ladspa_rdf_dir)/calf.rdf
endif
+if USE_DSSI
+ install -d -m 755 $(DESTDIR)$(with_dssi_dir)
+ install -c -m 755 $(top_builddir)/src/.libs/libcalf.so.0.0.0 $(DESTDIR)$(with_dssi_dir)/calf.so
+endif
#remove calf.so, calf.rdf and - if empty - ladspa dir in usr/share
uninstall-hook:
@@ -67,6 +71,9 @@ if USE_LADSPA
$(RM) -f $(DESTDIR)$(with_ladspa_rdf_dir)/calf.rdf
rmdir $(DESTDIR)$(with_ladspa_rdf_dir)
endif
+if USE_DSSI
+ $(RM) -f $(DESTDIR)$(with_dssi_dir)/calf.so
+endif
#install:
# $(INSTALL) calfjackhost $(bindir)
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list