summaryrefslogtreecommitdiff
path: root/dev-ruby/ruby-shout
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-ruby/ruby-shout
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-ruby/ruby-shout')
-rw-r--r--dev-ruby/ruby-shout/Manifest1
-rw-r--r--dev-ruby/ruby-shout/files/ruby-shout-2.2.2-errno.patch13
-rw-r--r--dev-ruby/ruby-shout/metadata.xml9
-rw-r--r--dev-ruby/ruby-shout/ruby-shout-2.2.2-r2.ebuild26
4 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/ruby-shout/Manifest b/dev-ruby/ruby-shout/Manifest
new file mode 100644
index 000000000000..eaf8522ce007
--- /dev/null
+++ b/dev-ruby/ruby-shout/Manifest
@@ -0,0 +1 @@
+DIST ruby-shout-2.2.2.gem 13312 BLAKE2B da84e8ca777e5c5e60f4319f030467cbbb0709f8e94c08d3b7c8bb30c4db2861d27852930a01f4a0625ca8cf71ed849fd39f0398708b838c3b6bdcf85c12609d SHA512 2553518d3cef655e9cd59a734860d290928171600676dd0fa4b65d84421286eb9d79cc897cfa5544570e3731c4f761e97e8cd1dd3488d9b62246af840a1d126d
diff --git a/dev-ruby/ruby-shout/files/ruby-shout-2.2.2-errno.patch b/dev-ruby/ruby-shout/files/ruby-shout-2.2.2-errno.patch
new file mode 100644
index 000000000000..91e484ab4295
--- /dev/null
+++ b/dev-ruby/ruby-shout/files/ruby-shout-2.2.2-errno.patch
@@ -0,0 +1,13 @@
+--- a/ext/shout_ext.c 2024-01-23 14:02:08.404056464 +0100
++++ b/ext/shout_ext.c 2024-01-23 14:03:47.152700002 +0100
+@@ -91,8 +91,8 @@
+ /* For metadata-related errors, which don't relate to a shout_t, so we can't
+ * use shout_get_errno or shout_get_error on them.
+ */
+-static void raise_nonspecific_shout_error(int errno) {
+- rb_raise(cShoutError, "%d", errno);
++static void raise_nonspecific_shout_error(int err_no) {
++ rb_raise(cShoutError, "%d", err_no);
+ }
+
+ /*
diff --git a/dev-ruby/ruby-shout/metadata.xml b/dev-ruby/ruby-shout/metadata.xml
new file mode 100644
index 000000000000..c685ebad7e3a
--- /dev/null
+++ b/dev-ruby/ruby-shout/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-ruby/ruby-shout/ruby-shout-2.2.2-r2.ebuild b/dev-ruby/ruby-shout/ruby-shout-2.2.2-r2.ebuild
new file mode 100644
index 000000000000..c0c6b08ef742
--- /dev/null
+++ b/dev-ruby/ruby-shout/ruby-shout-2.2.2-r2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRADOC="README.textile"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby interface to libshout2"
+HOMEPAGE="https://github.com/niko/ruby-shout"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+
+RDEPEND=">=media-libs/libshout-2.0"
+DEPEND=">=media-libs/libshout-2.0"
+
+PATCHES=( "${FILESDIR}/${P}-errno.patch" )