summaryrefslogtreecommitdiff
path: root/audio/libcanberra/Makefile
blob: baf92b93e0be324ee00ce03e770d055b8c656bad (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
# $NetBSD: Makefile,v 1.31 2013/06/06 12:53:54 wiz Exp $

DISTNAME=	libcanberra-0.26
PKGREVISION=	14
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
LICENSE=	gnu-lgpl-v2.1

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

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

REPLACE_SH=		src/libcanberra-logout-sound.sh.in

CONFIGURE_ENV+=	ac_cv_lib_ltdl_lt_dladvise_init=yes

PLIST_VARS+=		oss

.include "options.mk"

#.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 "../../audio/libvorbis/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.if ${OSS_TYPE} != "none"
PLIST.oss=	yes
.endif
.include "../../mk/bsd.pkg.mk"