pkgsrc/audio/kid3/Makefile

48 lines
1.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.66 2016/04/11 19:01:42 ryoon Exp $
DISTNAME= kid3-3.3.0
PKGREVISION= 5
CATEGORIES= kde audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kid3/}
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://kid3.sourceforge.net/
COMMENT= ID3 tagger for QT
LICENSE= gnu-gpl-v2
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.
2014-04-30 14:43:46 +02:00
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
USE_CMAKE= yes
USE_LANGUAGES= c c++
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.
2014-04-30 14:43:46 +02:00
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}
2014-05-16 15:55:24 +02:00
# program-specific rpath is ignored since pkgsrc passes
# -DCMAKE_SKIP_RPATH:BOOL=TRUE, so re-add it manually
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.
2014-04-30 14:43:46 +02:00
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/kid3
SUBST_CLASSES+= apple
SUBST_MESSAGE.apple= Avoiding Mac OS X application bundles
SUBST_STAGE.apple= pre-configure
SUBST_FILES.apple+= src/app/cli/CMakeLists.txt
SUBST_FILES.apple+= src/app/qt/CMakeLists.txt
SUBST_FILES.apple+= src/plugins/kid3qml/CMakeLists.txt
SUBST_SED.apple= -e 's,APPLE,ELPPA,g'
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.
2014-04-30 14:43:46 +02:00
.include "../../audio/chromaprint/buildlink3.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/id3lib/buildlink3.mk"
.include "../../audio/taglib/buildlink3.mk"
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.
2014-04-30 14:43:46 +02:00
.include "../../devel/readline/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
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.
2014-04-30 14:43:46 +02:00
.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"