summaryrefslogtreecommitdiff
path: root/media-libs/liboggz
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/liboggz
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/liboggz')
-rw-r--r--media-libs/liboggz/Manifest6
-rw-r--r--media-libs/liboggz/files/liboggz-1.1.1-destdir.patch14
-rw-r--r--media-libs/liboggz/liboggz-1.1.1.ebuild43
-rw-r--r--media-libs/liboggz/metadata.xml8
4 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/liboggz/Manifest b/media-libs/liboggz/Manifest
new file mode 100644
index 000000000000..375c17d672d9
--- /dev/null
+++ b/media-libs/liboggz/Manifest
@@ -0,0 +1,6 @@
+AUX liboggz-1.1.1-destdir.patch 546 SHA256 efbcc7b3b1084acf5f2ee34e7291e8ba9144c894ebca59285edeff5dd75f4a03 SHA512 6afbb1a546571abf72fb71fdd8e23d5f1ca37fad66e2aebabb45abc7d43dd3b6c5faf53761bc73068b1b7aaa85126ebbf1f83840b0cfa3cf784e1d97f2f9f9bf WHIRLPOOL c9d14c37ea32859d6d6996faeba6a8cb4ccbb6cb225bd916153493f22b3c480cf8fce361b8123a02a55b1475938e347853ad93ab28344ce467e9ec6de978bb46
+DIST liboggz-1.1.1.tar.gz 702261 SHA256 6bafadb1e0a9ae4ac83304f38621a5621b8e8e32927889e65a98706d213d415a SHA512 8f5fc8ca49cb6f7a1160a9c1932876b771d55985d59ddc1f48497dfc08641414a58244d7a7e52bfcecdb69f52913d0123efd8f92513f8b9064e4abe1442f2cba WHIRLPOOL 28632842d0c2e9a84b7304efa989f412854e4eda2cd84c73c952c5bc9c9be5ecb5c7b12320050274558075dcd7fa272a88c5a1f6fb8cc8a6d997062296c1c4ea
+EBUILD liboggz-1.1.1.ebuild 1042 SHA256 3107125218fc59684dd609cab725a7316c746d1d946e9e29fbf7f64f25275753 SHA512 ead2dd80b6236ca90dcc62fc358267bf77a47298ebfb3a36922108212de1fe01e44b283c4d344642390429b348114d5fb452cbdb438e489a5648d7c8e422fc3b WHIRLPOOL 1dd57ef7a8afc40f34e1074a5a8303b4f3bc5159d1d64a2f0ce54818eba88e8971d4fbd860e5949b183d608cf67f72b363ee2e3081e22dfd72b2a961e7795729
+MISC ChangeLog 2465 SHA256 0d3b07f452493ffbd29835b5e234546066730e84b3aa6cac77080e07a440fc18 SHA512 b0eebc2f7fffe44c0c083e14b6277923df6a1c6906856412100036d558333982902855f67c390c997ebd60bd64ac5e968488f68bfcf60838b675271585726da5 WHIRLPOOL b9dbeffe5eb894d76c168633563c0dd00c1091fe3f71351f27120b129497ea0637d00161e46415a7c265c4c8d9ef394fd663aa1cdc1b9191a48128619b5d50d5
+MISC ChangeLog-2015 4540 SHA256 196f68c26e6fb3aa995845ec21a6692d2df8bbdcd8ca1c7bc4260abd079daad4 SHA512 b6d7d87e02879d3856f1898d3718fd88613154230923d6460abf617dded8a11d99484df33b57eb750b97cf301ed7d2ad8c9fe239d349dc64ba535dff144b9640 WHIRLPOOL a393cbf884a7d9fcffee9bd3350f9afa82e0b29db82e9749c5640daf3de42052df40fb36b49726bdb7fb45bbc2bf1259e6d8e81283ac6005c90af56ed1608900
+MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723
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..fc5cf5c65a11
--- /dev/null
+++ b/media-libs/liboggz/liboggz-1.1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 ~arm64 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..c870d0eef0ab
--- /dev/null
+++ b/media-libs/liboggz/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+</maintainer>
+</pkgmetadata>