blob: 7649bd8b1e15639da0f546e80dcdfc79829f51dd (
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
|
# $NetBSD: Makefile,v 1.50 2016/04/20 12:10:26 nros Exp $
DISTNAME= 0.9.6.1
PKGNAME= hydrogen-0.9.6.1
PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= https://github.com/hydrogen-music/hydrogen/archive/
# Hydrogen publishes files like ".../archive/0.9.6.1.tar.gz"
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
MAINTAINER= mrg@eterna.com.au
HOMEPAGE= http://www.hydrogen-music.org/
COMMENT= Real time drum machine/sequencer
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
MAKE_ENV+= QTDIR=${PREFIX}/qt4 PATH=$$PATH:${PREFIX}/qt4/bin
#CONFIGURE_ENV+= LADSPA_PATH=${BUILDLINK_PREFIX.ladspa}/lib/ladspa
USE_CMAKE= yes
CMAKE_ARGS+= -DWANT_OSS=ON
CMAKE_ARGS+= -DWANT_JACK=OFF
CMAKE_ARGS+= -DWANT_LRDF=OFF
# options.mk this, and ladspa.
CMAKE_ARGS+= -DWANT_PULSEAUDIO=OFF
# NetBSD libarchive is old?
CMAKE_ARGS+= -DWANT_LIBARCHIVE=OFF
CMAKE_ARGS+= -DWANT_LIBTAR=ON
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
CMAKE_ARGS+= -DWANT_ALSA=ON
.else
CMAKE_ARGS+= -DWANT_ALSA=OFF
.endif
LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../devel/libtar/buildlink3.mk"
.if ${OPSYS} == "Linux"
. include "../../audio/alsa-lib/buildlink3.mk"
.endif
.include "../../audio/libsndfile/buildlink3.mk"
#.include "../../audio/ladspa/buildlink3.mk"
.include "../../devel/cppunit/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|