1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/audio/amarok-kde4/Makefile
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00

82 lines
2.7 KiB
Makefile

# Created by: Markus Brueffer <markus@FreeBSD.org>
# $FreeBSD$
PORTNAME= amarok
PORTVERSION= 2.7.0
PORTREVISION= 6
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTNAME}/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE music player
LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib \
libtag-extras.so:${PORTSDIR}/audio/taglib-extras \
liblastfm.so:${PORTSDIR}/audio/liblastfm \
libofa.so:${PORTSDIR}/audio/libofa \
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
libqjson.so:${PORTSDIR}/devel/qjson \
libqca.so:${PORTSDIR}/devel/qca \
libdbus-1.so:${PORTSDIR}/devel/dbus
BUILD_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so.1.0.0:${PORTSDIR}/devel/qtscriptgenerator
RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so.1.0.0:${PORTSDIR}/devel/qtscriptgenerator \
${KDE4_PREFIX}/lib/kde4/kio_upnp_ms.so:${PORTSDIR}/net/kio-upnp-ms
LATEST_LINK= ${PORTNAME}-kde4
USE_KDE4= kdehier kdelibs kdeprefix libkcddb libkcompactdisc \
nepomuk-core runtime automoc4 strigi
USE_MYSQL= embedded
USE_QT4= corelib dbus designer gui network opengl \
phonon script sql svg webkit xml \
qmake_build moc_build rcc_build uic_build
USE_XORG= x11
USE_BZIP2= yes
USES= cmake pkgconfig shared-mime-info
USE_LDCONFIG= yes
BROKEN_sparc64= does not build (GCC-related error)
OPTIONS_DEFINE= AMAZON IPOD MP3TUNES MTP NLS
OPTIONS_DEFAULT=IPOD MP3TUNES MTP
OPTIONS_SUB= yes
AMAZON_DESC= Amazon MP3 store support via clamz
AMAZON_RUN_DEPENDS= clamz:${PORTSDIR}/net/clamz
IPOD_DESC= Apple iPod support
IPOD_LIB_DEPENDS= libgpod.so:${PORTSDIR}/audio/libgpod
IPOD_USE= GNOME=gdkpixbuf2,glib20
IPOD_CMAKE_OFF= -DWITH_IPOD:BOOL=Off
MP3TUNES_DESC= MP3tunes support
MP3TUNES_LIB_DEPENDS= libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth \
libcurl.so:${PORTSDIR}/ftp/curl
MP3TUNES_USE= GNOME=glib20,libxml2
MP3TUNES_CMAKE_OFF= -DWITH_MP3tunes:BOOL=Off
MTP_LIB_DEPENDS= libmtp.so:${PORTSDIR}/multimedia/libmtp
MTP_CMAKE_OFF= -DWITH_Mtp:BOOL=Off
NLS_USES= gettext
NLS_CMAKE_OFF= -DBUILD_po:BOOL=Off
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/cmake/modules/FindMySQLAmarok.cmake
@${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \
${WRKSRC}/cmake/modules/FindLoudmouth.cmake
# Avoid installing MIME types prior to install stage.
@${REINPLACE_CMD} -e '/XDG.*EXECUTABLE/ d' \
${WRKSRC}/utilities/amzdownloader/CMakeLists.txt
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
${INSTALL_DATA} ${WRKSRC}/utilities/amzdownloader/amzdownloader.xml \
${STAGEDIR}${PREFIX}/share/mime/packages
${INSTALL_SCRIPT} ${WRKSRC}/utilities/amzdownloader/amzdownloader.desktop \
${STAGEDIR}${PREFIX}/share/applications/kde4
.include <bsd.port.mk>