summaryrefslogtreecommitdiff
path: root/multimedia/omxplayer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/omxplayer/Makefile')
-rw-r--r--multimedia/omxplayer/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/multimedia/omxplayer/Makefile b/multimedia/omxplayer/Makefile
index 50f21cb519f..552e079131d 100644
--- a/multimedia/omxplayer/Makefile
+++ b/multimedia/omxplayer/Makefile
@@ -1,23 +1,24 @@
-# $NetBSD: Makefile,v 1.10 2017/01/16 23:45:15 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2017/01/17 07:33:50 skrll Exp $
-DISTNAME= omxplayer-20150118
-PKGREVISION= 9
+DISTNAME= omxplayer-20170112
CATEGORIES= multimedia
-MASTER_SITES= http://www.invisible.ca/packages/distfiles/
-EXTRACT_SUFX= .zip
+MASTER_SITES= ${MASTER_SITE_GITHUB:=popcornmix/}
+GITHUB_PROJECT= omxplayer
+GITHUB_TAG= 12b472eaa75bce25dc63ec61d9233aadb996f3a4
MAINTAINER= port-arm@NetBSD.org
HOMEPAGE= https://github.com/popcornmix/omxplayer
COMMENT= Raspberry Pi video player
LICENSE= gnu-gpl-v2
-WRKSRC= ${WRKDIR}/omxplayer-master
USE_LANGUAGES= c++
USE_TOOLS+= gmake bash:build
BUILD_TARGET= omxplayer.bin
INSTALLATION_DIRS+= bin share/docs/omxplayer
REPLACE_BASH= omxplayer
+EXTRACT_USING= bsdtar
+
ONLY_FOR_PLATFORM= NetBSD-*-earm*hf
CFLAGS+= -DPREFIX=\"${PREFIX}\"
@@ -34,7 +35,9 @@ DEPENDS+= freefont-ttf-[0-9]*:../../fonts/freefont-ttf
.include "../../devel/pcre/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../misc/raspberrypi-userland/buildlink3.mk"
-.include "../../multimedia/ffmpeg2/buildlink3.mk"
+.include "../../multimedia/ffmpeg3/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../audio/alsa-lib/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"