57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.48 2015/04/28 00:10:39 joerg Exp $
|
|
|
|
DISTNAME= 0.9.6.1
|
|
PKGNAME= hydrogen-0.9.6.1
|
|
PKGREVISION= 1
|
|
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
|
|
|
|
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"
|