aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2009-10-10 18:40:30 +0000
committerrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2009-10-10 18:40:30 +0000
commit011ba9984143396781f939a02f01a8b23d4b8742 (patch)
treee03cb4a91693ce5742946f1f7e34f0defdfa4ca2
parentb7bf359d443775d139ac6a4aa1dfe759e6ad3f0c (diff)
downloadmkbuilds-011ba9984143396781f939a02f01a8b23d4b8742.tar.gz
mkbuilds-011ba9984143396781f939a02f01a8b23d4b8742.tar.bz2
libtheora: adding libtheora
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@531 18ef50b8-d735-4ccd-97c1-689132df3dd9
-rw-r--r--patches/libtheora/Manifest24
-rw-r--r--patches/libtheora/libtheora-1.0alpha7-x86_64.diff21
-rw-r--r--patches/libtheora/libtheora.mkbuild185
3 files changed, 230 insertions, 0 deletions
diff --git a/patches/libtheora/Manifest b/patches/libtheora/Manifest
new file mode 100644
index 0000000..4bdb245
--- /dev/null
+++ b/patches/libtheora/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST libtheora-1.1.1.tar.bz2 1903175 MD5 292ab65cedd5021d6b7ddd117e07cd8e RMD160 1d07234bd7e2296c61d6e30fe9816415aa7fd8e5 SHA1 8dcaa8e61cd86eb1244467c0b64b9ddac04ae262 SHA256 b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc SHA512 9ab9b3af1c35d16a7d6d84f61f59ef3180132e30c27bdd7c0fa2683e0d00e2c791accbc7fd2c90718cc947d8bd10ee4a5940fb55f90f1fd7b0ed30583a47dbbd
+MKBUILD libtheora.mkbuild 5070 MD5 619e36cdbdd30492dec0a6498dbf9d1f RMD160 c4dbe5ca0f46f1f9d38518257fa6f1d7f3e1a2e8 SHA1 844f2bfae141b62e86b77f3137fe6fa4f8264982 SHA256 6c12dce07dbdf799081787eaae00d00c1142d29bdb16f464ca37d3cd595f8d37 SHA512 077b224061b3cb45733db9dcb99e795e8016b681c11b68de8bf8f984c1db885b272d80645691b02cba684d5ebb9d12d60ba20d2c6ebece3b265d885e3547b61d
+PATCH libtheora-1.0alpha7-x86_64.diff 727 MD5 20abef4272f0808a7e74fdb92f5e45f5 RMD160 bcd05c6f9caea334fae8fe726e3b4c054a10b46a SHA1 47eab4a81fc17b151d95b70d32804b751de9e251 SHA256 1cd3c07fea1b8706bb206a15ba762cf0482a7aca7331ce5201eb96905bed8f0a SHA512 065c2e52cadbc27b9d94f516dc3ef443ae200897ef84d056286d4328cd8cf839b41bff303e4c4b7c8fbbe6c2a1a731aa042475e8d703e00cdbfd0ddf84e82a38
+SLACKBUILD libtheora.SlackBuild 8115 MD5 a5348245ea214e68a65ad02d2cbb7d9e RMD160 6cc09b94402c0f640020664e253f9a498ec89051 SHA1 258a2c478f70b2b17ffc79d4c86b134fc35a980e SHA256 2fb01f4e588a728fc6587fdba0c79c82953fe2aa981f2328106feefc36d92129 SHA512 560d17390dee3a07e033cdaef02292d42a7fb9e4950f0f03099a8553b7c72f2a2c05d4fb2dc74cc07ec5979fd0aec5f9f0ba325c317a6e22c58a99462d96592c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iQIcBAEBCAAGBQJK0NTGAAoJEEHL93ESzgeiFjMP/ROaSlAGtPXwo6BeACG5Gidc
+2KJDSkoLC7gk9cEHCJaXr15Tm7mjOqCzjqPgEhcWK9upD01xhFHLhszFsCq5Prai
+LzUpDERZubq0DEHKyQABIl5TyVytzYK9n73ODjxFBwqMSWbA2V5b4M9+giDUAWNe
+g9Rf5g2PM55m2/8l/tWxci8YetfCgKZs+RrvQHr7SokqkpE4BTqRfrR0kML5lWbl
+0CJaIO8parkl671cSBStLZ50beMCyImhlYuH+qQpMhTEN/jStadksJVYrqbmWYSO
+wBPNlPc3F0Zan1L3/im7/BYNKae7EomoukrRCMMCpO7luVOR9GnjgU70acnCnv3k
+JQFGTgXnTjMoT1zA4ifF3UwtWgK9pXLIicOl9YZsbcFHVXJ6whIg/9RoZzZEOscq
+8OzrwT1splkNow48V3Q+0uVGMJYytx0OMa13OtbEYcmAIFsZoh5SbP/Jg2TLRUT3
+1gUPZ47q6r1ajhjtS/rL4nokQgh98rqpd+RqvBtlClrtjhN1m1LyZYRbxsxiwu5C
+paeaw3LVlrk0xlCkxNBRgTWmeFdqhre5TgQB+eo+umfVPWMNEev6uZhQdEwZScuM
+q21iZkXXFK5cPh9/Fkm4F5T1e3H5Q0+ALPU0sn4rB32lzHMloLh0vLL7z3UXF1vV
+fxVHDnQLtrhTRXp6NrHT
+=DNF1
+-----END PGP SIGNATURE-----
diff --git a/patches/libtheora/libtheora-1.0alpha7-x86_64.diff b/patches/libtheora/libtheora-1.0alpha7-x86_64.diff
new file mode 100644
index 0000000..ca89c07
--- /dev/null
+++ b/patches/libtheora/libtheora-1.0alpha7-x86_64.diff
@@ -0,0 +1,21 @@
+--- libtheora-0.0.0.alpha7/lib/toplevel.c 2006-06-13 00:57:36.000000000 +0200
++++ libtheora-pdw/lib/toplevel.c 2006-08-19 16:55:30.000000000 +0200
+@@ -172,7 +172,7 @@
+
+ static int _theora_unpack_comment(theora_comment *tc, oggpack_buffer *opb){
+ int i;
+- long len;
++ long len,tmp;
+
+ _tp_readlsbint(opb,&len);
+ if(len<0)return(OC_BADHEADER);
+@@ -180,7 +180,8 @@
+ _tp_readbuffer(opb,tc->vendor, len);
+ tc->vendor[len]='\0';
+
+- _tp_readlsbint(opb,(long *) &tc->comments);
++ _tp_readlsbint(opb,&tmp);
++ tc->comments=tmp;
+ if(tc->comments<0)goto parse_err;
+ tc->user_comments=_ogg_calloc(tc->comments,sizeof(*tc->user_comments));
+ tc->comment_lengths=_ogg_calloc(tc->comments,sizeof(*tc->comment_lengths));
diff --git a/patches/libtheora/libtheora.mkbuild b/patches/libtheora/libtheora.mkbuild
new file mode 100644
index 0000000..05068c4
--- /dev/null
+++ b/patches/libtheora/libtheora.mkbuild
@@ -0,0 +1,185 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+# Version $Rev: 803 $ - $Author: rhatto $
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]=""
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]=""
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+#[[REST OF DOINST.SH]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="patches/libtheora"
+[[SLACKBUILD PATH]]="patches/libtheora"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: download_patches
+off: svn_source
+off: git_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: manifest_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+off: slack_required
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+libtheora: Libtheora
+libtheora:
+libtheora: Theora is an open video codec being developed by the Xiph.org
+libtheora: Foundation as part of their Ogg project (It is a project that aims
+libtheora: to integrate On2's VP3 video codec, Ogg Vorbis audio codec and Ogg
+libtheora: multimedia container formats into a multimedia solution that can
+libtheora: compete with MPEG-4 format).
+libtheora:
+libtheora:
+libtheora:
+libtheora:
+#<slackdesc