libtheora: new package at 1.1.1

This commit is contained in:
Muhammad Herdiansyah 2019-07-19 10:08:19 +07:00
parent 886eb1b1d5
commit 57f367a533
6 changed files with 32 additions and 0 deletions

9
testing/libtheora/build Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh -e
patch -p0 < libtheora-1.1.1-libpng16.patch
./configure \
--prefix=/usr
make
make DESTDIR="$1" install

View File

@ -0,0 +1,2 @@
40952956c47811928d1e7922cda3bc1f427eb75680c3c37249c91e949054916b libtheora-1.1.1.tar.gz
e4c9a8dc798c596ed32a2a720020ae27a0e72f5add1a47cb8fadebe0e7180d7e libtheora-1.1.1-libpng16.patch

View File

@ -0,0 +1 @@
libogg

View File

@ -0,0 +1,17 @@
http://bugs.gentoo.org/465450
http://trac.xiph.org/ticket/1947
--- examples/png2theora.c
+++ examples/png2theora.c
@@ -462,9 +462,9 @@
png_set_strip_alpha(png_ptr);
row_data = (png_bytep)png_malloc(png_ptr,
- 3*height*width*png_sizeof(*row_data));
+ 3*height*width*sizeof(*row_data));
row_pointers = (png_bytep *)png_malloc(png_ptr,
- height*png_sizeof(*row_pointers));
+ height*sizeof(*row_pointers));
for(y = 0; y < height; y++) {
row_pointers[y] = row_data + y*(3*width);
}

View File

@ -0,0 +1,2 @@
https://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
patches/libtheora-1.1.1-libpng16.patch

View File

@ -0,0 +1 @@
1.1.1 1