mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
audio/polyphone: Update 2.2.0 -> 2.2.0.20200830
This commit is contained in:
parent
85a2b849a8
commit
ceb113b1da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556620
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= polyphone
|
||||
DISTVERSION= 2.2.0
|
||||
DISTVERSION= 2.2.0.20200830
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
@ -14,36 +14,35 @@ LIB_DEPENDS= libFLAC.so:audio/flac \
|
||||
libjack.so:audio/jack \
|
||||
libogg.so:audio/libogg \
|
||||
libportaudio.so:audio/portaudio \
|
||||
libQCustomPlot-qt5.so:graphics/qcustomplot-qt5 \
|
||||
librtmidi.so:audio/rtmidi \
|
||||
libstk.so:audio/stk \
|
||||
libvorbisfile.so:audio/libvorbis
|
||||
|
||||
USES= compiler:c++11-lang desktop-file-utils dos2unix gl gnome pkgconfig qmake:outsource qt:5 shared-mime-info ssl xorg
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= davy7125
|
||||
DOS2UNIX_FILES= polyphone.pro \
|
||||
editor/graphics/graphiquefourier.cpp \
|
||||
editor/tree/treeitemdelegate.cpp
|
||||
USE_GL= gl
|
||||
USE_QT= core concurrent gui network printsupport svg widgets buildtools_build qmake_build
|
||||
USE_QT= core concurrent gui network printsupport svg widgets buildtools_build linguisttools_build qmake_build
|
||||
USE_GNOME= glib20
|
||||
USE_CXXSTD= c++11
|
||||
QMAKE_ARGS= DEFINES=USE_LOCAL_QCUSTOMPLOT
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= davy7125
|
||||
GH_TAGNAME= e69e2471
|
||||
|
||||
CXXFLAGS+= -D__UNIX_JACK__
|
||||
LIBS+= -lssl -lcrypto
|
||||
|
||||
WRKSRC_SUBDIR= sources
|
||||
|
||||
PLIST_FILES= bin/polyphone \
|
||||
share/applications/polyphone.desktop \
|
||||
share/mime/packages/polyphone.xml \
|
||||
share/pixmaps/polyphone.png
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/resources/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
|
||||
post-extract: # unbundle
|
||||
@${RM} -r ${WRKSRC}/lib/_option_qcustomplot ${WRKSRC}/lib/_option_rtmidi ${WRKSRC}/lib/_option_stk
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.xml ${STAGEDIR}${PREFIX}/share/mime/packages
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1573877489
|
||||
SHA256 (davy7125-polyphone-2.2.0_GH0.tar.gz) = ea7db06d793537f68f6169bf7c78ef2ee55a607d09c52230bad1ef7d5dd4c2cf
|
||||
SIZE (davy7125-polyphone-2.2.0_GH0.tar.gz) = 2034864
|
||||
TIMESTAMP = 1606712177
|
||||
SHA256 (davy7125-polyphone-2.2.0.20200830-e69e2471_GH0.tar.gz) = 53fba6be15c40298b25524ea5243b1bd8a1a6f81ebb31eccc4a80588c6f440b6
|
||||
SIZE (davy7125-polyphone-2.2.0.20200830-e69e2471_GH0.tar.gz) = 1858501
|
||||
|
@ -1,19 +1,26 @@
|
||||
--- polyphone.pro.orig 2019-11-16 04:13:10 UTC
|
||||
--- polyphone.pro.orig 2020-11-29 08:46:04 UTC
|
||||
+++ polyphone.pro
|
||||
@@ -66,7 +66,7 @@ unix:!macx {
|
||||
@@ -67,11 +67,11 @@ unix:!macx {
|
||||
QMAKE_CXXFLAGS += -std=c++11
|
||||
DEFINES += __LINUX_ALSASEQ__ __UNIX_JACK__
|
||||
CONFIG += link_pkgconfig
|
||||
- PKGCONFIG += alsa jack portaudio-2.0 zlib ogg flac vorbis vorbisfile vorbisenc glib-2.0 openssl
|
||||
- PKGCONFIG += alsa jack portaudio-2.0 zlib ogg flac vorbis vorbisfile vorbisenc glib-2.0
|
||||
+ PKGCONFIG += jack portaudio-2.0 zlib ogg flac vorbis vorbisfile vorbisenc glib-2.0
|
||||
contains(DEFINES, USE_WOLFSSL) {
|
||||
- PKGCONFIG += wolfssl
|
||||
+ #PKGCONFIG += wolfssl
|
||||
} else {
|
||||
- PKGCONFIG += openssl
|
||||
+ #PKGCONFIG += openssl
|
||||
}
|
||||
isEmpty(PREFIX) {
|
||||
PREFIX = /usr/local
|
||||
}
|
||||
@@ -975,6 +975,6 @@ macx {
|
||||
ExtraCompiler.commands = $${QMAKE_CXX} $(CXXFLAGS) -D__LITTLE_ENDIAN__ -mno-sse -mfpmath=387 $(INCPATH) -c ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
||||
@@ -158,7 +158,7 @@ contains(DEFINES, USE_LOCAL_QCUSTOMPLOT) {
|
||||
HEADERS += lib/_option_qcustomplot/qcustomplot.h
|
||||
SOURCES += lib/_option_qcustomplot/qcustomplot.cpp
|
||||
} else {
|
||||
- LIBS += -lqcustomplot
|
||||
+ LIBS += -lQCustomPlot-qt5
|
||||
}
|
||||
unix:!macx {
|
||||
- ExtraCompiler.commands = $${QMAKE_CXX} $(CXXFLAGS) -fPIC -D__LITTLE_ENDIAN__ -mfpmath=387 $(INCPATH) -c ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
||||
+ ExtraCompiler.commands = $${QMAKE_CXX} $(CXXFLAGS) -fPIC -D__LITTLE_ENDIAN__ $(INCPATH) -c ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
||||
}
|
||||
QMAKE_EXTRA_COMPILERS += ExtraCompiler
|
||||
|
||||
# Location of sfArk
|
||||
|
10
audio/polyphone/pkg-plist
Normal file
10
audio/polyphone/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
bin/polyphone
|
||||
share/applications/polyphone.desktop
|
||||
share/icons/hicolor/512x512/apps/polyphone.png
|
||||
share/icons/hicolor/scalable/apps/polyphone.svg
|
||||
share/icons/hicolor/scalable/mimetypes/audio-x-soundfont.svg
|
||||
share/man/fr/man1/polyphone.1.gz
|
||||
share/man/man1/polyphone.1.gz
|
||||
share/man/ru/man1/polyphone.1.gz
|
||||
share/metainfo/com.polyphone_soundfonts.polyphone.metainfo.xml
|
||||
share/mime/packages/polyphone.xml
|
Loading…
Reference in New Issue
Block a user