summaryrefslogtreecommitdiff
path: root/media-libs/libfame
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libfame
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libfame')
-rw-r--r--media-libs/libfame/Manifest9
-rw-r--r--media-libs/libfame/files/libfame-0.9.1-gcc43.patch33
-rw-r--r--media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch20
-rw-r--r--media-libs/libfame/libfame-0.9.1-r1.ebuild36
-rw-r--r--media-libs/libfame/libfame-0.9.1-r2.ebuild43
-rw-r--r--media-libs/libfame/metadata.xml10
6 files changed, 151 insertions, 0 deletions
diff --git a/media-libs/libfame/Manifest b/media-libs/libfame/Manifest
new file mode 100644
index 000000000000..81108071d484
--- /dev/null
+++ b/media-libs/libfame/Manifest
@@ -0,0 +1,9 @@
+AUX libfame-0.9.1-gcc43.patch 1190 SHA256 383799415714250e2cfd4ff2ab8ff94ce30939ad198c54e15d4179d60f8a5083 SHA512 ed9bbfa20ceee650073db7a27ebb25363f9284078ed1356e679e0af235e53b00f7c8afe6a07967beaadbaf6c0c7833fd6b1b4cecea43f36eef749d614f511a99 WHIRLPOOL 542dea715aacf4c0a0d0dde0ef246da4023e723e8455008603a93311bbf0cf38af58b85d9f78a41b9be25dcff7163836edceb52b59d5bdcdb0fab187cc7890d0
+AUX libfame-0.9.1-mmx-configure.ac.patch 1003 SHA256 a4ce89f4e7f989696217d31a7aa844b8ef8485e7af1fcaa5109a832121d5c48a SHA512 9632ad664682bf420eb4b30c25f4979215e172aaa81fe7ad09b714b36edf124bb3c60d56f63e55267345bd8be52b0ea35f40ce54421d1fc58ca8542915180db2 WHIRLPOOL 7556e72e67732965a3ac943e5c0f61758377c8957f37add41a83e0305aded375f3bd04c01620adfa3b253488ef42a25d3f78a194c76ec4b9e7cc22e49fe84ed0
+DIST libfame-0.9.1.tar.gz 296837 SHA256 7b2c5b883db98e99476ae07bbf4f3aa91615e74a4d7fc918cb79154dd4fc08e1 SHA512 511e7be0bac81482edbe5357b982ad1f4adf2bc784a9f52a3f095269076cd1e42866d2ae24a31b17c38acefc03e2c9d868b17074931e5d320ab5eb52271c4345 WHIRLPOOL bfb07c9e4db74b153d690e63f008613cf21bdca7bfad7dd582953ee25a9b575443b90bda285d145d5c2dd74a6c143940d447208165514d4041a47c98e0178c5a
+DIST libfame-patches-2.tar.bz2 5324 SHA256 abe183ef106198c0023de087a4597a5ef3b2784a456b14509c2c235d50d56a9e SHA512 e4f67b137c3397dd00f8a4d5835a180963c3109c0d239d8f0fe616983a5187f6eaad9f4097cc9eaceb5b9c42de9d9e7518a4174247665a8203a4f69b3383abc4 WHIRLPOOL 82d4f6315d33d573bd4aed86bcae0c1e6363ba2129024936f8fd954dfc0356b6528b00c14a3656b2dbe77b0afed7dfb215414f27e97fac6a9aca40e89bda677d
+EBUILD libfame-0.9.1-r1.ebuild 889 SHA256 b5c19778ed7f27883e6c15a7e2d90d4485030a5a605eedc617df1b0409aa34fb SHA512 b05717d9e6165b26b744a6364a4188d8c43efa22d49ac480cd1fda6505800d8d5f62e3871b59a87ed6506d63c4a7cea2d22492cdfad3cdcac0d48f99943b1b02 WHIRLPOOL b354aafbaf532f2462bcc0c81913cda6b8ba1fda74ba7fd8eba456b439b1f69eb0bc7fbed6162a0c8cc7ba516f95de7d6c7b6ec380b660253ec8de0fce9571d7
+EBUILD libfame-0.9.1-r2.ebuild 999 SHA256 5afd2925e4116ab445c5f9df17d261ef5922d56edee97f0c8da103e6f712c28c SHA512 c903a3d7aab504f817e21874c766981b94c58ba5ac744c3a288a09158fefb7df669a072ae2612d728b7162e70880260ec58f677f14a4c38835242df748168dd5 WHIRLPOOL 34ab532242eba5a948eac68adfd024faa4c37a30132679c526e57fa961f54466eb584dcbad746bfa7683447ba92675da4ad16463e4594f7ee435901e22d8256e
+MISC ChangeLog 2576 SHA256 19aec0c02f97b58f9a4182d718024ff78ee1d3c9c39e913574da2b15b821acc3 SHA512 f8e7be6d2600d5f3e81b0c807695644c8fb8f22d7a8e4bc5ee3ab0a485b12365feb0143ef2987ec5ecc9f95361c15efbecb41c35306149e3f49027e708b44ca1 WHIRLPOOL 0d4f11e5357db0d30f448ab3883086c409331cf98187b21c6cfaa265de8fd3b92764fb7422c4b46cd43318219f5b694fcd6a05f95e29f32ad53de2582bd0096e
+MISC ChangeLog-2015 7902 SHA256 684a147259de5242168f5379140b5db3f0f6a98bf1ade79a86f53849d0a4ff71 SHA512 e8c9275e41ab5550fa5694992ec57c74bb27e78ef14fcd872a1779e198f1ac1414dfd1692ee0d3a19a096c16048bc1b4f2aec23d65dd74fa419960143dbb79a3 WHIRLPOOL 5ae99ec6dce3d665d55f81a65650886114eb3565d6728f03e62e7081224b7d53c552595956d4f1bbdf5dd5dfe8b0ecc5640b1a00d9e9cba2975efd4620631b43
+MISC metadata.xml 297 SHA256 7020eb7533b7e76e9e86af386288b96dbd361ae578e5e04d80020ce76576ee64 SHA512 6fad09bf8ac2d08c4e255fc2ae8a95afd410a7dbaaa91fc7467a78ace5a9a9a9cef1ec25ddd676a3c696a5a2714bb3c3f5b180cbfb0fd8a254bab9a5e310212f WHIRLPOOL cf019e9a5bcee71cd483e9c68b9c6aeb49bf9c83c520c8f855d81c803b20ff915eb916609e2c8bf1ad7c6baf145e3d6dcfc86d42f815370255587e71c450e6a4
diff --git a/media-libs/libfame/files/libfame-0.9.1-gcc43.patch b/media-libs/libfame/files/libfame-0.9.1-gcc43.patch
new file mode 100644
index 000000000000..71fdbf59c522
--- /dev/null
+++ b/media-libs/libfame/files/libfame-0.9.1-gcc43.patch
@@ -0,0 +1,33 @@
+diff -rupN libfame-0.9.1b/src/fame_motion_pmvfast.c libfame-0.9.1/src/fame_motion_pmvfast.c
+--- libfame-0.9.1b/src/fame_motion_pmvfast.c 2009-02-03 01:30:26.000000000 -0400
++++ libfame-0.9.1/src/fame_motion_pmvfast.c 2009-02-03 01:31:33.000000000 -0400
+@@ -19,6 +19,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "fame.h"
+ #include "fame_malloc.h"
+ #include "fame_motion.h"
+diff -rupN libfame-0.9.1b/src/fame_rate_1param.c libfame-0.9.1/src/fame_rate_1param.c
+--- libfame-0.9.1b/src/fame_rate_1param.c 2009-02-03 01:30:26.000000000 -0400
++++ libfame-0.9.1/src/fame_rate_1param.c 2009-02-03 01:31:15.000000000 -0400
+@@ -19,6 +19,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <math.h>
+ #include "fame.h"
+ #include "fame_rate_1param.h"
+diff -rupN libfame-0.9.1b/src/fame_rate_simple.c libfame-0.9.1/src/fame_rate_simple.c
+--- libfame-0.9.1b/src/fame_rate_simple.c 2009-02-03 01:30:26.000000000 -0400
++++ libfame-0.9.1/src/fame_rate_simple.c 2009-02-03 01:30:57.000000000 -0400
+@@ -19,6 +19,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <math.h>
+ #include "fame.h"
+ #include "fame_rate_simple.h"
diff --git a/media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch b/media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch
new file mode 100644
index 000000000000..ff4e7327ce2f
--- /dev/null
+++ b/media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch
@@ -0,0 +1,20 @@
+Index: libfame-0.9.1/configure.in
+===================================================================
+--- libfame-0.9.1.orig/configure.in
++++ libfame-0.9.1/configure.in
+@@ -101,12 +101,9 @@ if test x$ac_cv_prog_gcc = xyes; then
+ CFLAGS="$CFLAGS -Wall -fexpensive-optimizations -funroll-loops -ffast-math"
+
+ dnl -fstrict-aliasing doesn't seem to be supported by gcc < 2.95
+- gcc_major_version=`$CC --version | \
+- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+- gcc_minor_version=`$CC --version | \
+- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+- gcc_micro_version=`$CC --version | \
+- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
++ gcc_major_version=`${CC} -dumpversion | cut -f1 -d.`
++ gcc_minor_version=`${CC} -dumpversion | cut -f2 -d.`
++ gcc_micro_version=`${CC} -dumpversion | cut -f3 -d.`
+
+ dnl ok, I must admit I don't know how to do or/and ;)
+ if test $gcc_major_version -eq 2; then
diff --git a/media-libs/libfame/libfame-0.9.1-r1.ebuild b/media-libs/libfame/libfame-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..ebd85f390b69
--- /dev/null
+++ b/media-libs/libfame/libfame-0.9.1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools-utils
+
+PATCHLEVEL="2"
+DESCRIPTION="MPEG-1 and MPEG-4 video encoding library"
+HOMEPAGE="http://fame.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fame/${P}.tar.gz
+ http://digilander.libero.it/dgp85/gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86"
+IUSE="cpu_flags_x86_mmx static-libs"
+
+PATCHES=( "${FILESDIR}"/${P}-gcc43.patch )
+
+DOCS=( AUTHORS BUGS CHANGES README TODO )
+
+src_prepare() {
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+
+ # Do not add -march=i586, bug #41770.
+ sed -i -e 's:-march=i[345]86 ::g' configure
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable cpu_flags_x86_mmx mmx)
+ )
+ autotools-utils_src_configure
+}
diff --git a/media-libs/libfame/libfame-0.9.1-r2.ebuild b/media-libs/libfame/libfame-0.9.1-r2.ebuild
new file mode 100644
index 000000000000..dba17b215515
--- /dev/null
+++ b/media-libs/libfame/libfame-0.9.1-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-multilib
+
+PATCHLEVEL="2"
+DESCRIPTION="MPEG-1 and MPEG-4 video encoding library"
+HOMEPAGE="http://fame.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fame/${P}.tar.gz
+ http://digilander.libero.it/dgp85/gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86"
+IUSE="cpu_flags_x86_mmx static-libs"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-mmx-configure.ac.patch )
+
+DOCS=( AUTHORS BUGS CHANGES README TODO )
+
+src_prepare() {
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+
+ # Do not add -march=i586, bug #41770.
+ sed -i -e 's:-march=i[345]86 ::g' configure.in || die
+
+ rm -f acinclude.m4
+
+ autotools-multilib_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable cpu_flags_x86_mmx mmx)
+ )
+ autotools-multilib_src_configure
+}
diff --git a/media-libs/libfame/metadata.xml b/media-libs/libfame/metadata.xml
new file mode 100644
index 000000000000..e6b79f1c7b33
--- /dev/null
+++ b/media-libs/libfame/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">fame</remote-id>
+ </upstream>
+</pkgmetadata>