~cypheon/pkgsrc-wip

pkgsrc-wip/gmrender-resurrect-git/Makefile -rw-r--r-- 1.8 KiB
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
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
# $NetBSD: Makefile,v 1.1 2013/08/28 20:03:17 thomasklausner Exp $

# version number from configure.ac
DISTNAME=		gmrender-resurrect-0.0.7
CATEGORIES=		net audio
MASTER_SITES=		https://github.com/hzeller/gmrender-resurrect

MAINTAINER=		rhialto@falu.nl
HOMEPAGE=		https://github.com/hzeller/gmrender-resurrect
COMMENT=		Resource efficient UPnP/DLNA renderer
LICENSE=		gnu-gpl-v2

GIT_REPOSITORIES=		gmrender-resurrect
GIT_REPO.gmrender-resurrect=	git://github.com/hzeller/gmrender-resurrect.git

# not really hard depends, but without most of them, it's useless
DEPENDS+=		gst-plugins1-bad-[0-9]*:../../multimedia/gst-plugins1-bad
DEPENDS+=		gst-plugins1-base-[0-9]*:../../multimedia/gst-plugins1-base
DEPENDS+=		gst-plugins1-flac-[0-9]*:../../audio/gst-plugins1-flac
DEPENDS+=		gst-plugins1-good-[0-9]*:../../multimedia/gst-plugins1-good
DEPENDS+=		gst-plugins1-mpg123-[0-9]*:../../audio/gst-plugins1-mpg123
DEPENDS+=		gst-plugins1-ogg-[0-9]*:../../multimedia/gst-plugins1-ogg
DEPENDS+=		gst-plugins1-oss-[0-9]*:../../audio/gst-plugins1-oss
DEPENDS+=		gst-plugins1-soup-[0-9]*:../../net/gst-plugins1-soup
DEPENDS+=		gst-plugins1-ugly-[0-9]*:../../multimedia/gst-plugins1-ugly
DEPENDS+=		gst-plugins1-vorbis-[0-9]*:../../audio/gst-plugins1-vorbis

WRKSRC=			${WRKDIR}/gmrender-resurrect
GNU_CONFIGURE=		YES
USE_TOOLS+=		autoconf automake autoreconf pkg-config

EGDIR=			share/examples/gmrender-resurrect
INSTALLATION_DIRS=	${EGDIR}

pre-configure:
	cd ${WRKSRC} && autoreconf -fiv

post-install:
	${INSTALL_DATA} ${WRKSRC}/scripts/init.d/gmediarenderer ${DESTDIR}${PREFIX}/${EGDIR}

.include "../../devel/glib2/buildlink3.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"
.include "../../net/libupnp/buildlink3.mk"
.include "../../wip/mk/git-package.mk"
.include "../../mk/bsd.pkg.mk"