fluidsynth-dssi: initial add 1.0.0

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2016-12-30 21:57:32 +01:00
parent 30cfd42a8d
commit ae63a698d6
2 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
From a2e4120ec53f5ca9f2a99eb50644b031cf7f8317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Fri, 30 Dec 2016 21:44:24 +0100
Subject: [PATCH] replace missing AM_PATH_GTK by PKG_CHECK_MODULES
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
configure.ac | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/configure.ac b/configure.ac
index 365957d..c19335c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,14 +39,7 @@ AC_ARG_WITH(gtk2, AC_HELP_STRING([--with-gtk2], [use GTK+ 2.0 default=yes]),
[ if test $withval = "yes"; then try_gtk2=yes ;
else try_gtk2=no ; fi ], try_gtk2=yes)
with_gtk=no
-dnl First look for GTK+ 2.x, unless '--without-gtk2' was specified.
-if test "x${try_gtk2}" = 'xyes'; then
- AM_PATH_GTK_2_0(2.0.0, with_gtk='yes (version 2.0)', with_gtk=no)
-fi
-dnl No GTK+ 2.x found, look for GTK+ 1.2 instead
-if test "x${with_gtk}" = 'xno'; then
- AM_PATH_GTK(1.2.0, with_gtk='yes (version 1.2)', AC_MSG_WARN([GUI will not be built because no version of GTK+ was found]))
-fi
+PKG_CHECK_MODULES(GTK, gtk+-2.0, with_gtk=yes, with_gtk=no)
AM_CONDITIONAL(BUILD_GUI, test "x${with_gtk}" != 'xno')
echo "GTK support: $with_gtk"
--
2.5.5

View File

@@ -0,0 +1,28 @@
SUMMARY = "A wrapper for the FluidSynth, allowing it to function as a DSSI plugin"
HOMEPAGE = "http://dssi.sourceforge.net/download.html#FluidSynth-DSSI"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
inherit autotools pkgconfig gtk-icon-cache
DEPENDS += " \
fluidsynth \
gtk+ \
dssi \
liblo \
ladspa-sdk \
"
SRC_URI = " \
${SOURCEFORGE_MIRROR}/project/dssi/${BPN}/${PV}/${BPN}-${PV}.tar.gz \
file://0001-replace-missing-AM_PATH_GTK-by-PKG_CHECK_MODULES.patch \
"
SRC_URI[md5sum] = "6c9f660f0df4d2aad5076de75b2a0a67"
SRC_URI[sha256sum] = "e734d06d7e6d056a58c611a62e80b7cc6306b810137d9a19e260612e942fe049"
FILES_${PN} += " \
${libdir}/dssi \
"
# we are not linking against dssi - so
RDEPENDS_${PN} += "dssi"