summaryrefslogtreecommitdiff
path: root/audio/libcanberra/Makefile
blob: f42a356041a94b9fe7615d6346943052be0efcaa (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.12 2010/11/15 22:56:16 abs Exp $
#

DISTNAME=	libcanberra-0.22
PKGREVISION=	4
CATEGORIES=	audio
MASTER_SITES=	http://0pointer.de/lennart/projects/libcanberra/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://0pointer.de/lennart/projects/libcanberra/
COMMENT=	Desktop event sound library

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config gmake
GCONF_SCHEMAS+=	libcanberra.schemas

PKGCONFIG_OVERRIDE+=	libcanberra-gtk.pc.in
PKGCONFIG_OVERRIDE+=	libcanberra.pc.in

SUBST_CLASSES+=		ltdlc
SUBST_SED.ltdlc=	-e "s,ltdlc,ltdl,"
SUBST_FILES.ltdlc=	configure
SUBST_MESSAGE.ltdlc=	Fixing libtool convenience library name.
SUBST_STAGE.ltdlc=	pre-configure

CONFIGURE_ENV+=	ac_cv_lib_ltdl_lt_dladvise_init=yes

# Workaround for Upstream Bug#562310.
# for more detail, see also PR#41475.
TOOLS_NOOP+=		gtkdoc-rebase

PLIST_VARS+=		oss

#.include "../../devel/libltdl/convenience.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.if ${OSS_TYPE} != "none"
PLIST.oss=	yes
.endif
.include "../../mk/bsd.pkg.mk"