mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-03 00:20:09 -07:00
libtheora: new package at 1.1.1
This commit is contained in:
parent
886eb1b1d5
commit
57f367a533
9
testing/libtheora/build
Executable file
9
testing/libtheora/build
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
patch -p0 < libtheora-1.1.1-libpng16.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
|
||||
make
|
||||
make DESTDIR="$1" install
|
2
testing/libtheora/checksums
Normal file
2
testing/libtheora/checksums
Normal file
@ -0,0 +1,2 @@
|
||||
40952956c47811928d1e7922cda3bc1f427eb75680c3c37249c91e949054916b libtheora-1.1.1.tar.gz
|
||||
e4c9a8dc798c596ed32a2a720020ae27a0e72f5add1a47cb8fadebe0e7180d7e libtheora-1.1.1-libpng16.patch
|
1
testing/libtheora/depends
Normal file
1
testing/libtheora/depends
Normal file
@ -0,0 +1 @@
|
||||
libogg
|
17
testing/libtheora/patches/libtheora-1.1.1-libpng16.patch
Normal file
17
testing/libtheora/patches/libtheora-1.1.1-libpng16.patch
Normal 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);
|
||||
}
|
2
testing/libtheora/sources
Normal file
2
testing/libtheora/sources
Normal file
@ -0,0 +1,2 @@
|
||||
https://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
|
||||
patches/libtheora-1.1.1-libpng16.patch
|
1
testing/libtheora/version
Normal file
1
testing/libtheora/version
Normal file
@ -0,0 +1 @@
|
||||
1.1.1 1
|
Loading…
Reference in New Issue
Block a user