1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

audio/kid3-kde4:

- Update to 3.2.0
- Add QML option for scripting support
This commit is contained in:
Max Brazhnikov 2015-03-24 09:46:53 +00:00
parent b5e2aa85d7
commit a6b2573ee0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382074
3 changed files with 26 additions and 5 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= kid3
PORTVERSION= 3.1.2
PORTREVISION= 1
PORTVERSION= 3.2.0
CATEGORIES= audio kde
MASTER_SITES= SF
@ -20,7 +19,7 @@ CXXFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= CHROMAPRINT FLAC ID3LIB MP4V2 VORBIS TAGLIB \
CLI
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
OPTIONS_DEFAULT:= ${OPTIONS_DEFINE}
OPTIONS_SUB= yes
NO_OPTIONS_SORT= yes
@ -30,10 +29,19 @@ CONFLICTS_INSTALL+= kid3-qt4-3.*
USE_QT5= core dbus gui multimedia network testlib xml widgets \
buildtools_build linguisttools_build qmake_build
CMAKE_ARGS+= -DWITH_QT5=true
OPTIONS_DEFINE+= QML
OPTIONS_DEFAULT+= QML
QML_DESC= Scripting support (using QML/JavaScript)
QML_CMAKE_ON= -DWITH_QML=ON
QML_CMAKE_OFF= -DWITH_QML=OFF
QML_USE= QT5=qml,quick
.else
# Qt 4 and KDE 4
USE_QT4= qmake_build moc_build rcc_build uic_build \
linguisttools_build
CMAKE_ARGS+= -DWITH_QML=OFF
PLIST_SUB+= QML="@comment "
.endif
.if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-qt4"

View File

@ -1,2 +1,2 @@
SHA256 (kid3-3.1.2.tar.gz) = 085097a653877ef56dd719083da1ab005944826ce215141fe3f6d4285e5f6246
SIZE (kid3-3.1.2.tar.gz) = 1109060
SHA256 (kid3-3.2.0.tar.gz) = 0197ee6484e9b80ffae39867833fce04ac23ec143d4ff6f1a074af0efba1d503
SIZE (kid3-3.2.0.tar.gz) = 1212725

View File

@ -5,6 +5,10 @@ lib/libkid3-core.so
lib/libkid3-core.so.%%SHLIB_VER%%
lib/libkid3-gui.so
lib/libkid3-gui.so.%%SHLIB_VER%%
%%QML%%lib/kid3/imports/Kid3/Kid3Script.qml
%%QML%%lib/kid3/imports/Kid3/libkid3qml.so
%%QML%%lib/kid3/imports/Kid3/plugins.qmltypes
%%QML%%lib/kid3/imports/Kid3/qmldir
%%CHROMAPRINT%%lib/kid3/libacoustidimport.so
lib/kid3/libamazonimport.so
lib/kid3/libdiscogsimport.so
@ -13,6 +17,7 @@ lib/kid3/libfreedbimport.so
%%MP4V2%%lib/kid3/libmp4v2metadata.so
lib/kid3/libmusicbrainzimport.so
%%OGGFLAC%%lib/kid3/liboggflacmetadata.so
%%QML%%lib/kid3/libqmlcommand.so
%%TAGLIB%%lib/kid3/libtaglibmetadata.so
%%CLI%%man/de/man1/kid3-cli.1.gz
%%QT%%man/de/man1/kid3-qt.1.gz
@ -46,6 +51,14 @@ man/man1/kid3.1.gz
%%KDE%%share/icons/hicolor/64x64/apps/kid3.png
%%QT%%share/icons/hicolor/scalable/apps/kid3-qt.svg
%%KDE%%share/icons/hicolor/scalable/apps/kid3.svgz
%%QML%%%%DATADIR%%/qml/script/EmbedAlbumArt.qml
%%QML%%%%DATADIR%%/qml/script/EmbedLyrics.qml
%%QML%%%%DATADIR%%/qml/script/ExportCsv.qml
%%QML%%%%DATADIR%%/qml/script/ExtractAlbumArt.qml
%%QML%%%%DATADIR%%/qml/script/QmlConsole.qml
%%QML%%%%DATADIR%%/qml/script/ReplayGain2SoundCheck.qml
%%QML%%%%DATADIR%%/qml/script/ResizeAlbumArt.qml
%%QML%%%%DATADIR%%/qml/script/ShowTextEncodingV1.qml
%%DATADIR%%/translations/kid3_cs.qm
%%DATADIR%%/translations/kid3_de.qm
%%DATADIR%%/translations/kid3_es.qm