1 |
|
# $MidnightBSD$ |
2 |
|
|
3 |
|
PORTNAME= libcanberra |
4 |
< |
PORTVERSION= 0.28 |
5 |
< |
PORTREVISION= 4 |
4 |
> |
PORTVERSION= 0.30 |
5 |
> |
PORTREVISION= 0 |
6 |
|
CATEGORIES= audio devel |
7 |
< |
MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/ |
7 |
> |
MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/ \ |
8 |
> |
http://pkgs.fedoraproject.org/repo/pkgs/libcanberra/libcanberra-0.30.tar.xz/34cb7e4430afaf6f447c4ebdb9b42072/ |
9 |
|
|
10 |
|
MAINTAINER= ports@MidnightBSD.org |
11 |
|
COMMENT= Implementation of the Freedesktop sound theme spec |
16 |
|
LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ |
17 |
|
libltdl.so:${PORTSDIR}/devel/libltdl |
18 |
|
|
19 |
< |
USES= gmake libtool pathfix pkgconfig |
20 |
< |
USE_GNOME= gnomeprefix gtk20 gconf2 |
19 |
> |
USES= gmake libtool pathfix pkgconfig tar:xz |
20 |
> |
USE_GNOME= gnomeprefix gtk20 |
21 |
|
USE_LDCONFIG= yes |
22 |
|
GNU_CONFIGURE= yes |
23 |
|
CONFIGURE_ARGS= --disable-lynx --disable-tdb --disable-alsa |
25 |
|
LDFLAGS+= -L${LOCALBASE}/lib |
26 |
|
INSTALL_TARGET= install-strip |
27 |
|
|
28 |
< |
.if !defined(SLAVEPORT) |
28 |
< |
GCONF_SCHEMAS= libcanberra.schemas |
29 |
< |
.else |
28 |
> |
.if defined(SLAVEPORT) |
29 |
|
OPTIONS_DEFINE= PULSEAUDIO GSTREAMER |
30 |
|
.endif |
31 |
|
|
49 |
|
.endif |
50 |
|
|
51 |
|
.if ${PORT_OPTIONS:MGSTREAMER} |
52 |
< |
USE_GSTREAMER= yes |
52 |
> |
USE_GSTREAMER1= yes |
53 |
|
PLIST_SUB+= GSTREAMER="" |
54 |
|
.else |
55 |
|
CONFIGURE_ARGS+=--disable-gstreamer |