summaryrefslogtreecommitdiff
path: root/multimedia/swfdec/Makefile
blob: 989599542067b8be6a433c8b76ea0bd0521fc3e5 (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
# $NetBSD: Makefile,v 1.40 2013/06/04 22:16:50 tron Exp $
#

DISTNAME=		swfdec-0.8.4
PKGREVISION=		26
CATEGORIES=		multimedia
MASTER_SITES=		http://swfdec.freedesktop.org/download/swfdec/0.8/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://swfdec.freedesktop.org/
COMMENT=		Library for rendering Flash(R) animations and games

SUPERSEDES=		swfdec-gtk2-[0-9]*

USE_TOOLS+=		pkg-config
GNU_CONFIGURE=		yes
USE_PKGLOCALEDIR=	yes
USE_LIBTOOL=		yes

PKGCONFIG_OVERRIDE=	swfdec-0.8.pc.in
PKGCONFIG_OVERRIDE=	swfdec-gtk-0.8.pc.in

CONFIGURE_ARGS+=	--enable-gtk

PKG_OPTIONS_VAR=	swfdec
PKG_SUPPORTED_OPTIONS=	pulseaudio
PKG_SUGGESTED_OPTIONS=	pulseaudio

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mpulseaudio)
CONFIGURE_ARGS+=	--with-audio=pulse
.include "../../audio/pulseaudio/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--with-audio=none
.endif

.include "../../devel/liboil/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
.include "../../net/libsoup24/buildlink3.mk"
.include "../../textproc/gtk-doc/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"