Sun Jan 24 18:22:25 2021 UTC ()
Add libtheoraplay version 0.0.20190909

TheoraPlay is a simple library to make decoding of Ogg Theora videos
easier.

A tiny example to pull data out of an .ogv file is about 50 lines of C
code, and a complete SDL-based media player is about 300 lines of code.

TheoraPlay is optimized for multicore CPUs, and is designed to be
programmer-friendly. You will need libogg, libvorbis, and libtheora, of
course, but then you just drop a .c file and two headers into your
project and you're ready to hook up video decoding, without worrying
about Ogg pages, Vorbis blocks, or Theora decoder state.

Places TheoraPlay can be found in use: - Shank.  - Crypt of the
Necrodancer.  - 20XX.  - FNA.


(maya)
diff -r1.307 -r1.308 pkgsrc/multimedia/Makefile
diff -r0 -r1.1 pkgsrc/multimedia/libtheoraplay/DESCR
diff -r0 -r1.1 pkgsrc/multimedia/libtheoraplay/Makefile
diff -r0 -r1.1 pkgsrc/multimedia/libtheoraplay/PLIST
diff -r0 -r1.1 pkgsrc/multimedia/libtheoraplay/buildlink3.mk
diff -r0 -r1.1 pkgsrc/multimedia/libtheoraplay/distinfo

cvs diff -r1.307 -r1.308 pkgsrc/multimedia/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/Makefile 2021/01/02 07:36:43 1.307
+++ pkgsrc/multimedia/Makefile 2021/01/24 18:22:25 1.308
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.307 2021/01/02 07:36:43 pin Exp $ 1# $NetBSD: Makefile,v 1.308 2021/01/24 18:22:25 maya Exp $
2# 2#
3 3
4COMMENT= Multimedia utilities 4COMMENT= Multimedia utilities
5 5
6SUBDIR+= acidrip 6SUBDIR+= acidrip
7SUBDIR+= adobe-flash-player 7SUBDIR+= adobe-flash-player
8SUBDIR+= alevt 8SUBDIR+= alevt
9SUBDIR+= assimp 9SUBDIR+= assimp
10SUBDIR+= audiocd-kio 10SUBDIR+= audiocd-kio
11SUBDIR+= avidemux 11SUBDIR+= avidemux
12SUBDIR+= bitstream 12SUBDIR+= bitstream
13SUBDIR+= bsdav 13SUBDIR+= bsdav
14SUBDIR+= ccxstream 14SUBDIR+= ccxstream
@@ -122,26 +122,27 @@ SUBDIR+= libhdhomerun @@ -122,26 +122,27 @@ SUBDIR+= libhdhomerun
122SUBDIR+= libkate 122SUBDIR+= libkate
123SUBDIR+= libkcddb 123SUBDIR+= libkcddb
124SUBDIR+= libkcompactdisc 124SUBDIR+= libkcompactdisc
125SUBDIR+= libmatroska 125SUBDIR+= libmatroska
126SUBDIR+= libmediaart 126SUBDIR+= libmediaart
127SUBDIR+= libmediainfo 127SUBDIR+= libmediainfo
128SUBDIR+= libmpeg2 128SUBDIR+= libmpeg2
129SUBDIR+= libmpeg3 129SUBDIR+= libmpeg3
130SUBDIR+= libnms 130SUBDIR+= libnms
131SUBDIR+= libogg 131SUBDIR+= libogg
132SUBDIR+= liboggz 132SUBDIR+= liboggz
133SUBDIR+= libtheora 133SUBDIR+= libtheora
134SUBDIR+= libtheora-docs 134SUBDIR+= libtheora-docs
 135SUBDIR+= libtheoraplay
135SUBDIR+= libva 136SUBDIR+= libva
136SUBDIR+= libva-driver-vdpau 137SUBDIR+= libva-driver-vdpau
137SUBDIR+= libva-utils 138SUBDIR+= libva-utils
138SUBDIR+= libvdpau 139SUBDIR+= libvdpau
139SUBDIR+= libvpx 140SUBDIR+= libvpx
140SUBDIR+= lightspark 141SUBDIR+= lightspark
141SUBDIR+= lsdvd 142SUBDIR+= lsdvd
142SUBDIR+= mate-media 143SUBDIR+= mate-media
143SUBDIR+= mediainfo 144SUBDIR+= mediainfo
144SUBDIR+= mediatomb 145SUBDIR+= mediatomb
145SUBDIR+= mencoder 146SUBDIR+= mencoder
146SUBDIR+= ming 147SUBDIR+= ming
147SUBDIR+= minidlna 148SUBDIR+= minidlna

