[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / amarok

File: [cvs.NetBSD.org] / pkgsrc / audio / amarok / Makefile (download)

Revision 1.80, Tue Mar 16 19:28:50 2010 UTC (9 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.79: +12 -10 lines

Update to 2.3.0, switch to mysql51-server for providing the embedded
mysql server.

Changes:

Team Amarok is proud to announce Amarok 2.3.0. It contains many
improvements and bugfixes over Amarok 2.2.2 as well as many new
features. Areas such as podcast support and saved playlists have
seen huge improvements, as has the support for USB mass storage
devices (including generic MP3 players).

With large parts of Amarok 2 becoming quite mature, it was also
time to start looking forward again. Therefore, this release also
contains a number of new features of a slightly more experimental
nature. These include a new main toolbar and a rewritten and much
simpler file browser. These parts are brand new and based on user
feedback, and they will change and improve over the next few
releases. The old slim toolbar is still available should you prefer
that, but we encourage you to try out the new toolbar and tell us
what you think. The file browser's look and feel now aligns more
closely with the rest of Amarok with improvements such as breadcrumb
navigation, and it is now focused on being a way to find and play
music instead of being a multi-purpose file manager.

The context menu of tracks in your playlist now offers a "show in
media sources" option, making it easier to find the same track
again in the collection browser for editing, moving or deleting
the file.

Podcasts have received a configuration dialog allowing you to change
the update interval as well as the location to store new downloaded
episodes. Podcasts and saved playlists are now also grouped by
source, and a merged view is available just like in your local
collection - perfect for those that don't care where their music
is coming from but simply want to listen to it. Now, when a new
source of playlists or podcasts becomes available, Amarok will
switch off merged view and show a collapsible list of your new
listening sources.

The Wikipedia applet now looks better and links have been fixed.
Internal links to other pages on Wikipedia will display in the
applet, and external links open a browser window.

In short, Team Amarok has been focusing hard on furthering our
long-term goal: making Amarok the best tool for immersing yourself
in music, no matter where it comes from.

# $NetBSD: Makefile,v 1.80 2010/03/16 19:28:50 wiz Exp $
#

DISTNAME=	amarok-${VERS}
VERS=		2.3.0
CATEGORIES=	audio multimedia
#MASTER_SITES=	http://download.kde.org/unstable/amarok/${VERS}/src/ \
#		ftp://gd.tuwien.ac.at/kde/unstable/amarok/${VERS}/src/
MASTER_SITES=	http://download.kde.org/stable/amarok/${VERS}/src/ \
		ftp://gd.tuwien.ac.at/kde/stable/amarok/${VERS}/src/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	wiz@NetBSD.org
HOMEPAGE=	http://amarok.kde.org/
COMMENT=	KDE4 audio player
LICENSE=	gnu-gpl-v2 AND gnu-fdl-v1.2 AND gnu-lgpl-v2.1

BUILD_DEPENDS+=	automoc4>=0.9.83:../../devel/automoc4
DEPENDS+=	moodbar-[0-9]*:../../audio/moodbar

PKG_DESTDIR_SUPPORT=	user-destdir

USE_CMAKE=	yes
USE_LANGUAGES=	c c++
USE_TOOLS+=	msgfmt pkg-config

CMAKE_ARGS+=	-DMYSQL_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.mysql-client}/include/mysql
CMAKE_ARGS+=	-DMYSQL_EMBEDDED_LIBRARIES:PATH=${BUILDLINK_PREFIX.mysql-server}/lib/mysql/libmysqld.a
CMAKE_ARGS+=	-DMYSQL_EMBEDDED_FOUND:BOOL=TRUE
CMAKE_ARGS+=	-DHAVE_MYSQL_OPT_EMBEDDED_CONNECTION:BOOL=TRUE
CMAKE_ARGS+=	-DMYSQL_LIBRARIES:PATH=${BUILDLINK_PREFIX.mysql-client}/lib/mysql/libmysqlclient.so

SUBST_CLASSES+=		mysql
SUBST_STAGE.mysql=	post-patch
SUBST_MESSAGE.mysql=	Fixup paths for MySQL embedded
SUBST_FILES.mysql=	cmake/modules/FindMySQLAmarok.cmake
SUBST_FILES.mysql+=	src/collection/sqlcollection/mysqlecollection/CMakeLists.txt
SUBST_SED.mysql=	-e s:/opt/mysqle/:${BUILDLINK_PREFIX.mysql-server}:
SUBST_SED.mysql+=	-e s:@@WLR@@:${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-server}/lib/mysql:

.include "options.mk"

.include "../../audio/liblastfm/buildlink3.mk"
BUILDLINK_API_DEPENDS.taglib+=	taglib>=1.6nb1
.include "../../audio/taglib/buildlink3.mk"
.include "../../audio/taglib-extras/buildlink3.mk"
BUILDLINK_API_DEPENDS.mysql-client+=	mysql-client>=5.1.44nb1
.include "../../databases/mysql51-client/buildlink3.mk"
BUILDLINK_API_DEPENDS.mysql-server+=	mysql-server>=5.1.44nb1
.include "../../databases/mysql51-server/buildlink3.mk"
.include "../../devel/qtscriptgenerator/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../meta-pkgs/kde4/kde4.mk"
.include "../../multimedia/kdemultimedia4/buildlink3.mk"
.include "../../security/qca2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
# for plasma
.include "../../x11/kdebase-workspace4/buildlink3.mk"
BUILDLINK_API_DEPENDS.kdelibs+=	kdelibs4>=4.3.0
.include "../../x11/kdelibs4/buildlink3.mk"
BUILDLINK_API_DEPENDS.qt4-libs+=	qt4-libs>=4.5.0
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"