aboutsummaryrefslogtreecommitdiff
path: root/audio/kid3-kde4
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2015-03-24 09:46:53 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2015-03-24 09:46:53 +0000
commita6b2573ee0472c2f86789c182d9967a6df0c21aa (patch)
treec6de8fa3cd30755ba9511cee97ee30958a8d35f5 /audio/kid3-kde4
parentb5e2aa85d7e1fe298c3c9921bd38825e6bc31ce2 (diff)
downloadports-a6b2573ee0472c2f86789c182d9967a6df0c21aa.tar.gz
ports-a6b2573ee0472c2f86789c182d9967a6df0c21aa.zip
Notes
Diffstat (limited to 'audio/kid3-kde4')
-rw-r--r--audio/kid3-kde4/Makefile14
-rw-r--r--audio/kid3-kde4/distinfo4
-rw-r--r--audio/kid3-kde4/pkg-plist13
3 files changed, 26 insertions, 5 deletions
diff --git a/audio/kid3-kde4/Makefile b/audio/kid3-kde4/Makefile
index 5895551b2ee1..b0768359e965 100644
--- a/audio/kid3-kde4/Makefile
+++ b/audio/kid3-kde4/Makefile
@@ -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"
diff --git a/audio/kid3-kde4/distinfo b/audio/kid3-kde4/distinfo
index c7082446ea5c..e1f2b18ba3d9 100644
--- a/audio/kid3-kde4/distinfo
+++ b/audio/kid3-kde4/distinfo
@@ -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
diff --git a/audio/kid3-kde4/pkg-plist b/audio/kid3-kde4/pkg-plist
index 793d6f3f8a82..6a8e9c548cf4 100644
--- a/audio/kid3-kde4/pkg-plist
+++ b/audio/kid3-kde4/pkg-plist
@@ -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