aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-shell-extension-audio-output-switcher/Makefile
blob: 49edf2113ddc1a75b9273e9f12f779c4922df4b6 (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
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
#   $MCom: ports/trunk/deskutils/gnome-shell-extension-audio-output-switcher/Makefile 19693 2014-05-26 08:54:39Z gusi $

PORTNAME=   gnome-shell-extension-audio-output-switcher
PORTVERSION=    0.0.0.20140520
CATEGORIES= deskutils gnome
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Gnome-shell audio output switcher

BUILD_DEPENDS=  gnome-shell>=0:${PORTSDIR}/x11/gnome-shell \
        gsettings-desktop-schemas>=3.12.0:${PORTSDIR}/devel/gsettings-desktop-schemas
RUN_DEPENDS=    gnome-shell>=0:${PORTSDIR}/x11/gnome-shell \
        gsettings-desktop-schemas>=3.12.0:${PORTSDIR}/devel/gsettings-desktop-schemas

WRKSRC=     ${WRKDIR}/anduchs-audio-output-switcher-2bec66d

USES=       gettext gmake pkgconfig tar:xz
USE_GNOME=  glib20
USE_GITHUB= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GH_ACCOUNT= anduchs
GH_TAGNAME= 2bec66de5e
GH_COMMIT=  2bec66de5e
GH_PROJECT= audio-output-switcher

PKGMESSAGE= ../gnome-shell-extra-extensions/pkg-message.slaves

NO_BUILD=   yes

do-install:
        @${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/audio-output-switcher@anduchs
        @(cd ${WRKSRC} && ${CP} -pPR * \
            ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/audio-output-switcher@anduchs)

.include <bsd.port.mk>