mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Update to 2.0
Add options Add licence PR: ports/160761 Submitted by: Veniamin Gvozdikov <g.veniamin at googlemail.com>
This commit is contained in:
parent
33d7e42899
commit
c45b80861d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282575
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= kid3
|
||||
PORTVERSION= 1.6
|
||||
PORTVERSION= 2.0
|
||||
CATEGORIES= audio kde
|
||||
MASTER_SITES= SF
|
||||
PKGNAMESUFFIX= -kde4
|
||||
@ -14,13 +14,9 @@ PKGNAMESUFFIX= -kde4
|
||||
MAINTAINER= makc@FreeBSD.org
|
||||
COMMENT= MP3/Ogg/FLAC tag editor for KDE
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
|
||||
LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \
|
||||
FLAC.10:${PORTSDIR}/audio/flac \
|
||||
ogg.7:${PORTSDIR}/audio/libogg \
|
||||
vorbis.4:${PORTSDIR}/audio/libvorbis \
|
||||
tunepimp.5:${PORTSDIR}/audio/libtunepimp \
|
||||
mp4v2.10:${PORTSDIR}/multimedia/mp4v2
|
||||
|
||||
USE_KDE4= kdelibs kdeprefix kdehier automoc4
|
||||
USE_QT_VER= 4
|
||||
@ -30,7 +26,56 @@ USE_CMAKE= yes
|
||||
USE_GETTEXT= yes
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
CMAKE_ARGS+= -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" \
|
||||
-DCMAKE_REQUIRED_LIBRARIES:STRING="${PTHREAD_LIBS}"
|
||||
OPTIONS= FLAC "Support for FLAC files" on \
|
||||
ID3LIB "Support for mp3 files" on \
|
||||
MP4V2 "Support for mp4 files" on \
|
||||
VORBIS "Support for Ogg/Vorbis files" on \
|
||||
TAGLIB "Support for various audio formats" on \
|
||||
TUNEPIMP "Support for MusicBrainz service" on
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITHOUT_FLAC)
|
||||
CMAKE_ARGS+= -DWITH_FLAC=OFF
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_FLAC=ON
|
||||
LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_ID3LIB)
|
||||
CMAKE_ARGS+= -DWITH_ID3LIB=OFF
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_ID3LIB=ON
|
||||
LIB_DEPENDS+= id3-3.8.3:${PORTSDIR}/audio/id3lib
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_MP4V2)
|
||||
CMAKE_ARGS+= -DWITH_MP4V2=OFF
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_MP4V2=ON
|
||||
LIB_DEPENDS+= mp4v2.10:${PORTSDIR}/multimedia/mp4v2
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_VORBIS)
|
||||
CMAKE_ARGS+= -DWITH_VORBIS=OFF
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_VORBIS=ON
|
||||
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis \
|
||||
ogg.7:${PORTSDIR}/audio/libogg
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_TAGLIB)
|
||||
CMAKE_ARGS+= -DWITH_TAGLIB=OFF
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_TAGLIB=ON
|
||||
LIB_DEPENDS+= tag.1:${PORTSDIR}/audio/taglib
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_TUNEPIMP)
|
||||
CMAKE_ARGS+= -DWITH_TUNEPIMP=OFF
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_TUNEPIMP=ON
|
||||
LIB_DEPENDS+= tunepimp.5:${PORTSDIR}/audio/libtunepimp
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (kid3-1.6.tar.gz) = 974208d5545a9a2bb192dc1a3cfaa64f2269d4f7001d150255ce3f3a3f6723c2
|
||||
SIZE (kid3-1.6.tar.gz) = 1478393
|
||||
SHA256 (kid3-2.0.tar.gz) = bdf4ff4f929d7ad6d5b0a6b2661e76ac83216ae94d84a7886f68011c3b7110cd
|
||||
SIZE (kid3-2.0.tar.gz) = 804587
|
||||
|
Loading…
Reference in New Issue
Block a user