summaryrefslogtreecommitdiff
path: root/package/libtheora
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:05:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:05:10 +0200
commit6c2bc15eb5c40548f6a98c37ab0b825b9c163343 (patch)
treef002fe1b2c355f06627c9757dc9fc30c71435f43 /package/libtheora
parentdecf972fcbb3b42947f8778222877ab1663ef04b (diff)
parente095941418bffcb4f2afc03072eb1f045e39ed9d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libtheora')
-rw-r--r--package/libtheora/Makefile28
-rw-r--r--package/libtheora/patches/patch-Makefile_in20
2 files changed, 48 insertions, 0 deletions
diff --git a/package/libtheora/Makefile b/package/libtheora/Makefile
new file mode 100644
index 000000000..328307941
--- /dev/null
+++ b/package/libtheora/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= libtheora
+PKG_VERSION:= 1.1.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 292ab65cedd5021d6b7ddd117e07cd8e
+PKG_DESCR:= Theora video codec
+PKG_SECTION:= libs
+PKG_DEPENDS:= libsdl libogg libvorbis
+PKG_BUILDDEP:= sdl libogg libvorbis
+PKG_URL:= http://www.theora.org/
+PKG_SITES:= http://downloads.xiph.org/releases/theora/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBTHEORA,libtheora,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+libtheora-install:
+ $(INSTALL_DIR) $(IDIR_LIBTHEORA)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libtheora*.so* \
+ $(IDIR_LIBTHEORA)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtheora/patches/patch-Makefile_in b/package/libtheora/patches/patch-Makefile_in
new file mode 100644
index 000000000..41162985c
--- /dev/null
+++ b/package/libtheora/patches/patch-Makefile_in
@@ -0,0 +1,20 @@
+--- libtheora-1.1.1.orig/Makefile.in 2009-10-01 20:04:07.000000000 +0200
++++ libtheora-1.1.1/Makefile.in 2011-09-18 18:38:53.551740404 +0200
+@@ -164,7 +164,7 @@ AUTOMAKE_OPTIONS = foreign 1.6 dist-zip
+ @THEORA_ENABLE_EXAMPLES_TRUE@EXAMPLES_DIR = examples
+ @THEORA_ENABLE_EXAMPLES_FALSE@EXAMPLES_DIR =
+
+-SUBDIRS = lib include doc tests m4 $(EXAMPLES_DIR)
++SUBDIRS = lib include m4 $(EXAMPLES_DIR)
+
+ # we include the whole debian/ dir in EXTRA_DIST because there's a problem
+ # with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am
+@@ -200,7 +200,7 @@ DIST_COMMON = README AUTHORS COPYING Mak
+ missing mkinstalldirs theora-uninstalled.pc.in theora.pc.in \
+ theoradec-uninstalled.pc.in theoradec.pc.in \
+ theoraenc-uninstalled.pc.in theoraenc.pc.in
+-DIST_SUBDIRS = lib include doc tests m4 examples
++DIST_SUBDIRS = lib include m4 examples
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+