pkgsrc/audio/hydrogen/Makefile
wiz de802b4165 Updated hydrogen to 0.9.7.
2016-11-01 the hydrogen team <hydrogen-devel@lists.sourceforge.net>
	* Release 0.9.7
	* The color of the SongEditors squares is now configurable
	* Added support for midi cymbal choking
	* Added support for midi hihat pressure control
	* Added hihat pressure groups
	* Added basic non session manager support
	* Added instrument components
	* Basic lilypond export
	* New windows cross compilation script
	* Support for soundlibrary images
	* Configurable sample selection algorithm
	* Support for soundlibraries with images
	* Donation dialog
	* New midi action:
		* SELECT_PREV_PATTERN_RELATIVE
2016-11-30 12:34:20 +00:00

57 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.53 2016/11/30 12:34:20 wiz Exp $
DISTNAME= Hydrogen-0.9.7
PKGNAME= ${DISTNAME:tl}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=hydrogen-music/}
GITHUB_PROJECT= Hydrogen
GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= mrg@eterna.com.au
HOMEPAGE= http://www.hydrogen-music.org/
COMMENT= Real time drum machine/sequencer
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
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"