summaryrefslogtreecommitdiff
path: root/audio/kid3/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-04-30 12:43:46 +0000
committerwiz <wiz@pkgsrc.org>2014-04-30 12:43:46 +0000
commitc4440fe0036f560cad5c0ba21a2ce599b0eb4de9 (patch)
tree6ee2d14324702c01a08e68a270ed596db60d2440 /audio/kid3/Makefile
parent91391c22fd72e958715a0842445db66cf9366e9b (diff)
downloadpkgsrc-c4440fe0036f560cad5c0ba21a2ce599b0eb4de9.tar.gz
Update to 3.1. Switch from kde3 to qt5.
(kde and qt4 options would be possible, if someone wants to add them) Changes since 1.6: 3.1 Support for synchronized lyrics and event timing codes, find and replace strings in tags and file names, details and sort columns in file list, bug fixes and usability improvements. 3.0.2 This bugfix release solves the problem that translations and the documentation were not found on Mac OS X 10.9 Mavericks. The application is now correctly terminated when the main window is closed while the handbook is open. Session restoration and the genres list have been improved. A few build system issues are fixed too. 3.0.1 This is a bug fix release for 3.0. It fixes the incorrect configuration conversion and toolbar configuration in the KDE version, the filename format configuration, bugs in the fingerprint import and several build issues for different Linux distributions. 3.0 Flexible architecture with common shared libraries and plugins for metadata libraries and importers, new command-line application, support for Opus format, bug fixes and usability improvements. 2.3 Automatic batch import for multiple directories, improved import, configurable quick access tag frames, better responsiveness when working with a huge number of files, long operations can be aborted, bug fixes and usability improvements. 2.2.1 This is a bug fix release for 2.2. It fixes the selection of a wrong language if the primary language is not supported and the first fallback language should be English and that the English instead of the German handbook was displayed for a German locale. 2.2 Improved Discogs and AcoustID audio fingerprint import, bug fixes and usability improvements. 2.1 Chromaprint Acoustid fingerprint import, keyboard shortcuts, improved iTunes support, icons, bug fixes. 2.0.1 Minor bugfixes. The build system is also improved and should work out of the box on most distributions. 2.0 Extract and move information between tags, many improvements and refactorings, e.g. in file list, import, numbering tracks, renaming directories, GUI and usability.
Diffstat (limited to 'audio/kid3/Makefile')
-rw-r--r--audio/kid3/Makefile46
1 files changed, 29 insertions, 17 deletions
diff --git a/audio/kid3/Makefile b/audio/kid3/Makefile
index 33fa022d998..4113e84bf72 100644
--- a/audio/kid3/Makefile
+++ b/audio/kid3/Makefile
@@ -1,35 +1,47 @@
-# $NetBSD: Makefile,v 1.48 2014/04/10 06:21:21 obache Exp $
-#
+# $NetBSD: Makefile,v 1.49 2014/04/30 12:43:46 wiz Exp $
-DISTNAME= kid3-1.6
-PKGREVISION= 22
+DISTNAME= kid3-3.1
CATEGORIES= kde audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kid3/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://kid3.sourceforge.net/
-COMMENT= ID3 tagger for KDE 3
+COMMENT= ID3 tagger for QT
LICENSE= gnu-gpl-v2
-GNU_CONFIGURE= yes
-SET_LIBDIR= yes
-USE_LIBTOOL= yes
+BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
+USE_CMAKE= yes
USE_LANGUAGES= c c++
-USE_TOOLS+= msgfmt
+USE_TOOLS+= perl:build pkg-config
+CMAKE_ARGS+= -DQt5Core_DIR:PATH=${QTDIR}
+CMAKE_ARGS+= -DQT_QMAKE_EXECUTABLE:PATH=${QTDIR}/bin/qmake
+CMAKE_ARGS+= -DWITH_DOCBOOKDIR:PATH=${PREFIX}/share/xsl/docbook
+CMAKE_ARGS+= -DWITH_APPS:STRING="Qt;CLI"
+CMAKE_ARGS+= -DWITH_MANDIR:STRING=${PKGMANDIR}
+# seems to be ignored, so put it into LDFLAGS
+CMAKE_ARGS+= -DCMAKE_INSTALL_RPATH:PATH=${PREFIX}/lib/kid3
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/kid3
-CHECK_PORTABILITY_SKIP+= make_qtonly.sh
+# workaround: qt5-dbus does not install these tools, but
+# CMake expects them to be there, since they are referenced from
+# qt5-installed .cmake files
+pre-configure:
+ cd ${PREFIX}/qt5/bin && \
+ if [ ! -f qdbuscpp2xml ]; then touch qdbuscpp2xml; fi; \
+ if [ ! -f qdbusxml2cpp ]; then touch qdbusxml2cpp; fi;
-.include "../../meta-pkgs/kde3/kde3.mk"
+.include "../../audio/chromaprint/buildlink3.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/id3lib/buildlink3.mk"
-.include "../../audio/libtunepimp/buildlink3.mk"
.include "../../audio/taglib/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../multimedia/libmp4v2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../x11/kdelibs3/buildlink3.mk"
-.include "../../x11/libSM/buildlink3.mk"
-.include "../../x11/libX11/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/qt5-dbus/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"