freebsd-ports/audio/qsampler/Makefile
Tobias C. Berner 37fde529da audio/qsampler: update to 0.6.1
- Custom color (palette) theme editor introduced; color (palette) theme changes
  are now effective immediately, except on default.
- Second attempt to fix the yet non-official though CMake build configuration.
- When using autotools and ./configure --with-qt=..., it is also necessary to
  adjust the PKG_CONFIG_PATH environment variable
2019-12-23 19:06:55 +00:00

45 lines
1.1 KiB
Makefile

# Created by: trasz <trasz@FreeBSD.org
# $FreeBSD$
PORTNAME= qsampler
DISTVERSIONPREFIX= qsampler_
DISTVERSION= 0_6_1
CATEGORIES= audio
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt-based front end to LinuxSampler
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgig.so:audio/libgig \
liblscp.so:audio/liblscp
RUN_DEPENDS= linuxsampler:audio/linuxsampler
LDFLAGS+= -L${LOCALBASE}/lib
USES= autoreconf desktop-file-utils gl gmake pkgconfig \
shared-mime-info qmake:no_env qt:5 xorg
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_ac_cv_qmake=${QMAKE} \
ac_cv_path_ac_moc=${MOC} \
ac_cv_path_ac_uic=${UIC} \
ac_cv_path_ac_rcc=${RCC} \
ac_cv_path_ac_lupdate=${LUPDATE} \
ac_cv_path_ac_lrelease=${LRELEASE}
CONFIGURE_ARGS= --enable-qt5
USE_GL= gl
USE_QT= core gui network widgets x11extras \
buildtools_build linguisttools_build qmake_build
USE_GITHUB= yes
GH_ACCOUNT= rncbc
post-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o ${PORTNAME}.mak \
${QMAKE_ARGS}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qsampler
.include <bsd.port.mk>