diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libfame | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libfame')
-rw-r--r-- | media-libs/libfame/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libfame/files/libfame-0.9.1-gcc43.patch | 33 | ||||
-rw-r--r-- | media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch | 20 | ||||
-rw-r--r-- | media-libs/libfame/libfame-0.9.1-r1.ebuild | 37 | ||||
-rw-r--r-- | media-libs/libfame/libfame-0.9.1-r2.ebuild | 44 | ||||
-rw-r--r-- | media-libs/libfame/metadata.xml | 11 |
6 files changed, 147 insertions, 0 deletions
diff --git a/media-libs/libfame/Manifest b/media-libs/libfame/Manifest new file mode 100644 index 000000000000..8c7dee9221f2 --- /dev/null +++ b/media-libs/libfame/Manifest @@ -0,0 +1,2 @@ +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 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..fedc619a1a09 --- /dev/null +++ b/media-libs/libfame/libfame-0.9.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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..f2271f322733 --- /dev/null +++ b/media-libs/libfame/libfame-0.9.1-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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..2fbced3903fb --- /dev/null +++ b/media-libs/libfame/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>video</herd> + <maintainer> + <email>media-video@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">fame</remote-id> + </upstream> +</pkgmetadata> |