aboutsummaryrefslogtreecommitdiffstats
path: root/audio/volumeicon/Makefile
blob: c56514d36fc44b2fd9f9ae5bd7ef7b329f1f5b7f (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
# $FreeBSD$

PORTNAME=   volumeicon
PORTVERSION=    0.5.1
PORTREVISION=   1
CATEGORIES= audio

MAINTAINER= lme@FreeBSD.org
COMMENT=    Lightweight volume control for the systray

LICENSE=    GPLv3

BROKEN_powerpc64=   fails to build: oss3_backend.c:80: 'for' loop initial declaration used outside C99 mode

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-oss=v3 \
        --with-oss-include-path=/usr/include/sys
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib

USES=       autoreconf gmake gettext pkgconfig
USE_GNOME=  gtk30 intltool cairo gdkpixbuf2
USE_XORG=   x11
USE_GITHUB= yes
GH_ACCOUNT= Maato

OPTIONS_DEFINE=     NLS NOTIFY
OPTIONS_DEFAULT=    NOTIFY
OPTIONS_SUB=        yes

NLS_USES=   gettext

NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
NOTIFY_CONFIGURE_ENABLE=notify

pre-configure:
    cd ${WRKSRC} && ./autogen.sh

.include <bsd.port.mk>