pkgsrc/audio/libcanberra/Makefile

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2011/11/01 06:11:52 sbd Exp $
DISTNAME= libcanberra-0.26
PKGREVISION= 3
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
PKG_DESTDIR_SUPPORT= user-destdir
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
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"