42 lines
875 B
Makefile
42 lines
875 B
Makefile
# $OpenBSD: Makefile,v 1.16 2020/08/17 19:39:40 sebastia Exp $
|
|
|
|
COMMENT = Qt GUI Interface for FluidSynth
|
|
|
|
DISTNAME = qsynth-0.6.3
|
|
|
|
CATEGORIES = audio
|
|
|
|
HOMEPAGE = https://qsynth.sourceforge.io
|
|
|
|
MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=qsynth/}
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Widgets c
|
|
WANTLIB += m fluidsynth GL Qt5Network curses readline
|
|
|
|
MODULES = x11/qt5
|
|
|
|
LIB_DEPENDS += audio/fluidsynth
|
|
|
|
RUN_DEPENDS += devel/desktop-file-utils \
|
|
x11/gtk+3,-guic
|
|
|
|
USE_GMAKE = Yes
|
|
NO_TEST = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV += CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
|
ac_cv_path_ac_qmake="${MODQT_QMAKE}"
|
|
|
|
.if ${MACHINE_ARCH} == "hppa"
|
|
WANTLIB += atomic
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|