summaryrefslogtreecommitdiff
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/liboggz
downloadgentoo-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/liboggz')
-rw-r--r--media-libs/liboggz/Manifest1
-rw-r--r--media-libs/liboggz/files/liboggz-1.1.1-destdir.patch14
-rw-r--r--media-libs/liboggz/liboggz-1.1.1.ebuild44
-rw-r--r--media-libs/liboggz/metadata.xml5
4 files changed, 64 insertions, 0 deletions
diff --git a/media-libs/liboggz/Manifest b/media-libs/liboggz/Manifest
new file mode 100644
index 000000000000..aadfcef4af77
--- /dev/null
+++ b/media-libs/liboggz/Manifest
@@ -0,0 +1 @@
+DIST liboggz-1.1.1.tar.gz 702261 RMD160 e85073131bc8ec021b1529487ef21802d01b0260 SHA1 3540190c8c9a31d834aa7794ef991bbab699f4de SHA256 6bafadb1e0a9ae4ac83304f38621a5621b8e8e32927889e65a98706d213d415a
diff --git a/media-libs/liboggz/files/liboggz-1.1.1-destdir.patch b/media-libs/liboggz/files/liboggz-1.1.1-destdir.patch
new file mode 100644
index 000000000000..c58a0c960f75
--- /dev/null
+++ b/media-libs/liboggz/files/liboggz-1.1.1-destdir.patch
@@ -0,0 +1,14 @@
+--- src/tools/Makefile.am
++++ src/tools/Makefile.am
+@@ -75,10 +75,7 @@
+ # see http://lists.xiph.org/pipermail/ogg-dev/2008-July/001083.html
+ install-exec-local:
+ for p in dump diff info merge rip ; do \
+- if test -e $(exec_prefix)/bin/oggz$$p ; then \
+- $(RM) $(exec_prefix)/bin/oggz$$p ; \
+- $(LN_S) $(exec_prefix)/bin/oggz-$$p $(exec_prefix)/bin/oggz$$p ; \
+- fi ; \
++ $(LN_S) $(exec_prefix)/bin/oggz-$$p $(DESTDIR)$(exec_prefix)/bin/oggz$$p ; \
+ done
+
+ # On 'make uninstall', remove the deprecated tool -- but only if it is a
diff --git a/media-libs/liboggz/liboggz-1.1.1.ebuild b/media-libs/liboggz/liboggz-1.1.1.ebuild
new file mode 100644
index 000000000000..a06e09cc6f6a
--- /dev/null
+++ b/media-libs/liboggz/liboggz-1.1.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="Oggz provides a simple programming interface for reading and writing Ogg files and streams"
+HOMEPAGE="http://www.xiph.org/oggz/"
+SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
+IUSE="doc static-libs test"
+
+RDEPEND=">=media-libs/libogg-1.2.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ test? ( app-text/docbook-sgml-utils )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-destdir.patch
+
+ if ! use doc; then
+ sed -i -e '/AC_CHECK_PROG/s:doxygen:dIsAbLe&:' configure.ac || die
+ fi
+
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install || die
+ dodoc AUTHORS ChangeLog README TODO
+
+ find "${D}" -name '*.la' -delete
+}
diff --git a/media-libs/liboggz/metadata.xml b/media-libs/liboggz/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/media-libs/liboggz/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>