summaryrefslogtreecommitdiff
path: root/multimedia/kaffeine/Makefile
blob: 4e0230e9a8aa5b16b595e0c0c0c75a6494ef4437 (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
# $NetBSD: Makefile,v 1.11 2008/01/18 05:08:38 tnn Exp $
#

DISTNAME=	kaffeine-0.8.3
PKGREVISION=	7
CATEGORIES=	multimedia kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=kaffeine/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://kaffeine.sourceforge.net/
COMMENT=	Full featured Multimedia-Player for KDE

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

CONFIGURE_ARGS+=	--without-gstreamer
CONFIGURE_ARGS+=	--without-dpms
CONFIGURE_ARGS+=	--without-xinerama
CONFIGURE_ARGS+=	--without-dvb

BUILDLINK_FNAME_TRANSFORM.cdparanoia+=	-e "s|/cdparanoia/|/|g"

# Hardcoded paths for libdvdcss and win32-codecs
SUBST_CLASSES+=		path
SUBST_STAGE.path=	post-patch
SUBST_FILES.path=	kaffeine/src/instwizard.cpp
SUBST_SED.path=		-e "s|/usr/lib|${PREFIX}/lib|g"
SUBST_MESSAGE.path=	Fixing hardcoded paths.

.include "../../meta-pkgs/kde3/kde3.mk"

.include "../../audio/cdparanoia/buildlink3.mk"
.include "../../audio/lame/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../multimedia/xine-lib/buildlink3.mk"
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"

.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"