summaryrefslogtreecommitdiff
path: root/media-libs/schroedinger
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/schroedinger
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
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/schroedinger')
-rw-r--r--media-libs/schroedinger/Manifest1
-rw-r--r--media-libs/schroedinger/files/schroedinger-1.0.10-orc-symbols.patch43
-rw-r--r--media-libs/schroedinger/files/schroedinger-1.0.11-darwin-compile.patch32
-rw-r--r--media-libs/schroedinger/files/schroedinger-1.0.9-asneeded.patch11
-rw-r--r--media-libs/schroedinger/metadata.xml8
-rw-r--r--media-libs/schroedinger/schroedinger-1.0.11-r1.ebuild45
6 files changed, 140 insertions, 0 deletions
diff --git a/media-libs/schroedinger/Manifest b/media-libs/schroedinger/Manifest
new file mode 100644
index 00000000000..cbddcc3f009
--- /dev/null
+++ b/media-libs/schroedinger/Manifest
@@ -0,0 +1 @@
+DIST schroedinger-1.0.11.tar.gz 1019247 SHA256 1e572a0735b92aca5746c4528f9bebd35aa0ccf8619b22fa2756137a8cc9f912 SHA512 a39dd5360eb87a63379de71d91f48cde309ded91632c0ab8b1dc76b73591f7d0dfa7003c606d1b546d495b18c916aae905a9540b48dff7cbeb5b289e0f880438 WHIRLPOOL 118b37a61369423ce9c1f383ed7fedb24d619e63a5e61121a4468e15acb9adf502f7982c41ba3f867be23773f133c5b46fc0aa4638346bd7e5c293668c0291f8
diff --git a/media-libs/schroedinger/files/schroedinger-1.0.10-orc-symbols.patch b/media-libs/schroedinger/files/schroedinger-1.0.10-orc-symbols.patch
new file mode 100644
index 00000000000..6e236ab1698
--- /dev/null
+++ b/media-libs/schroedinger/files/schroedinger-1.0.10-orc-symbols.patch
@@ -0,0 +1,43 @@
+From: David Schleef <ds@schleef.org>
+Date: Fri, 8 Oct 2010 20:32:11 +0000 (-0700)
+Subject: Don't export orc_ symbols and fix related bugs
+X-Git-Url: http://diracvideo.schleef.org/git?p=schroedinger.git;a=commitdiff_plain;h=9c4e8a89af9f8ce408e50a0ffab79348e9703df2
+
+Don't export orc_ symbols and fix related bugs
+---
+
+diff --git a/schroedinger/Makefile.am b/schroedinger/Makefile.am
+index b9b10c6..aa5e41c 100644
+--- a/schroedinger/Makefile.am
++++ b/schroedinger/Makefile.am
+@@ -157,7 +157,7 @@ libschroedinger_@SCHRO_MAJORMINOR@_la_LIBADD = \
+ libschroedinger_@SCHRO_MAJORMINOR@_la_LDFLAGS = \
+ -no-undefined \
+ -version-info $(SCHRO_LIBVERSION) \
+- -export-symbols-regex '^(schro|orc)_'
++ -export-symbols-regex '^schro_'
+
+ %.c.gcov: .libs/libschroedinger_@SCHRO_MAJORMINOR@_la-%.gcda %.c
+ $(GCOV) -b -f -o $^ > $@.out
+diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
+index fac2e21..92d74fd 100644
+--- a/testsuite/Makefile.am
++++ b/testsuite/Makefile.am
+@@ -95,7 +95,7 @@ wavelet_gain_curve_SOURCES = wavelet_gain_curve.c
+
+ #wavelet_2d_CFLAGS = $(SCHRO_CFLAGS)
+ #wavelet_2d_LDADD = $(SCHRO_LIBS)
+-wavelet_2d_SOURCES = wavelet_2d.c
++wavelet_2d_SOURCES = wavelet_2d.c $(top_srcdir)/schroedinger/tmp-orc.c
+
+ wavelet_noise_2d_SOURCES = wavelet_noise_2d.c
+
+@@ -113,7 +113,7 @@ motion2_SOURCES = motion2.c
+
+ #quant_CFLAGS =
+ #quant_LDADD = -lm
+-quant_SOURCES = quant.c
++quant_SOURCES = quant.c $(top_srcdir)/schroedinger/tmp-orc.c
+
+ #sort_CFLAGS = $(SCHRO_CFLAGS)
+ #sort_LDADD = $(SCHRO_LIBS)
diff --git a/media-libs/schroedinger/files/schroedinger-1.0.11-darwin-compile.patch b/media-libs/schroedinger/files/schroedinger-1.0.11-darwin-compile.patch
new file mode 100644
index 00000000000..853d5da736f
--- /dev/null
+++ b/media-libs/schroedinger/files/schroedinger-1.0.11-darwin-compile.patch
@@ -0,0 +1,32 @@
+From 46f48277ce8109541ef1d0608bd2532e433124ea Mon Sep 17 00:00:00 2001
+From: David Schleef <ds@schleef.org>
+Date: Thu, 23 Feb 2012 20:45:57 -0800
+Subject: [PATCH] testsuite: fix out-of-dir builds
+
+From ee011f33f80c9691a6cfd5116101fdcf8c3cd6f7 Mon Sep 17 00:00:00 2001
+From: David Schleef <ds@schleef.org>
+Date: Mon, 27 Feb 2012 16:11:52 -0800
+Subject: [PATCH] tests: fix build on os/x
+
+
+--- a/testsuite/Makefile.am
++++ b/testsuite/Makefile.am
+@@ -97,7 +97,8 @@ wavelet_gain_curve_SOURCES = wavelet_gain_curve.c
+ #wavelet_2d_CFLAGS = $(SCHRO_CFLAGS)
+ #wavelet_2d_LDADD = $(SCHRO_LIBS)
+ wavelet_2d_SOURCES = wavelet_2d.c
+-nodist_wavelet_2d_SOURCES = $(top_srcdir)/schroedinger/tmp-orc.c
++nodist_wavelet_2d_SOURCES = $(top_builddir)/schroedinger/tmp-orc.c
+
+ wavelet_max_gain_SOURCES = wavelet_max_gain.c
++nodist_wavelet_max_gain_SOURCES = $(top_builddir)/schroedinger/tmp-orc.c
+
+@@ -118,7 +118,7 @@ motion2_SOURCES = motion2.c
+ #quant_CFLAGS =
+ #quant_LDADD = -lm
+ quant_SOURCES = quant.c
+-nodist_quant_SOURCES = $(top_srcdir)/schroedinger/tmp-orc.c
++nodist_quant_SOURCES = $(top_builddir)/schroedinger/tmp-orc.c
+
+ #sort_CFLAGS = $(SCHRO_CFLAGS)
+ #sort_LDADD = $(SCHRO_LIBS)
diff --git a/media-libs/schroedinger/files/schroedinger-1.0.9-asneeded.patch b/media-libs/schroedinger/files/schroedinger-1.0.9-asneeded.patch
new file mode 100644
index 00000000000..dd67a50dd6c
--- /dev/null
+++ b/media-libs/schroedinger/files/schroedinger-1.0.9-asneeded.patch
@@ -0,0 +1,11 @@
+--- testsuite/Makefile.am
++++ testsuite/Makefile.am
+@@ -34,7 +34,7 @@
+
+ AM_CFLAGS = $(SCHRO_CFLAGS) $(ERROR_CFLAGS) $(ORC_CFLAGS) \
+ -DSCHRO_ENABLE_UNSTABLE_API
+-LDADD = $(LIBM) libschrotest.la $(SCHRO_LIBS)
++LDADD = $(LIBM) libschrotest.la $(SCHRO_LIBS) -lorc-test-0.4
+
+ libschrotest_la_SOURCES = common.c
+ libschrotest_la_LIBADD = $(SCHRO_LIBS) $(ORC_LIBS) -lorc-test-0.4 $(LIBM)
diff --git a/media-libs/schroedinger/metadata.xml b/media-libs/schroedinger/metadata.xml
new file mode 100644
index 00000000000..c572c7d9b47
--- /dev/null
+++ b/media-libs/schroedinger/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/media-libs/schroedinger/schroedinger-1.0.11-r1.ebuild b/media-libs/schroedinger/schroedinger-1.0.11-r1.ebuild
new file mode 100644
index 00000000000..f4344ac8270
--- /dev/null
+++ b/media-libs/schroedinger/schroedinger-1.0.11-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=yes
+AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
+
+inherit eutils autotools-multilib gnome2-utils
+
+DESCRIPTION="C-based libraries for the Dirac video codec"
+HOMEPAGE="http://www.diracvideo.org/"
+SRC_URI="http://www.diracvideo.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2 MIT MPL-1.1"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND=">=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/gtk-doc-am"
+
+src_prepare() {
+ gnome2_environment_reset #534582
+
+ # from upstream, drop at next release
+ epatch "${FILESDIR}"/${P}-darwin-compile.patch
+
+ sed -i \
+ -e '/AS_COMPILER_FLAG(-O3/d' \
+ -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' \
+ configure.ac || die
+
+ AT_M4DIR="m4" autotools-multilib_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-html-dir="${EPREFIX}/usr/share/doc/${PF}/html"
+ )
+ autotools-multilib_src_configure
+}