blob: 39e02deab13cb3f3c5335f8b91159aed565b86da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
PORTNAME= gsequencer
DISTVERSION= 3.7.50
CATEGORIES= audio
MASTER_SITES= SAVANNAH/gsequencer/${DISTVERSION:R}.x
MAINTAINER= yuri@FreeBSD.org
COMMENT= Advanced Gtk+ sequencer
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= dssi>0:audio/dssi \
lv2>0:audio/lv2
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libfftw3.so:math/fftw3 \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libinstpatch-1.0.so:audio/libinstpatch \
libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile \
libsoup-2.4.so:devel/libsoup \
libuuid.so:misc/e2fsprogs-libuuid \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
RUN_DEPENDS= dssi>0:audio/dssi
USES= desktop-file-utils gettext-runtime gettext-tools gmake gnome libtool localbase pkgconfig shared-mime-info xorg
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 libxml2 pango
USE_XORG= x11
USE_GSTREAMER1= yes
USE_GCC= yes # the project uses gnu99 extensions, clang fails even with USE_CSTD=gnu99. Suggestions how to build with clang are welcome.
USE_CSTD= gnu99
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-alsa --enable-oss --disable-introspection --disable-rt
CPPFLAGS+= -DAGS_LICENSE_FILENAME=\\\"${LOCALBASE}/share/licenses/${PKGNAME}/${LICENSE}\\\" \
-DAGS_LOGO_FILENAME=\\\"${DATADIR}/images/ags.png\\\" # there should be no need to supply AGS_LOGO_FILENAME here since the app knows its location
LDFLAGS+= -luuid
INSTALL_TARGET= install-strip
INSTALLS_ICONS= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= DOCS JACK PULSEAUDIO
DOCS_CONFIGURE_ON= HTMLHELP_XSL=${LOCALBASE}/share/xsl/docbook/htmlhelp/htmlhelp.xsl --docdir=${DOCSDIR} --enable-single-docdir
DOCS_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl
DOCS_USE= GNOME=libxslt:build
DOCS_ALL_TARGET= html
DOCS_INSTALL_TARGET= install-html
JACK_CONFIGURE_ENABLE= jack
JACK_LIB_DEPENDS= libjack.so:audio/jack
PULSEAUDIO_CONFIGURE_ENABLE= pulse
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PORTDOCS= *
.include <bsd.port.mk>
|