File Added: pkgsrc/multimedia/libtheoraplay/DESCR
TheoraPlay is a simple library to make decoding of Ogg Theora videos
easier.

A tiny example to pull data out of an .ogv file is about 50 lines of C
code, and a complete SDL-based media player is about 300 lines of code.

TheoraPlay is optimized for multicore CPUs, and is designed to be
programmer-friendly. You will need libogg, libvorbis, and libtheora, of
course, but then you just drop a .c file and two headers into your
project and you're ready to hook up video decoding, without worrying
about Ogg pages, Vorbis blocks, or Theora decoder state.

Places TheoraPlay can be found in use: - Shank.  - Crypt of the
Necrodancer.  - 20XX.  - FNA.

File Added: pkgsrc/multimedia/libtheoraplay/Makefile
# $NetBSD: Makefile,v 1.1 2021/01/24 18:22:25 maya Exp $

DISTNAME=	99e5fc74603e
PKGNAME=	libtheoraplay-0.0.20190909
CATEGORIES=	multimedia
MASTER_SITES=	https://hg.icculus.org/icculus/theoraplay/archive/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://hg.icculus.org/icculus/theoraplay/archive/
COMMENT=	Simple library to make decoding of Ogg Theora videos easier
LICENSE=	zlib

WRKSRC=	${WRKDIR}/theoraplay-99e5fc74603e


do-build:
	cd ${WRKSRC} && \
	${CC} ${CFLAGS} ${LDFLAGS} -fPIC -shared -I${PREFIX}/include \
		-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib \
		-lpthread -logg -lvorbis -ltheoradec -o \
		${WRKSRC}/libtheoraplay.so \
		theoraplay.c


INSTALLATION_DIRS=	lib include
do-install:
	${INSTALL_DATA} ${WRKSRC}/*theora*.h ${DESTDIR}${PREFIX}/include
	${INSTALL_DATA} ${WRKSRC}/libtheoraplay.so \
		${DESTDIR}${PREFIX}/lib

.include "../../multimedia/libogg/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../multimedia/libtheora/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/multimedia/libtheoraplay/PLIST
@comment $NetBSD: PLIST,v 1.1 2021/01/24 18:22:25 maya Exp $
include/theoraplay.h
include/theoraplay_cvtrgb.h
lib/libtheoraplay.so

File Added: pkgsrc/multimedia/libtheoraplay/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2021/01/24 18:22:25 maya Exp $

BUILDLINK_TREE+=	libtheoraplay

.if !defined(LIBTHEORAPLAY_BUILDLINK3_MK)
LIBTHEORAPLAY_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.libtheoraplay+=	libtheoraplay>=0.0.20190909
BUILDLINK_PKGSRCDIR.libtheoraplay?=	../../multimedia/libtheoraplay

.include "../../multimedia/libogg/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../multimedia/libtheora/buildlink3.mk"
.endif	# LIBTHEORAPLAY_BUILDLINK3_MK

BUILDLINK_TREE+=	-libtheoraplay

File Added: pkgsrc/multimedia/libtheoraplay/distinfo
$NetBSD: distinfo,v 1.1 2021/01/24 18:22:25 maya Exp $

SHA1 (99e5fc74603e.tar.gz) = 7a88a44511b552d38f6d00791d1759466bab3149
RMD160 (99e5fc74603e.tar.gz) = 70c9233788b7b59ba162384e11b3ed8ca5903d6d
SHA512 (99e5fc74603e.tar.gz) = 7abe70b5b36f3e0548fe15b49a90502bbbe582a1c847fb8c16a55054277b8ea925bce717b2984dde0543511b26af987d5ebda84c5408efe8739b742e784370e7
Size (99e5fc74603e.tar.gz) = 15027 bytes