summaryrefslogtreecommitdiff
path: root/multimedia/swfdec/Makefile
blob: b1a4e021a7c63482c39a421675e3430d69d51fc6 (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.72 2018/03/12 11:15:41 wiz Exp $
#

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

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://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/libsoup/buildlink3.mk"
.include "../../textproc/gtk-doc/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"