commit: fed3e1dd2c76ebf348b06cfbe885bb21082ae286
parent a364c3cb4c9fd1732dd7dd5211528f53ecbc2621
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 27 Jan 2021 18:42:48 +0100
media-sound/oss: Version bump, 4.2.2020
Diffstat:
2 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/media-sound/oss/Manifest b/media-sound/oss/Manifest
@@ -1 +1,2 @@
DIST oss-v4.2-build2019-src-gpl.tar.bz2 1829186 BLAKE2B 9e6691e24f33c2480147d660be22bfa506f4de2456853a8f57cc6e0629d23b6d11b7c86a14f0c5a55cf3ec48f4f55547a10071ca23d14fc84f780ac8a9f25784 SHA512 9c8f8e33c4c637df1be7d024ddc5e1bdfebb2e51deb9c97871cff3c2c4419e93e2ebea6cb1ef7abf4b61ae8b49edfd9165818ea3366c7d21f225ef5ca9aba429
+DIST oss-v4.2-build2020-src-gpl.tar.bz2 2031474 BLAKE2B 739aabd8b1851a3878d62b101e91552b647b2b402c83e539d1150c52809b72efbe3c7a93f08ba6b57132f5c20763345fb9579f79315b7a137faec9135a664652 SHA512 6b0c5390e92f9c9466669600321140b54d1fde5eeaef2f9938d6bdbc7ae686f4a1ad0fa9669a1505962eb515d61d29d8a677911557a9b245ce039e1ab3b77d69
diff --git a/media-sound/oss/oss-4.2.2020.ebuild b/media-sound/oss/oss-4.2.2020.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="oss-v$(ver_cut 1-2)-build$(ver_cut 3)-src-gpl"
+
+DESCRIPTION="Open Sound System (OSS)"
+HOMEPAGE="http://www.opensound.com/"
+SRC_URI="http://www.opensound.com/developer/sources/stable/gpl/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+
+DEPENDS="x11-libs/gtk+:2"
+RDEPENDS="${DEPENDS}"
+
+PATCHES=(
+ "${FILESDIR}/oss-4.2.2019_sysmacros.patch"
+)
+# "${FILESDIR}/oss-4.2.2019_no_compressed_manpages.patch"
+
+src_prepare() {
+ default
+
+ mkdir "${S}_build" || die "Failed creating empty build directory"
+}
+
+src_configure() {
+ cd "${S}_build" || die "Failed changing to build directory"
+
+ "${S}/configure" --enable-libsalsa=NO || die "Failed running ./configure"
+}
+
+src_compile() {
+ cd "${S}_build" || die "Failed changing to build directory"
+
+ emake build
+}
+
+src_install() {
+ cd "${S}_build" || die "Failed changing to build directory"
+
+ emake DESTDIR="${D}/" copy
+}