Update to cantata 2.0.1.

Switch to Qt5 by default, and use github as upstream.
This commit is contained in:
landry 2017-03-27 14:41:23 +00:00
parent bb4d60bf7e
commit d7ae49b98f
3 changed files with 44 additions and 15 deletions

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.3 2016/06/12 05:44:46 jca Exp $
# $OpenBSD: Makefile,v 1.4 2017/03/27 14:41:23 landry Exp $
COMMENT = Qt-based MPD client
DISTNAME = cantata-1.5.2
DISTNAME = cantata-2.0.1
CATEGORIES = audio
HOMEPAGE = https://github.com/cdrummond/cantata
EXTRACT_SUFX = .tar.bz2
MASTER_SITES = https://rhaalovely.net/stuff/
GH_TAGNAME= v2.0.1
GH_ACCOUNT= CDrummond
GH_PROJECT= cantata
# GPLv2 only
PERMIT_PACKAGE_CDROM = Yes
@ -16,7 +16,7 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = devel/gettext \
gcc4 \
devel/cmake \
x11/qt4
x11/qt5
# archs where qt4 builds
MODGCC4_ARCHS = amd64 i386 powerpc sparc64
@ -29,17 +29,19 @@ LIB_DEPENDS += audio/mpg123 \
audio/libcddb \
audio/libmusicbrainz5 \
audio/taglib \
x11/qt5/qtmultimedia \
x11/qt5/qtsvg \
devel/libmtp \
devel/qjson \
graphics/ffmpeg
WANTLIB += ICE QtDBus QtGui QtNetwork QtSvg QtXml SM X11 Xext
WANTLIB += avcodec avformat avutil c cdda_interface cdda_paranoia
WANTLIB += cddb m mpg123 mtp musicbrainz5 pthread qjson speexdsp
WANTLIB += tag z
WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Multimedia
WANTLIB += Qt5Network Qt5Sql Qt5Svg Qt5Widgets Qt5Xml avcodec
WANTLIB += avformat avutil c cdda_interface cdda_paranoia cddb
WANTLIB += m mpg123 mtp musicbrainz5 pthread speexdsp tag z
CONFIGURE_ARGS += -DCMAKE_INSTALL_PREFIX:Path=${PREFIX} \
-DENABLE_LIBVLC=OFF \
-DLRELEASE_EXECUTABLE:String=${MODQT_LRELEASE} \
-DLCONVERT_EXECUTABLE:String=lconvert4
-DLCONVERT_EXECUTABLE:String=${LOCALBASE}/lib/qt5/bin/lconvert
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (cantata-1.5.2.tar.bz2) = TemFt0WXxMOTaYJDfqVicR0Iw30xi2HgT1wHr1X1LF8=
SIZE (cantata-1.5.2.tar.bz2) = 1994717
SHA256 (cantata-2.0.1.tar.gz) = KU/JaUTdK7YFZSWkmunbGx2ht5AqxjKG7WwBYiuOO1I=
SIZE (cantata-2.0.1.tar.gz) = 2711833

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/01/12 20:44:29 landry Exp $
@comment $OpenBSD: PLIST,v 1.2 2017/03/27 14:41:23 landry Exp $
@bin bin/cantata
lib/cantata/
@bin lib/cantata/cantata-replaygain
@ -11,8 +11,35 @@ share/cantata/config/podcast_directories.xml
share/cantata/config/scrobblers.xml
share/cantata/config/tag_fixes.xml
share/cantata/config/weblinks.xml
share/cantata/fonts/
share/cantata/fonts/fontawesome-4.3.0.ttf
share/cantata/icons/
share/cantata/icons/bbc.svg
share/cantata/icons/cantata/
share/cantata/icons/cantata/AUTHORS
share/cantata/icons/cantata/LICENSE
share/cantata/icons/cantata/index.theme
share/cantata/icons/cantata/svg/
share/cantata/icons/cantata/svg/audio-x-generic.svg
share/cantata/icons/cantata/svg/cantata.svg
share/cantata/icons/cantata/svg/drive-removable-media-usb-pendrive.svg
share/cantata/icons/cantata/svg/dynamic-playlist.svg
share/cantata/icons/cantata/svg/folder-downloads.svg
share/cantata/icons/cantata/svg/folder-temp.svg
share/cantata/icons/cantata/svg/fork.svg
share/cantata/icons/cantata/svg/information.svg
share/cantata/icons/cantata/svg/inode-directory.svg
share/cantata/icons/cantata/svg/multimedia-player.svg
share/cantata/icons/cantata/svg/network-server-database.svg
share/cantata/icons/cantata/svg/playlist.svg
share/cantata/icons/cantata/svg/preferences-desktop-keyboard.svg
share/cantata/icons/cantata/svg/preferences-other.svg
share/cantata/icons/cantata/svg/speaker.svg
share/cantata/icons/cantata/svg64/
share/cantata/icons/cantata/svg64/dialog-error.svg
share/cantata/icons/cantata/svg64/dialog-information.svg
share/cantata/icons/cantata/svg64/dialog-question.svg
share/cantata/icons/cantata/svg64/dialog-warning.svg
share/cantata/icons/cbc.svg
share/cantata/icons/npr.svg
share/cantata/icons/podcasts.png