summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-08-17 12:22:50 +0000
committertnn <tnn@pkgsrc.org>2020-08-17 12:22:50 +0000
commitd3c1309265cc1659e741629d6036790649cd3310 (patch)
tree338beb62b0d9767afbec98eb01b9d34ebd3d4133 /multimedia
parentc2e7c276c9da4e8890c8536c59f4cb136f9003c0 (diff)
downloadpkgsrc-d3c1309265cc1659e741629d6036790649cd3310.tar.gz
hwdecode-demos: change HOMEPAGE & MASTER_SITE to author's github
Update to latest snapshot which is still 6 years old. Changes unknown.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/hwdecode-demos/Makefile15
-rw-r--r--multimedia/hwdecode-demos/PLIST4
-rw-r--r--multimedia/hwdecode-demos/distinfo11
-rw-r--r--multimedia/hwdecode-demos/patches/patch-src_vdpau.c15
4 files changed, 33 insertions, 12 deletions
diff --git a/multimedia/hwdecode-demos/Makefile b/multimedia/hwdecode-demos/Makefile
index a0f47e89fef..7592f64c70b 100644
--- a/multimedia/hwdecode-demos/Makefile
+++ b/multimedia/hwdecode-demos/Makefile
@@ -1,20 +1,23 @@
-# $NetBSD: Makefile,v 1.17 2018/11/23 08:06:32 ryoon Exp $
+# $NetBSD: Makefile,v 1.18 2020/08/17 12:22:50 tnn Exp $
#
-DISTNAME= hwdecode-demos-0.9.4
-PKGREVISION= 12
+DISTNAME= hwdecode-demos-0.9.6p1
CATEGORIES= multimedia
-#MASTER_SITES= http://www.splitted-desktop.com/~gbeauchesne/hwdecode-demos/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=gbeauchesne/}
+GITHUB_TAG= 6b4c053b70b612f7375a3ccf6f27e62cd2bc5fea
MAINTAINER= pkgsrc-users@NetBSD.org
-#HOMEPAGE= http://www.splitted-desktop.com/~gbeauchesne/
+HOMEPAGE= https://github.com/gbeauchesne/hwdecode-demos/
COMMENT= Standalone programs showing off various HW acceleration APIs
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
-USE_TOOLS+= pkg-config gmake
+USE_TOOLS+= pkg-config gmake autoconf automake aclocal
USE_LIBTOOL= yes
+pre-configure:
+ ${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${CONFIGURE_ENV} autoreconf -vif
+
PLIST_VARS+= vdpau vaapi
.include "../../multimedia/libvdpau/buildlink3.mk"
diff --git a/multimedia/hwdecode-demos/PLIST b/multimedia/hwdecode-demos/PLIST
index 28cf4cbaadc..06d8062516a 100644
--- a/multimedia/hwdecode-demos/PLIST
+++ b/multimedia/hwdecode-demos/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2014/09/22 11:55:07 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/08/17 12:22:50 tnn Exp $
${PLIST.vaapi}bin/vaapi_h264
+${PLIST.vaapi}bin/vaapi_jpeg
${PLIST.vaapi}bin/vaapi_mpeg2
${PLIST.vaapi}bin/vaapi_mpeg4
${PLIST.vaapi}bin/vaapi_vc1
@@ -8,6 +9,7 @@ ${PLIST.vdpau}bin/vdpau_mpeg2
${PLIST.vdpau}bin/vdpau_mpeg4
${PLIST.vdpau}bin/vdpau_vc1
share/hwdecode-demos/h264.mp4
+share/hwdecode-demos/jpeg.jpg
share/hwdecode-demos/mpeg2.m2v
share/hwdecode-demos/mpeg4.mp4
share/hwdecode-demos/vc1.raw
diff --git a/multimedia/hwdecode-demos/distinfo b/multimedia/hwdecode-demos/distinfo
index cd9562c55c5..acbb453c4fb 100644
--- a/multimedia/hwdecode-demos/distinfo
+++ b/multimedia/hwdecode-demos/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2017/03/23 17:06:56 joerg Exp $
+$NetBSD: distinfo,v 1.3 2020/08/17 12:22:50 tnn Exp $
-SHA1 (hwdecode-demos-0.9.4.tar.gz) = 9562fab1f84cecd3e1048871ec24a456c7d2a6b4
-RMD160 (hwdecode-demos-0.9.4.tar.gz) = 2e3c2c835ea742ccce568996a4bc1e10d1e4db17
-SHA512 (hwdecode-demos-0.9.4.tar.gz) = 2f2c0a8537340f04b64424db6c36720fc9eccd476b48db0db8de05e3341ff41f905021b8f2fea9d869a8328b4582ea28dc9ac764ded7b9eff0bcc72ffd46179b
-Size (hwdecode-demos-0.9.4.tar.gz) = 641177 bytes
+SHA1 (hwdecode-demos-0.9.6p1-6b4c053b70b612f7375a3ccf6f27e62cd2bc5fea.tar.gz) = be65d3836694184d2a56a18053cb356f194f30fe
+RMD160 (hwdecode-demos-0.9.6p1-6b4c053b70b612f7375a3ccf6f27e62cd2bc5fea.tar.gz) = 4cf6fa9532e1d24616e72d25166bb4a2836edf02
+SHA512 (hwdecode-demos-0.9.6p1-6b4c053b70b612f7375a3ccf6f27e62cd2bc5fea.tar.gz) = 785a8982dc9d5cf737a8379457924aaf0823cae0b0a2c9d15e30e13dfce2afcfca44cf6c4c5b6fd7a11b5370bdb8a28eb1f222b598ef3b004c55237e71d6866b
+Size (hwdecode-demos-0.9.6p1-6b4c053b70b612f7375a3ccf6f27e62cd2bc5fea.tar.gz) = 379926 bytes
+SHA1 (patch-src_vdpau.c) = 0db103af510a0d7d4e004294d567d02d94b20862
diff --git a/multimedia/hwdecode-demos/patches/patch-src_vdpau.c b/multimedia/hwdecode-demos/patches/patch-src_vdpau.c
new file mode 100644
index 00000000000..85123f10d12
--- /dev/null
+++ b/multimedia/hwdecode-demos/patches/patch-src_vdpau.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_vdpau.c,v 1.1 2020/08/17 12:22:50 tnn Exp $
+
+Compile error.
+
+--- src/vdpau.c.orig 2014-06-18 12:46:39.000000000 +0000
++++ src/vdpau.c
+@@ -852,7 +852,7 @@ int vdpau_decode(void)
+ status = vdpau_decoder_render(
+ vdpau->decoder,
+ vdpau->video_surface.vdp_surface,
+- (VdpPictureInfo)&vdpau->picture_info,
++ (const VdpPictureInfo*)&vdpau->picture_info,
+ vdpau->bitstream_buffers_count,
+ vdpau->bitstream_buffers
+ );