1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

New port: audio/suil

Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.

Suil makes it possible to load a UI of any toolkit in a host using any
other toolkit (assuming the toolkits are both supported by Suil).
Hosts do not need to build against or link to foreign toolkit libraries
to use UIs written with that toolkit; all the necessary magic is performed
by dynamically loaded modules. The API is designed such that hosts do not
need to explicitly support specific toolkits at all - if Suil supports
a particular toolkit, then UIs in that toolkit will work in all hosts
that use Suil automatically.

Suil currently supports every combination of Gtk 2, Qt 4, and X11, e.g. with
Suil a Gtk program can embed a Qt plugin UI without depending on Qt,
and a Qt program can embed a Gtk plugin UI without depending on Gtk.
On Windows, embedding native UIs in Gtk is also supported.
I (David Robillard) would be happy to work with plugin authors
to add support for new toolkits, please contact me if you're interested
in writing a plugin UI using a toolkit that is not yet
supported in the LV2 ecosystem.

WWW: http://drobilla.net/software/suil/

PR:		213289
Submitted by:	Michael Beer <beerml@sigma6audio.de>
Reviewed by:	Yuri Victorovich <yuri@rawbw.com>
This commit is contained in:
Kurt Jaeger 2017-01-11 06:35:50 +00:00
parent 7d888441d6
commit 3303aa630b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431158
5 changed files with 70 additions and 0 deletions

View File

@ -744,6 +744,7 @@
SUBDIR += streamripper
SUBDIR += streamtranscoder
SUBDIR += stymulator
SUBDIR += suil
SUBDIR += sweep
SUBDIR += swhplugins
SUBDIR += taglib

35
audio/suil/Makefile Normal file
View File

@ -0,0 +1,35 @@
# Created by: Michael Beer <beerml@sigma6audio.de>
# $FreeBSD$
PORTNAME= suil
PORTVERSION= 0.8.2
CATEGORIES= audio
MASTER_SITES= http://download.drobilla.net/
MAINTAINER= beerml@sigma6audio.de
COMMENT= Suil is a C library for loading and wrapping LV2 plugin UIs
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= lv2>=1.14.0:audio/lv2
LIB_DEPENDS= libQtCore.so:devel/qt4-corelib \
libQtGui.so:x11-toolkits/qt4-gui \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= pkgconfig python:build tar:bzip2 waf
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango
USE_LDCONFIG= yes
post-install:
@${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/*.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsuil-0.so.0.8.2
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/suil-0/libsuil_gtk2_in_qt4.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/suil-0/libsuil_qt4_in_gtk2.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/suil-0/libsuil_x11_in_gtk2.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/suil-0/libsuil_x11_in_qt4.so
.include <bsd.port.mk>

3
audio/suil/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1483909687
SHA256 (suil-0.8.2.tar.bz2) = 787608c1e5b1f5051137dbf77c671266088583515af152b77b45e9c3a36f6ae8
SIZE (suil-0.8.2.tar.bz2) = 141929

21
audio/suil/pkg-descr Normal file
View File

@ -0,0 +1,21 @@
Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
Suil makes it possible to load a UI of any toolkit in a host using any
other toolkit (assuming the toolkits are both supported by Suil).
Hosts do not need to build against or link to foreign toolkit libraries
to use UIs written with that toolkit; all the necessary magic is performed
by dynamically loaded modules. The API is designed such that hosts do not
need to explicitly support specific toolkits at all - if Suil supports
a particular toolkit, then UIs in that toolkit will work in all hosts
that use Suil automatically.
Suil currently supports every combination of Gtk 2, Qt 4, and X11, e.g. with
Suil a Gtk program can embed a Qt plugin UI without depending on Qt,
and a Qt program can embed a Gtk plugin UI without depending on Gtk.
On Windows, embedding native UIs in Gtk is also supported.
I (David Robillard) would be happy to work with plugin authors
to add support for new toolkits, please contact me if you're interested
in writing a plugin UI using a toolkit that is not yet
supported in the LV2 ecosystem.
WWW: http://drobilla.net/software/suil/

10
audio/suil/pkg-plist Normal file
View File

@ -0,0 +1,10 @@
include/suil-0/suil/suil.h
lib/libsuil-0.so
lib/libsuil-0.so.0
lib/libsuil-0.so.0.8.2
lib/suil-0/libsuil_gtk2_in_qt4.so
lib/suil-0/libsuil_qt4_in_gtk2.so
lib/suil-0/libsuil_x11_in_gtk2.so
lib/suil-0/libsuil_x11_in_qt4.so
libdata/pkgconfig/suil-0.pc
@dir lib/pkgconfig