summaryrefslogtreecommitdiffstats
path: root/audio/goobox/Makefile
blob: 636333eaf0fb84e6c0f74583a263a40bf9eb711c (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
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   goobox
PORTVERSION=    3.3.2
CATEGORIES= audio gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    CD player and ripper for GNOME Desktop environment

BUILD_DEPENDS=  itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=    libdiscid.so:${PORTSDIR}/audio/libdiscid \
        libcoverart.so.0:${PORTSDIR}/audio/libcoverart \
        libmusicbrainz5.so:${PORTSDIR}/audio/libmusicbrainz5 \
        libbrasero-media3.so:${PORTSDIR}/sysutils/brasero \
        libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique

USES=       desktop-file-utils gettext gmake pkgconfig tar:xz
USE_GNOME=  glib20 gtk30 gnomeprefix intlhack
USE_XORG=   x11
USE_GSTREAMER1= yes
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS_DEFINE= NOTIFY
OPTIONS_DEFAULT=NOTIFY

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNOTIFY}
LIB_DEPENDS+=   libnotify.so:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+=--enable-notification
.else
CONFIGURE_ARGS+=--disable-notification
.endif

.include <bsd.port.mk>