aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mate-media/Makefile
blob: 26cebfae8d7e228701014fc51a4a809d8466458f (plain) (blame)
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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mate-media
PORTVERSION=    1.8.0
CATEGORIES= audio mate
MASTER_SITES=   MATE
DIST_SUBDIR=    mate

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Multimedia applications for the MATE desktop

BUILD_DEPENDS=  itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=    libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra

PORTSCOUT=  limitw:1,even

USES=       gettext gmake libtool pathfix pkgconfig tar:xz
USE_MATE=   desktop panel
USE_GNOME=  glib20 gtk20 intlhack libxml2
USE_LDCONFIG=   yes
USE_GSTREAMER=  good
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --disable-pulseaudio \
        --enable-gst-mixer-applet
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip

GLIB_SCHEMAS=   org.mate.panel.applet.mixer.gschema.xml \
        org.mate.volume-control.gschema.xml

post-patch:
    @${REINPLACE_CMD} -e 's|mixer_applet2|mate_mixer_applet2|g' \
        ${WRKSRC}/gst-mixer-applet/Makefile.in \
        ${WRKSRC}/gst-mixer-applet/load.c \
        ${WRKSRC}/gst-mixer-applet/org.mate.panel.applet.MixerAppletFactory.service.in \
        ${WRKSRC}/gst-mixer-applet/org.mate.applets.MixerApplet.mate-panel-applet.in.in

.include <bsd.port.mk>