Hi, Thanks for the hints. I hope I got everything fixed.
mfg Tobias On Wednesday 18. February 2015 00:47:50 Raphael Kubo da Costa wrote: > "T.C.Berner" <[email protected]> writes: > > > Hi, > > > > yes, you can find the file here: > > https://code.google.com/p/cantata/wiki/Downloads?tm=2 > > I used the output generated by 'fetch -v' to create the url. > > But it seems to be changing alot. > > Here's what worked for me: > > MASTER_SITES= > https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60UktwaTRMTjRIUW8&dummy= > plus > FETCH_BEFORE_ARGS= -o ${DISTFILES} > > In addition to that: > - There are trailing white spaces in some of the files there, can you > please remove them? > - Try running portlint, there are several minor things that can be > easily fixed in the Makefile. > - `make package' fails: > pkg-static: cannot parse keyword: cannot open file > /usr/ports/Keywords/commentlib/cantata/cantata-replaygain.ucl: No such file > or directory > pkg-static: unknown keyword commentlib/cantata/cantata-replaygain: > @commentlib/cantata/cantata-replaygain > _______________________________________________ > kde-freebsd mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/kde-freebsd > See also http://freebsd.kde.org/ for latest information
Index: audio/cantata/Makefile =================================================================== --- audio/cantata/Makefile (Revision 0) +++ audio/cantata/Makefile (Arbeitskopie) @@ -0,0 +1,74 @@ +# $FreeBSD$ + +PORTNAME= cantata +PORTVERSION= 1.5.1 +CATEGORIES= audio kde +MASTER_SITES= https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60UktwaTRMTjRIUW8&dummy= + +MAINTAINER= [email protected] +COMMENT= Graphical client for MPD using Qt5 + +LICENSE= GPLv3 + +USE_KDE4= oxygen +USE_QT5= buildtools_build concurrent core dbus gui \ + network qmake_build linguisttools svg widgets xml + +FETCH_BEFORE_ARGS= -o ${DISTFILES} + +CMAKE_ARGS= -DENABLE_QT5:BOOL=TRUE \ + -DENABLE_KDE:BOOL=FALSE \ + -DLCONVERT_EXECUTABLE:STRING=${QT_BINDIR}/lconvert \ + -DLRELEASE_EXECUTABLE:STRING=${QT_BINDIR}/lrelease + +USES= cmake:outsource pkgconfig tar:bzip2 +USE_LDCONFIG= yes + +INSTALLS_ICONS= yes + +OPTIONS_DEFINE= CDDB CDPARANOIA FFMPEG MPG123 MTP MUSICBRAINZ TAGLIB +OPTIONS_DEFAULT= TAGLIB +OPTIONS_SUB= yes + +CDDB_LIB_DEPENDS= libcddb.so:${PORTSDIR}/audio/libcddb +CDDB_CMAKE_ON= -DENABLE_CDDB:BOOL=TRUE +CDDB_CMAKE_OFF= -DENABLE_CDDB:BOOL=FALSE + +CDPARANOIA_LIB_DEPENDS= libcdda_interface.so:${PORTSDIR}/audio/cdparanoia +CDPARANOIA_CMAKE_ON= -DENABLE_CDPARANOIA:BOOL=TRUE +CDPARANOIA_CMAKE_OFF= -DENABLE_CDPARANOIA:BOOL=FALSE + +FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg +FFMPEG_CMAKE_ON= -DENABLE_FFMPEG:BOOL=TRUE +FFMPEG_CMAKE_OFF= -DENABLE_FFMPEG:BOOL=FALSE + +MPG123_LIB_DEPENDS= libmpg123.so:${PORTSDIR}/audio/mpg123 +MPG123_CMAKE_ON= -DENABLE_MPG123:BOOL=TRUE +MPG123_CMAKE_OFF= -DENABLE_MPG123:BOOL=FALSE + +MTP_LIB_DEPENDS= libmtp.so:${PORTSDIR}/multimedia/libmtp +MTP_CMAKE_ON= -DENABLE_MTP:BOOL=TRUE +MTP_CMAKE_OFF= -DENABLE_MTP:BOOL=FALSE + +MUSICBRAINZ_LIB_DEPENDS=libmusicbrainz5.so:${PORTSDIR}/audio/libmusicbrainz5 +MUSICBRAINZ_CMAKE_ON= -DENABLE_MUSICBRAINZ:BOOL=TRUE +MUSICBRAINZ_CMAKE_OFF= -DENABLE_MUSICBRAINZ:BOOL=FALSE +MUSICBRAINZ_DESC= Access MusicBrainz database for metadata lookup + +TAGLIB_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib\ + libtag-extras.so:${PORTSDIR}/audio/taglib-extras +TAGLIB_CMAKE_ON= -DENABLE_TAGLIB_EXTRAS:BOOL=TRUE \ + -DENABLE_TAGLIB:BOOL=TRUE +TAGLIB_CMAKE_OFF= -DENABLE_TAGLIB_EXTRAS:BOOL=FALSE \ + -DENABLE_TAGLIB:BOOL=FALSE +TAGLIB_DESC= Reading and editing Meta-Data of audio files + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MTAGLIB} && ( ${PORT_OPTIONS:MFFMPEG} || ${PORT_OPTIONS:MMPG123} ) +PLIST_SUB+= REPLAYGAIN="" +.else +PLIST_SUB+= REPLAYGAIN="@comment " +.endif + +.include <bsd.port.mk> Index: audio/cantata/distinfo =================================================================== --- audio/cantata/distinfo (Revision 0) +++ audio/cantata/distinfo (Arbeitskopie) @@ -0,0 +1,2 @@ +SHA256 (cantata-1.5.1.tar.bz2) = 57173bdd0033a2c0c2829a6e05f7579b0f13ae7794d843167c013e1c971dfe78 +SIZE (cantata-1.5.1.tar.bz2) = 1986772 Index: audio/cantata/files/patch-replaygain_ffmpeginput.cpp =================================================================== --- audio/cantata/files/patch-replaygain_ffmpeginput.cpp (Revision 0) +++ audio/cantata/files/patch-replaygain_ffmpeginput.cpp (Arbeitskopie) @@ -0,0 +1,10 @@ +--- replaygain/ffmpeginput.cpp.orig 2015-01-21 18:44:15 UTC ++++ replaygain/ffmpeginput.cpp +@@ -8,7 +8,6 @@ + */ + + /* See LICENSE file for copyright and license details. */ +-#define _POSIX_C_SOURCE 1 + #ifdef __cplusplus + #define __STDC_CONSTANT_MACROS + #ifdef _STDINT_H Index: audio/cantata/files/patch-replaygain_mpg123input.cpp =================================================================== --- audio/cantata/files/patch-replaygain_mpg123input.cpp (Revision 0) +++ audio/cantata/files/patch-replaygain_mpg123input.cpp (Arbeitskopie) @@ -0,0 +1,10 @@ +--- replaygain/mpg123input.cpp.orig 2015-01-21 18:46:32 UTC ++++ replaygain/mpg123input.cpp +@@ -8,7 +8,6 @@ + */ + + /* See LICENSE file for copyright and license details. */ +-#define _POSIX_C_SOURCE 1 + #ifdef __cplusplus + extern "C" { + #endif Index: audio/cantata/pkg-descr =================================================================== --- audio/cantata/pkg-descr (Revision 0) +++ audio/cantata/pkg-descr (Arbeitskopie) @@ -0,0 +1,3 @@ +Cantata is a graphical client for MPD. + +WWW: https://code.google.com/p/cantata/ Index: audio/cantata/pkg-plist =================================================================== --- audio/cantata/pkg-plist (Revision 0) +++ audio/cantata/pkg-plist (Arbeitskopie) @@ -0,0 +1,43 @@ +bin/cantata +%%REPLAYGAIN%%lib/cantata/cantata-replaygain +%%TAGLIB%%lib/cantata/cantata-tags +share/applications/cantata.desktop +share/cantata/config/lyrics_providers.xml +share/cantata/config/podcast_directories.xml +share/cantata/config/scrobblers.xml +share/cantata/config/tag_fixes.xml +share/cantata/config/weblinks.xml +share/cantata/icons/bbc.svg +share/cantata/icons/cbc.svg +share/cantata/icons/npr.svg +share/cantata/icons/podcasts.png +share/cantata/icons/soundcloud.png +share/cantata/icons/stream.png +share/cantata/mpd/mpd.conf.template +share/cantata/scripts/cantata-dynamic +share/cantata/scripts/cantata-remote +share/cantata/themes/adwaita.css +share/cantata/themes/ambiance-dt.css +share/cantata/themes/ambiance.css +share/cantata/themes/elementary.css +share/cantata/themes/faience.css +share/cantata/themes/mint-x.css +share/cantata/themes/radiance-dt.css +share/cantata/themes/radiance.css +share/cantata/translations/cantata_cs.qm +share/cantata/translations/cantata_de.qm +share/cantata/translations/cantata_en_GB.qm +share/cantata/translations/cantata_es.qm +share/cantata/translations/cantata_fr.qm +share/cantata/translations/cantata_hu.qm +share/cantata/translations/cantata_ko.qm +share/cantata/translations/cantata_pl.qm +share/cantata/translations/cantata_ru.qm +share/cantata/translations/cantata_zh_CN.qm +share/icons/hicolor/16x16/apps/cantata.png +share/icons/hicolor/22x22/apps/cantata.png +share/icons/hicolor/24x24/apps/cantata.png +share/icons/hicolor/32x32/apps/cantata.png +share/icons/hicolor/48x48/apps/cantata.png +share/icons/hicolor/64x64/apps/cantata.png +share/icons/hicolor/scalable/apps/cantata.svg
_______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
