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/soxr
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/soxr')
-rw-r--r--media-libs/soxr/Manifest2
-rw-r--r--media-libs/soxr/files/libsuffix.patch13
-rw-r--r--media-libs/soxr/files/nodoc.patch19
-rw-r--r--media-libs/soxr/files/noexamples.patch9
-rw-r--r--media-libs/soxr/metadata.xml8
-rw-r--r--media-libs/soxr/soxr-0.1.0.ebuild36
-rw-r--r--media-libs/soxr/soxr-0.1.1.ebuild35
7 files changed, 122 insertions, 0 deletions
diff --git a/media-libs/soxr/Manifest b/media-libs/soxr/Manifest
new file mode 100644
index 000000000000..86b515d00553
--- /dev/null
+++ b/media-libs/soxr/Manifest
@@ -0,0 +1,2 @@
+DIST soxr-0.1.0-Source.tar.xz 78900 SHA256 12ce532a3045a3f6942736ac3417c6cafe0204896eb86537527d79723ddbffb1 SHA512 c11ad01461adde4ebd9db63d130b96c2e0335b75f166d7d966da7d2efa54495dfdf5cda271b806816945f880e61e4e9e0c6b29df7735f33b6adf3a857b336c85 WHIRLPOOL 8125926d8802d89f2a70b5f400df1c9452dc689fb94af0e3da54dcf8ba396a8cd5f325460ecb41af441c70dffe5639bad17b0ecd105426794482a2284f3eee77
+DIST soxr-0.1.1-Source.tar.xz 80716 SHA256 dcc16868d1a157079316f84233afcc2b52dd0bd541dd8439dc25bceb306faac2 SHA512 377d9c0bb72cd673f89021a86da18861d35ab52f773afd97b6b5f7a2fa8e78865f3484cab4b795ceafacbbb34be6b77efeaaed75c66a839d5e891d70f00d6679 WHIRLPOOL bde1b4a0069200b5352c065a15e7296f6b58c902585ae384a3b2c31e38daa86db6df4d05c948072f83db0a1bb11364e21b02814bf0f65fb6ad625a3b38d618e8
diff --git a/media-libs/soxr/files/libsuffix.patch b/media-libs/soxr/files/libsuffix.patch
new file mode 100644
index 000000000000..e22512b78188
--- /dev/null
+++ b/media-libs/soxr/files/libsuffix.patch
@@ -0,0 +1,13 @@
+Index: soxr-0.1.0-Source/CMakeLists.txt
+===================================================================
+--- soxr-0.1.0-Source.orig/CMakeLists.txt
++++ soxr-0.1.0-Source/CMakeLists.txt
+@@ -180,7 +180,7 @@ if (NOT DEFINED BIN_INSTALL_DIR)
+ set (BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin")
+ endif ()
+ if (NOT DEFINED LIB_INSTALL_DIR)
+- set (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib")
++ set (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
+ endif ()
+ if (NOT DEFINED INCLUDE_INSTALL_DIR)
+ set (INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include")
diff --git a/media-libs/soxr/files/nodoc.patch b/media-libs/soxr/files/nodoc.patch
new file mode 100644
index 000000000000..0d64e1aba0f9
--- /dev/null
+++ b/media-libs/soxr/files/nodoc.patch
@@ -0,0 +1,19 @@
+Index: soxr-0.1.0-Source/CMakeLists.txt
+===================================================================
+--- soxr-0.1.0-Source.orig/CMakeLists.txt
++++ soxr-0.1.0-Source/CMakeLists.txt
+@@ -217,14 +217,6 @@ if (BUILD_TESTS OR BUILD_LSR_TESTS)
+ enable_testing ()
+ endif ()
+
+-install (FILES
+- ${CMAKE_CURRENT_SOURCE_DIR}/README
+- ${CMAKE_CURRENT_SOURCE_DIR}/LICENCE
+- ${CMAKE_CURRENT_SOURCE_DIR}/NEWS
+- DESTINATION ${DOC_INSTALL_DIR})
+-
+-
+-
+ # Subdirectories:
+
+ include_directories (${PROJECT_SOURCE_DIR}/src)
diff --git a/media-libs/soxr/files/noexamples.patch b/media-libs/soxr/files/noexamples.patch
new file mode 100644
index 000000000000..c66c0b1e5b19
--- /dev/null
+++ b/media-libs/soxr/files/noexamples.patch
@@ -0,0 +1,9 @@
+Index: soxr-0.1.0-Source/examples/CMakeLists.txt
+===================================================================
+--- soxr-0.1.0-Source.orig/examples/CMakeLists.txt
++++ soxr-0.1.0-Source/examples/CMakeLists.txt
+@@ -34,4 +34,3 @@ if (${BUILD_TESTS} AND ${WITH_LSR_BINDIN
+ endif ()
+
+ file (GLOB INSTALL_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.[cCh])
+-install (FILES ${INSTALL_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/README DESTINATION ${DOC_INSTALL_DIR}/examples)
diff --git a/media-libs/soxr/metadata.xml b/media-libs/soxr/metadata.xml
new file mode 100644
index 000000000000..ef7c79f9fa79
--- /dev/null
+++ b/media-libs/soxr/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>sound</herd>
+ <upstream>
+ <remote-id type="sourceforge">soxr</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/soxr/soxr-0.1.0.ebuild b/media-libs/soxr/soxr-0.1.0.ebuild
new file mode 100644
index 000000000000..6d9170ad4ce7
--- /dev/null
+++ b/media-libs/soxr/soxr-0.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-multilib
+
+MY_P=${P}-Source
+DESCRIPTION="The SoX Resampler library"
+HOMEPAGE="https://sourceforge.net/p/soxr/wiki/Home/"
+SRC_URI="mirror://sourceforge/soxr/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~mips"
+IUSE="examples"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+DOCS=( "README" "TODO" "NEWS" "AUTHORS" )
+PATCHES=(
+ "${FILESDIR}/libsuffix.patch"
+ "${FILESDIR}/nodoc.patch"
+ "${FILESDIR}/noexamples.patch"
+ )
+
+src_install() {
+ cmake-multilib_src_install
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/media-libs/soxr/soxr-0.1.1.ebuild b/media-libs/soxr/soxr-0.1.1.ebuild
new file mode 100644
index 000000000000..a6d15ba3955e
--- /dev/null
+++ b/media-libs/soxr/soxr-0.1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-multilib
+
+MY_P=${P}-Source
+DESCRIPTION="The SoX Resampler library"
+HOMEPAGE="https://sourceforge.net/p/soxr/wiki/Home/"
+SRC_URI="mirror://sourceforge/soxr/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd"
+IUSE="examples"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+DOCS=( "README" "TODO" "NEWS" "AUTHORS" )
+PATCHES=(
+ "${FILESDIR}/nodoc.patch"
+ "${FILESDIR}/noexamples.patch"
+ )
+
+src_install() {
+ cmake-multilib_src_install
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}