freebsd-ports/audio/amarok/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

92 lines
2.7 KiB
Makefile

PORTNAME= amarok
DISTVERSIONPREFIX= v
DISTVERSION= 2.9.71
PORTREVISION= 5
CATEGORIES= audio kde
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE music player
WWW= https://amarok.kde.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libfftw3.so:math/fftw3 \
liblastfm5.so:audio/liblastfm-qt5 \
libqjson-qt5.so:devel/qjson \
libtag.so:audio/taglib \
libtag-extras.so:audio/taglib-extras \
liblz4.so:archivers/liblz4
USES= cmake compiler:c++11-lang cpe desktop-file-utils \
kde:5 mysql:client,embedded pkgconfig qca qt:5 shebangfix ssl xorg
USE_QT= core concurrent declarative dbus gui location network phonon4 \
quickcontrols2 script scripttools sql svg webchannel \
webkit widgets xml \
buildtools:build qmake:build testlib:build
USE_KDE= archive auth attica bookmarks codecs config configwidgets \
completion coreaddons crash dbusaddons dnssd globalaccel \
guiaddons i18n iconthemes itemviews jobwidgets kdeclarative \
kcmutils kio kirigami2 newstuff notifications notifyconfig \
package parts service solid sonnet texteditor textwidgets \
threadweaver wallet widgetsaddons windowsystem xmlgui \
doctools:build ecm:build
USE_XORG= ice sm x11 xext
USE_LDCONFIG= yes
CPE_VENDOR= kde
KDE_INVENT= 3e11ccdd1417e70486eaaa84d8475182eec44c20 multimedia
CONFIGURE_ENV= MYSQL_DIR=${LOCALBASE}
SHEBANG_FILES= src/kconf_update/amarok-2.4.1-tokens_syntax_update.pl
CMAKE_ARGS= -DOPENSSL_ROOT_DIR=${OPENSSLBASE}
CMAKE_ON= WITH_DESKTOP_UI
CMAKE_OFF= WITH_FFmpeg
BROKEN_sparc64= does not build (GCC-related error)
OPTIONS_DEFINE= IPOD MP3TUNES MTP QTWEBENGINE
OPTIONS_DEFAULT= IPOD MP3TUNES MTP
OPTIONS_DEFAULT_amd64= QTWEBENGINE
OPTIONS_DEFAULT_i386= QTWEBENGINE
OPTIONS_SUB= yes
IPOD_DESC= Apple iPod support
IPOD_LIB_DEPENDS= libgpod.so:audio/libgpod \
libimobiledevice-1.0.so:comms/libimobiledevice \
libplist-2.0.so:devel/libplist
IPOD_USE= GNOME=gdkpixbuf2,glib20
IPOD_USES= gnome
IPOD_CMAKE_BOOL= WITH_IPOD
MP3TUNES_DESC= MP3tunes support
MP3TUNES_LIB_DEPENDS= libloudmouth-1.so:net-im/loudmouth \
libcurl.so:ftp/curl
MP3TUNES_LIB_DEPENDS_OFF= libgcrypt.so:security/libgcrypt
MP3TUNES_USE= GNOME=glib20,libxml2
MP3TUNES_USES= gnome
MP3TUNES_CMAKE_BOOL= WITH_MP3Tunes
MP3TUNES_CMAKE_BOOL_OFF= WITH_Libgcrypt
MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp
MTP_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Mtp
QTWEBENGINE_DESC= Add dependency on qt5-webengine
QTWEBENGINE_USE= qt=webengine
QTWEBENGINE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngine
post-patch:
@${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \
${WRKSRC}/cmake/modules/FindLoudmouth.cmake
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
.include <bsd.port.mk>