summaryrefslogtreecommitdiff
path: root/audio/amarok-kde3/Makefile
blob: 1515f5323e2eb70946b3ca1b2eda0da7b3d4a4de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# $NetBSD: Makefile,v 1.8 2011/01/13 13:36:57 wiz Exp $

DISTNAME=		amarok-${VERSION}
VERSION=		1.4.10
PKGREVISION=		14
CATEGORIES=		audio kde
MASTER_SITES=		${MASTER_SITE_KDE:=amarok/${VERSION}/src/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://amarok.kde.org/
COMMENT=		KDE3 audio player

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=		unzip-[0-9]*:../../archivers/unzip

USE_TOOLS+=		gmake pkg-config msgfmt
USE_LANGUAGES=		c c++
GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes

CONFIGURE_ARGS+=	--without-nmm
CONFIGURE_ARGS+=	--without-mas
CONFIGURE_ARGS+=	--without-helix
CONFIGURE_ARGS+=	--with-mp4v2
CONFIGURE_ARGS+=	--with-mp4v2-dir=${BUILDLINK_PREFIX.libmp4v2}

LIBS+=			${LIBOSSAUDIO}

PYTHON_PATCH_SCRIPTS= \
	amarok/src/scripts/common/Publisher.py \
	amarok/src/scripts/common/Zeroconf.py \
	amarok/src/scripts/playlist2html/Playlist.py \
	amarok/src/scripts/webcontrol/Playlist.py \
	amarok/src/scripts/playlist2html/PlaylistServer.py \
	amarok/src/scripts/playlist2html/playlist2html.py \
	amarok/src/scripts/templates/python_qt_template.py \
	amarok/src/scripts/webcontrol/Globals.py \
	amarok/src/scripts/playlist2html/Playlist.py \
	amarok/src/scripts/webcontrol/Playlist.py \
	amarok/src/scripts/webcontrol/RequestHandler.py \
	amarok/src/scripts/webcontrol/WebControl.py \
	amarok/src/scripts/webcontrol/WebPublisher.py
REPLACE_RUBY= \
	amarok/src/amarok_proxy.rb \
	amarok/src/mediadevice/daap/amarok_daapserver.rb \
	amarok/src/scripts/lyrics_astraweb/lyrics_astraweb.rb \
	amarok/src/scripts/lyrics_lyrc/lyrics_lyrc.rb \
	amarok/src/scripts/ruby_debug/debug.rb \
	amarok/src/scripts/score_default/score_default.rb \
	amarok/src/scripts/score_impulsive/score_impulsive.rb \
	amarok/src/scripts/templates/amarok.rb \
	amarok/src/scripts/templates/ruby_qt_template.rb

SUBST_CLASSES+=		dotkdedir
SUBST_STAGE.dotkdedir=	post-patch
SUBST_MESSAGE.dotkdedir=Replacing .kde/share with .kde/share/kde
SUBST_FILES.dotkdedir= \
	amarok/src/scripts/playlist2html/Playlist.py \
	amarok/src/scripts/webcontrol/Playlist.py \
	doc/*/config.docbook doc/*/faq.docbook doc/*/advanced.docbook
SUBST_SED.dotkdedir=	-e 's,\.kde/share/,.kde/share/kde/,'

BUILDLINK_API_DEPENDS.kdebase+=	kdebase>=3.3.0
BUILDLINK_API_DEPENDS.kdelibs+=	kdelibs>=3.3.0
BUILDLINK_API_DEPENDS.taglib+=	taglib>=1.4

.include "options.mk"

.include "../../audio/libtunepimp/buildlink3.mk"
.include "../../audio/libvisual/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../audio/taglib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/ruby/buildlink3.mk"
.include "../../lang/ruby/replace.mk"
.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../multimedia/kdemultimedia3/buildlink3.mk"
.include "../../multimedia/libmp4v2/buildlink3.mk"
.include "../../multimedia/xine-lib/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"