Index: head/audio/Makefile =================================================================== --- head/audio/Makefile +++ head/audio/Makefile @@ -10,6 +10,7 @@ SUBDIR += abcde SUBDIR += abcmidi SUBDIR += abcselect + SUBDIR += abgate-lv2 SUBDIR += abraca SUBDIR += acoustid-fingerprinter SUBDIR += adplay Index: head/audio/abgate-lv2/Makefile =================================================================== --- head/audio/abgate-lv2/Makefile +++ head/audio/abgate-lv2/Makefile @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= abGate +DISTVERSIONPREFIX= v +DISTVERSION= 1.1.9 +CATEGORIES= audio +PKGNAMESUFFIX= -lv2 + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Noise gate LV2 plugin + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= lv2>0:audio/lv2 + +USES= gmake pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= antanasbruzas +USE_CXXSTD= c++11 +USE_QT4= corelib gui moc_build rcc_build qmake_build uic_build +USE_GNOME= atkmm gtk20 gtkmm24 libsigc++20 +USE_LDCONFIG= yes + +post-patch: + @${REINPLACE_CMD} -e ' \ + s|PREFIX = |PREFIX ?= |; \ + s|g++|$$(CXX)|; \ + s|CPPFLAGS|CXXFLAGS|; \ + s| -g -O3||; \ + s|cd abGateQt; qmake; make|cd abGateQt; qmake \&\& $$(MAKE)|' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -E ' \ + s|^QMAKE_CXXFLAGS (.*)|QMAKE_CXXFLAGS = ${CXXFLAGS}|; \ + s|^QMAKE_LFLAGS (.*)|QMAKE_LFLAGS = ${LDFLAGS}|' \ + ${WRKSRC}/abGateQt/abGateQt.pro + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/abGate.lv2/*.so + +.include Index: head/audio/abgate-lv2/distinfo =================================================================== --- head/audio/abgate-lv2/distinfo +++ head/audio/abgate-lv2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1510096119 +SHA256 (antanasbruzas-abGate-v1.1.9_GH0.tar.gz) = 898b50cce44dffedd82ec0e6d6d043a9d26534fbf07898d099575ea4c1057721 +SIZE (antanasbruzas-abGate-v1.1.9_GH0.tar.gz) = 814739 Index: head/audio/abgate-lv2/pkg-descr =================================================================== --- head/audio/abgate-lv2/pkg-descr +++ head/audio/abgate-lv2/pkg-descr @@ -0,0 +1,3 @@ +abGate is LV2 noise gate plugin. + +WWW: https://github.com/antanasbruzas/abGate Index: head/audio/abgate-lv2/pkg-plist =================================================================== --- head/audio/abgate-lv2/pkg-plist +++ head/audio/abgate-lv2/pkg-plist @@ -0,0 +1,9 @@ +lib/lv2/abGate.lv2/background.png +lib/lv2/abGate.lv2/bypass_off.png +lib/lv2/abGate.lv2/bypass_on.png +lib/lv2/abGate.lv2/gate.so +lib/lv2/abGate.lv2/gate.ttl +lib/lv2/abGate.lv2/gate_gui.so +lib/lv2/abGate.lv2/knob.png +lib/lv2/abGate.lv2/libabGateQt.so +lib/lv2/abGate.lv2/manifest.ttl