summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-04-04 10:36:06 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-04-04 10:46:03 +0200
commit70e0dcd218553e87a50c145c6d795fea66222f88 (patch)
tree4f64320b33a4e056f4f48edd2726c7c967b280fb /media-libs/alsa-oss
parentmedia-plugins/alsa-plugins: Bump to version 1.1.6 (diff)
downloadgentoo-70e0dcd218553e87a50c145c6d795fea66222f88.tar.gz
gentoo-70e0dcd218553e87a50c145c6d795fea66222f88.tar.bz2
gentoo-70e0dcd218553e87a50c145c6d795fea66222f88.zip
media-libs/alsa-oss: Bump to version 1.1.6
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'media-libs/alsa-oss')
-rw-r--r--media-libs/alsa-oss/Manifest1
-rw-r--r--media-libs/alsa-oss/alsa-oss-1.1.6.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/media-libs/alsa-oss/Manifest b/media-libs/alsa-oss/Manifest
index c2ecf9d7bbac..10a1b5ec3476 100644
--- a/media-libs/alsa-oss/Manifest
+++ b/media-libs/alsa-oss/Manifest
@@ -1 +1,2 @@
DIST alsa-oss-1.0.28.tar.bz2 291500 BLAKE2B 8884c91809bbdb9a20a7ebad7c076786ac5896d312741abf612598429e3d476530a198d8b4e0adb3abe2aee118b0b4b875b2b99ac636403ec37a583a4e234bcd SHA512 7069b7d4d4c0b840608dcca99a660aae1f81f6ef45dcf48fc66553b05de260d033105aa685c8ca05fd4d157d12d83860746a05afdab4f310919c34fa235ab03e
+DIST alsa-oss-1.1.6.tar.bz2 291588 BLAKE2B 2db4b6d80a17518aeadff8a8f12a40eb4f9e549c46ef4df52d49333c039aa285320a179cb632df5dd48f51d56513499e59c71914236c9be1e0ba493d25bbb270 SHA512 f58ece2a5aeb846032a06d372eec0bfa1cde0bd0590b1700d4f7698aa29b10f13c8d53670297ec95a94448955ba6ea9e94a4a79129eb2cd734c8a3658197036d
diff --git a/media-libs/alsa-oss/alsa-oss-1.1.6.ebuild b/media-libs/alsa-oss/alsa-oss-1.1.6.ebuild
new file mode 100644
index 000000000000..47cd17be6920
--- /dev/null
+++ b/media-libs/alsa-oss/alsa-oss-1.1.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib multilib-minimal
+
+MY_P="${P/_rc/rc}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Advanced Linux Sound Architecture OSS compatibility layer"
+HOMEPAGE="https://alsa-project.org/"
+SRC_URI="mirror://alsaproject/oss-lib/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static-libs"
+
+RDEPEND=">=media-libs/alsa-lib-${PV}[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-1.0.12-hardened.patch" )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
+ sed -e 's:\${exec_prefix}/\\$LIB/::' -i "${ED%/}/usr/bin/aoss" || die
+}