Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2018 23:22:45 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464131 - in head/audio: . gmsynth-lv2 gmsynth-lv2/files
Message-ID:  <201803102322.w2ANMjI3038295@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Mar 10 23:22:45 2018
New Revision: 464131
URL: https://svnweb.freebsd.org/changeset/ports/464131

Log:
  New port: audio/gmsynth-lv2: General MIDI LV2 Synth
  
  Approved by:	tcberner (mentor, implicit)

Added:
  head/audio/gmsynth-lv2/
  head/audio/gmsynth-lv2/Makefile   (contents, props changed)
  head/audio/gmsynth-lv2/distinfo   (contents, props changed)
  head/audio/gmsynth-lv2/files/
  head/audio/gmsynth-lv2/files/patch-Makefile   (contents, props changed)
  head/audio/gmsynth-lv2/pkg-descr   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Sat Mar 10 23:04:45 2018	(r464130)
+++ head/audio/Makefile	Sat Mar 10 23:22:45 2018	(r464131)
@@ -222,6 +222,7 @@
     SUBDIR += gmpc-mserver
     SUBDIR += gmpc-shout
     SUBDIR += gmpc-wikipedia
+    SUBDIR += gmsynth-lv2
     SUBDIR += gmtp
     SUBDIR += gmusicbrowser
     SUBDIR += gnaural

Added: head/audio/gmsynth-lv2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/gmsynth-lv2/Makefile	Sat Mar 10 23:22:45 2018	(r464131)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME=	gmsynth
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.3.0
+CATEGORIES=	audio
+PKGNAMESUFFIX=	-lv2
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	General MIDI LV2 Synth
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	lv2>0:audio/lv2
+LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth
+
+USES=		gmake pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	x42
+GH_PROJECT=	${PORTNAME}.lv2
+USE_GNOME=	glib20
+
+PLIST_FILES=	lib/lv2/${PORTNAME}.lv2/GeneralUser_LV2.sf2 \
+		lib/lv2/${PORTNAME}.lv2/${PORTNAME}.so \
+		lib/lv2/${PORTNAME}.lv2/${PORTNAME}.ttl \
+		lib/lv2/${PORTNAME}.lv2/manifest.ttl
+
+.include <bsd.port.mk>

Added: head/audio/gmsynth-lv2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/gmsynth-lv2/distinfo	Sat Mar 10 23:22:45 2018	(r464131)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520723141
+SHA256 (x42-gmsynth.lv2-v0.3.0_GH0.tar.gz) = 0f18c56ef55307bbf5894d013a5b0c232c920b13e27d6998cc19e80948efb2ba
+SIZE (x42-gmsynth.lv2-v0.3.0_GH0.tar.gz) = 28563480

Added: head/audio/gmsynth-lv2/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/gmsynth-lv2/files/patch-Makefile	Sat Mar 10 23:22:45 2018	(r464131)
@@ -0,0 +1,19 @@
+--- Makefile.orig	2018-03-10 23:08:50 UTC
++++ Makefile
+@@ -136,13 +136,13 @@ FLUID_SRC = \
+             fluidsynth/src/fluid_settings.c \
+             fluidsynth/src/fluid_sys.c
+ 
+-CPPFLAGS += -Ifluidsynth -I fluidsynth/fluidsynth -DHAVE_CONFIG_H -D DEFAULT_SOUNDFONT=\"\"
+-DSP_SRC  = src/$(LV2NAME).c $(FLUID_SRC)
++FS_CFLAGS = `pkg-config --cflags --libs fluidsynth` -DHAVE_CONFIG_H -D DEFAULT_SOUNDFONT=\"\"
++DSP_SRC  = src/$(LV2NAME).c # $(FLUID_SRC)
+ DSP_DEPS = $(DSP_SRC)
+ 
+ $(BUILDDIR)$(LV2NAME)$(LIB_EXT): $(DSP_DEPS) Makefile
+ 	@mkdir -p $(BUILDDIR)
+-	$(CC) $(CPPFLAGS) $(CFLAGS) -std=c99 \
++	$(CC) $(FS_CFLAGS) $(CFLAGS) -std=c99 \
+ 	  -o $(BUILDDIR)$(LV2NAME)$(LIB_EXT) $(DSP_SRC) \
+ 	  -shared $(LV2LDFLAGS) $(LDFLAGS) $(LOADLIBES)
+ 	$(STRIP) $(STRIPFLAGS) $(BUILDDIR)$(LV2NAME)$(LIB_EXT)

Added: head/audio/gmsynth-lv2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/gmsynth-lv2/pkg-descr	Sat Mar 10 23:22:45 2018	(r464131)
@@ -0,0 +1,3 @@
+Midi to sound LV2 converter.
+
+WWW: https://x42-plugins.com/x42/x42-gmsynth



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803102322.w2ANMjI3038295>