diff options
author | Cem Keylan <cem@ckyln.com> | 2019-12-09 19:17:24 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2019-12-09 19:17:24 +0300 |
commit | 03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch) | |
tree | 81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/libtheora | |
download | repository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz |
secondary commit
Diffstat (limited to 'extra/libtheora')
-rwxr-xr-x | extra/libtheora/build | 9 | ||||
-rw-r--r-- | extra/libtheora/checksums | 2 | ||||
-rw-r--r-- | extra/libtheora/depends | 1 | ||||
-rw-r--r-- | extra/libtheora/patches/libtheora-1.1.1-libpng16.patch | 17 | ||||
-rw-r--r-- | extra/libtheora/sources | 2 | ||||
-rw-r--r-- | extra/libtheora/version | 1 |
6 files changed, 32 insertions, 0 deletions
diff --git a/extra/libtheora/build b/extra/libtheora/build new file mode 100755 index 00000000..288944dc --- /dev/null +++ b/extra/libtheora/build @@ -0,0 +1,9 @@ +#!/bin/sh -e + +patch -p0 < libtheora-1.1.1-libpng16.patch + +./configure \ + --prefix=/usr + +make +make DESTDIR="$1" install diff --git a/extra/libtheora/checksums b/extra/libtheora/checksums new file mode 100644 index 00000000..9286d3eb --- /dev/null +++ b/extra/libtheora/checksums @@ -0,0 +1,2 @@ +40952956c47811928d1e7922cda3bc1f427eb75680c3c37249c91e949054916b libtheora-1.1.1.tar.gz +e4c9a8dc798c596ed32a2a720020ae27a0e72f5add1a47cb8fadebe0e7180d7e libtheora-1.1.1-libpng16.patch diff --git a/extra/libtheora/depends b/extra/libtheora/depends new file mode 100644 index 00000000..b6a6854a --- /dev/null +++ b/extra/libtheora/depends @@ -0,0 +1 @@ +libogg diff --git a/extra/libtheora/patches/libtheora-1.1.1-libpng16.patch b/extra/libtheora/patches/libtheora-1.1.1-libpng16.patch new file mode 100644 index 00000000..93da700c --- /dev/null +++ b/extra/libtheora/patches/libtheora-1.1.1-libpng16.patch @@ -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); + } diff --git a/extra/libtheora/sources b/extra/libtheora/sources new file mode 100644 index 00000000..c5eaf319 --- /dev/null +++ b/extra/libtheora/sources @@ -0,0 +1,2 @@ +https://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz +patches/libtheora-1.1.1-libpng16.patch diff --git a/extra/libtheora/version b/extra/libtheora/version new file mode 100644 index 00000000..d9f65d2e --- /dev/null +++ b/extra/libtheora/version @@ -0,0 +1 @@ +1.1.1 2 |