New package: kid3-3.6.0

Closes: #13105 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
SolitudeSF 2018-03-31 18:33:15 +03:00 committed by Jürgen Buchmüller
parent ed051e623e
commit abc2cb8eac
No known key found for this signature in database
GPG key ID: 6764EC32352D0647
2 changed files with 37 additions and 0 deletions

View file

@ -3337,3 +3337,5 @@ libfifechan_opengl.so.0.1.4 fifechan-0.1.4_1
libpolyclipping.so.22 clipper-6.4.2_1
libSoapySDR.so.0.6 SoapySDR-0.6.1_1
libeditorconfig.so.0 editorconfig-0.12.2_1
libkid3-core.so.3.6.0 kid3-3.6.0_1
libkid3-gui.so.3.6.0 kid3-3.6.0_1

35
srcpkgs/kid3/template Normal file
View file

@ -0,0 +1,35 @@
# Template file for 'kid3'
pkgname=kid3
version=3.6.0
revision=1
build_style=cmake
build_options="KDE mp3 mp4 flac vorbis taglib chromaprint"
build_options_default="mp3 mp4 flac vorbis taglib chromaprint"
desc_option_KDE="Enable KDE support"
desc_option_chromaprint="Enable FFMPEG chromaprint support"
desc_option_flac="Enable FLAC support"
desc_option_mp3="Enable MP3 support"
desc_option_mp4="Enable MP4 support"
desc_option_taglib="Enable taglib support"
desc_option_vorbis="Enable Vorbis support"
configure_args="-DWITH_QT5=ON -DWITH_APPS='CLI;$(vopt_if KDE KDE Qt)'
-DWITH_DOCBOOKDIR=/usr/share/xsl/docbook -DWITH_FLAC=$(vopt_if flac ON OFF)
-DWITH_ID3LIB=$(vopt_if mp3 ON OFF) -DWITH_MP4V2=$(vopt_if mp4 ON OFF)
-DWITH_VORBIS=$(vopt_if vorbis ON OFF) -DWITH_TAGLIB=$(vopt_if taglib ON OFF)
-DWITH_CHROMAPRINT=$(vopt_if chromaprint 'ON -DWITH_FFMPEG=ON' OFF)"
hostmakedepends="pkg-config python3 libxslt $(vopt_if KDE extra-cmake-modules)"
makedepends="qt5-declarative-devel qt5-multimedia-devel qt5-tools-devel docbook-xsl
readline-devel $(vopt_if KDE kio-devel) $(vopt_if vorbis libvorbis-devel)
$(vopt_if mp4 libmp4v2-devel) $(vopt_if chromaprint 'chromaprint-devel ffmpeg-devel')
$(vopt_if mp3 id3lib-devel) $(vopt_if flac libflac-devel) $(vopt_if taglib taglib-devel)"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="MP3, Ogg/Vorbis and FLAC tag editor"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="GPL-2"
homepage="https://kid3.sourceforge.io"
distfiles="${SOURCEFORGE_SITE}/kid3/kid3-${version}.tar.gz"
checksum=779c19ee274707cc4b115d8cc61c23dd1a3a4e6c7beabf9870a311966f4967cf
if [ $CROSS_BUILD ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools"
fi