aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xfce4-parole/Makefile
blob: 60a33e1a45948bb2060ca7771baec0f54313d989 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# New ports collection makefile for:    Xfce4-parole
# Date created:     26 December 2009
# Whom:         Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   parole
PORTVERSION=    0.2.0.6
PORTREVISION=   6
CATEGORIES= multimedia xfce
MASTER_SITES=   XFCE/src/apps/parole/0.2/
DIST_SUBDIR=    xfce4

MAINTAINER= xfce@FreeBSD.org
COMMENT=    Lightweight media player for Xfce4 based on gstreamer

LICENSE=    GPLv2

LIB_DEPENDS=    tag.1:${PORTSDIR}/audio/taglib \
        notify.4:${PORTSDIR}/devel/libnotify \
        dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib

USE_AUTOTOOLS=  libtool
INSTALLS_ICONS= yes
USE_BZIP2=  yes
USE_GSTREAMER=  core faad flac wavpack
USE_GMAKE=  yes
CONFIGURE_ARGS= --disable-power-manager-plugin \
        --enable-libnotify \
        --enable-taglib \
        --without-html-dir
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
USE_GNOME=  gnomehack gtk20 glib20 intltool intlhack pkgconfig \
        desktopfileutils
USE_XFCE=   configenv libgui libutil
USE_XORG=   x11 sm
USE_LDCONFIG=   yes

OPTIONS=    CDDA    "CD audio support (cdparanoia)"     on  \
        HTTP    "HTTP streaming support (libsoup)"  on  \
        NLS "Native Language Support"       on

.include <bsd.port.options.mk>

.if !defined(WITHOUT_CDDA)
USE_GSTREAMER+= cdparanoia
.endif

.if !defined(WITHOUT_HTTP)
USE_GSTREAMER+= soup
.endif

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
CONFIGURE_ARGS+=    --enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-install:
    @-update-desktop-database

.include <bsd.port.mk>