* [gentoo-commits] repo/proj/guru:master commit in: media-plugins/alsa-sndio/
@ 2020-04-23 10:39 Andrew Ammerlaan
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2020-04-23 10:39 UTC (permalink / raw
To: gentoo-commits
commit: 84826ed0e9ad83f5de0cbeeef366fa21b75867bc
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu Apr 23 00:30:23 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr 23 03:19:21 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84826ed0
media-plugins/alsa-sndio: New Package
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
media-plugins/alsa-sndio/Manifest | 1 +
media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild | 29 ++++++++++++++++++++++++++
media-plugins/alsa-sndio/metadata.xml | 8 +++++++
3 files changed, 38 insertions(+)
diff --git a/media-plugins/alsa-sndio/Manifest b/media-plugins/alsa-sndio/Manifest
new file mode 100644
index 0000000..023ec14
--- /dev/null
+++ b/media-plugins/alsa-sndio/Manifest
@@ -0,0 +1 @@
+DIST alsa-sndio-0.2.tar.gz 4119 BLAKE2B 6b4e2f120fe825052bf6902c95db3f535f456d2ea4befa88f52f632e05ba45c06a1795e3ec8281491e4179f15476bcf752d143c6a514909f1313338c5c02e7f1 SHA512 50371881eaceb224703632df1078ea6d39eb51d9cc652029cc75a41f4b66f4a1d73f8f9b07cfbba27c11db5c6bcf5c4c9c80e26d0d7b8a305bc6a48f9f63e8c7
diff --git a/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild b/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild
new file mode 100644
index 0000000..23a00cd
--- /dev/null
+++ b/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Sndio audio sink and source for GStreamer"
+HOMEPAGE="https://github.com/Duncaen/alsa-sndio"
+SRC_URI="https://github.com/Duncaen/alsa-sndio/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ media-libs/alsa-lib
+ media-sound/sndio:=
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+
+ sed -i "s;/lib/alsa-lib/;/$(get_libdir)/alsa-lib/;" Makefile || die "Failed changing libdir"
+}
+
+src_install() {
+ export PREFIX="/usr"
+
+ default
+}
diff --git a/media-plugins/alsa-sndio/metadata.xml b/media-plugins/alsa-sndio/metadata.xml
new file mode 100644
index 0000000..c698af2
--- /dev/null
+++ b/media-plugins/alsa-sndio/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="person">
+ <email>contact@hacktivis.me</email>
+ <name>Haelwenn (lanodan) Monnier</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-plugins/alsa-sndio/
@ 2021-04-23 12:25 Andrew Ammerlaan
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-04-23 12:25 UTC (permalink / raw
To: gentoo-commits
commit: f41f9c8327352444ec3df0b25d1a487ee6302af2
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Apr 23 09:52:38 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr 23 09:58:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f41f9c83
media-plugins/alsa-sndio: Fix description, fix CC
Closes: https://bugs.gentoo.org/785112
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild b/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild
index 23a00cde3..203199067 100644
--- a/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild
+++ b/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-DESCRIPTION="Sndio audio sink and source for GStreamer"
+DESCRIPTION="ALSA PCM to play audio on sndio servers"
HOMEPAGE="https://github.com/Duncaen/alsa-sndio"
SRC_URI="https://github.com/Duncaen/alsa-sndio/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
@@ -22,6 +22,10 @@ src_prepare() {
sed -i "s;/lib/alsa-lib/;/$(get_libdir)/alsa-lib/;" Makefile || die "Failed changing libdir"
}
+src_compile() {
+ emake CC="${CC:-gcc}"
+}
+
src_install() {
export PREFIX="/usr"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-plugins/alsa-sndio/
@ 2021-06-26 11:05 Jian Lin
0 siblings, 0 replies; 3+ messages in thread
From: Jian Lin @ 2021-06-26 11:05 UTC (permalink / raw
To: gentoo-commits
commit: 84483a2d18d7f1e9f2db04880dac2e180910ec0e
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sat Jun 26 10:45:33 2021 +0000
Commit: Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
CommitDate: Sat Jun 26 10:45:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84483a2d
media-plugins/alsa-sndio: Make it multilib
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild b/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild
index 203199067..1b5cb4eab 100644
--- a/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild
+++ b/media-plugins/alsa-sndio/alsa-sndio-0.2.ebuild
@@ -1,8 +1,10 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit multilib-minimal
+
DESCRIPTION="ALSA PCM to play audio on sndio servers"
HOMEPAGE="https://github.com/Duncaen/alsa-sndio"
SRC_URI="https://github.com/Duncaen/alsa-sndio/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -11,22 +13,26 @@ SLOT="0"
KEYWORDS="~amd64"
DEPEND="
- media-libs/alsa-lib
- media-sound/sndio:=
+ media-libs/alsa-lib[${MULTILIB_USEDEP}]
+ media-sound/sndio:=[${MULTILIB_USEDEP}]
"
RDEPEND="${DEPEND}"
src_prepare() {
- default
+ fix_libdir() {
+ sed -i "s;/lib/alsa-lib/;/$(get_libdir)/alsa-lib/;" "${BUILD_DIR}/Makefile" || die "Failed changing libdir"
+ }
- sed -i "s;/lib/alsa-lib/;/$(get_libdir)/alsa-lib/;" Makefile || die "Failed changing libdir"
+ default
+ multilib_copy_sources
+ multilib_foreach_abi fix_libdir
}
-src_compile() {
+multilib_src_compile() {
emake CC="${CC:-gcc}"
}
-src_install() {
+multilib_src_install() {
export PREFIX="/usr"
default
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-26 11:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-23 10:39 [gentoo-commits] repo/proj/guru:master commit in: media-plugins/alsa-sndio/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2021-04-23 12:25 Andrew Ammerlaan
2021-06-26 11:05 Jian Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox