summaryrefslogtreecommitdiff
path: root/net-irc/srain
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-20 14:54:46 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-20 14:54:46 -0500
commit1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0 (patch)
tree18e2e784f9fb0dbc3546537acc42ad51b366d90e /net-irc/srain
parent9f6a581d94412ab1cf4b35c33101f6be0ddc7777 (diff)
downloadbaldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.tar.gz
baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.tar.xz
baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.zip
Adding metadata
Diffstat (limited to 'net-irc/srain')
-rw-r--r--net-irc/srain/files/srain-1.7.0-gcc15.patch (renamed from net-irc/srain/files/430.patch)21
-rw-r--r--net-irc/srain/metadata.xml4
-rw-r--r--net-irc/srain/srain-1.8.0.ebuild (renamed from net-irc/srain/srain-1.8.0-r1.ebuild)50
-rw-r--r--net-irc/srain/srain-1.8.1.ebuild48
4 files changed, 56 insertions, 67 deletions
diff --git a/net-irc/srain/files/430.patch b/net-irc/srain/files/srain-1.7.0-gcc15.patch
index f31481674033..8e26fbf5454f 100644
--- a/net-irc/srain/files/430.patch
+++ b/net-irc/srain/files/srain-1.7.0-gcc15.patch
@@ -1,17 +1,6 @@
-From 8542c455e63311e2062461966742e5f0fe42b16b Mon Sep 17 00:00:00 2001
-From: Takuya Wakazono <pastalian46@gmail.com>
-Date: Mon, 2 Dec 2024 21:06:07 +0900
-Subject: [PATCH] Core(fix): remove bool typedef in C23
-
-Also fixes an oversight in 7f27c419.
----
- src/core/app.c | 2 +-
- src/filter/filter2.h | 2 +-
- src/inc/srain.h | 2 ++
- 3 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/core/app.c b/src/core/app.c
-index 78c0a2af..3e6393d4 100644
+https://bugs.gentoo.org/945702
+https://github.com/SrainApp/srain/pull/430
+Fix build with GCC 15.
--- a/src/core/app.c
+++ b/src/core/app.c
@@ -234,7 +234,7 @@ SrnRet srn_application_add_server(SrnApplication *app, const char *name){
@@ -23,8 +12,6 @@ index 78c0a2af..3e6393d4 100644
ret = srn_config_manager_read_server_config(app->cfg_mgr, srv_cfg, name);
if (!RET_IS_OK(ret)){
goto ERR;
-diff --git a/src/filter/filter2.h b/src/filter/filter2.h
-index c953a767..9c23a14d 100644
--- a/src/filter/filter2.h
+++ b/src/filter/filter2.h
@@ -32,7 +32,7 @@ typedef struct _SrnMessageFilter SrnMessageFilter;
@@ -36,8 +23,6 @@ index c953a767..9c23a14d 100644
void (*finalize) (void);
};
-diff --git a/src/inc/srain.h b/src/inc/srain.h
-index 323be391..96ae0834 100644
--- a/src/inc/srain.h
+++ b/src/inc/srain.h
@@ -22,7 +22,9 @@
diff --git a/net-irc/srain/metadata.xml b/net-irc/srain/metadata.xml
index 75e2e665e6b4..5f33304011d5 100644
--- a/net-irc/srain/metadata.xml
+++ b/net-irc/srain/metadata.xml
@@ -1,9 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
<origin>baldeagleos-repo</origin>
</pkgmetadata>
diff --git a/net-irc/srain/srain-1.8.0-r1.ebuild b/net-irc/srain/srain-1.8.0.ebuild
index 8c65f2d85c5d..7339f62d3886 100644
--- a/net-irc/srain/srain-1.8.0-r1.ebuild
+++ b/net-irc/srain/srain-1.8.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022-2024 Liguros Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+
EAPI=8
PYTHON_COMPAT=( python3_{13..14} )
-
inherit meson python-any-r1 xdg
DESCRIPTION="Modern, beautiful IRC client written in GTK+ 3"
@@ -13,41 +13,44 @@ SRC_URI="https://github.com/SrainApp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="doc man test"
+IUSE="appindicator doc man"
RDEPEND="
app-crypt/libsecret
- >=dev-libs/glib-2.39.3
- >=dev-libs/libconfig-1.5
- dev-libs/openssl
-
- net-libs/libsoup
- >=x11-libs/gtk+-3.22.15
- dev-libs/libayatana-appindicator
+ dev-libs/glib:2
+ dev-libs/libconfig:=
+ dev-libs/openssl:=
+ net-libs/libsoup:3.0
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ appindicator? ( dev-libs/libayatana-appindicator )
"
+
DEPEND="${RDEPEND}"
BDEPEND="
- doc? (
- $(python_gen_any_dep '
- dev-python/sphinx[${PYTHON_USEDEP}]
- ')
- ${PYTHON_DEPS}
- )
- man? ( ${PYTHON_DEPS} )
+ doc? ( $(python_gen_any_dep '
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinxnotes-mock[${PYTHON_USEDEP}]
+ ' ) )
+ man? ( $(python_gen_any_dep '
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinxnotes-mock[${PYTHON_USEDEP}]
+ ' ) )
+ ${PYTHON_DEPS}
"
-PATCHES=( $FILESDIR/430.patch )
+PATCHES=(
+ "${FILESDIR}/${PN}-1.7.0-gcc15.patch"
+)
python_check_deps() {
if use doc || use man; then
- has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1
+ python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" &&
+ python_has_version "dev-python/sphinxnotes-mock[${PYTHON_USEDEP}]"
fi
}
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
src_prepare() {
default
@@ -62,6 +65,7 @@ src_configure() {
local emesonargs=(
-Ddoc_builders="$(meson-format-array "${doc_builders[@]}")"
+ $(meson_use appindicator app_indicator)
)
meson_src_configure
}
diff --git a/net-irc/srain/srain-1.8.1.ebuild b/net-irc/srain/srain-1.8.1.ebuild
index 5363261a5ea1..f32b055cf55c 100644
--- a/net-irc/srain/srain-1.8.1.ebuild
+++ b/net-irc/srain/srain-1.8.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022-2025 Liguros Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+
EAPI=8
PYTHON_COMPAT=( python3_{13..14} )
-
inherit meson python-any-r1 xdg
DESCRIPTION="Modern, beautiful IRC client written in GTK+ 3"
@@ -13,39 +13,42 @@ SRC_URI="https://github.com/SrainApp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="doc man test"
+IUSE="appindicator doc man"
RDEPEND="
app-crypt/libsecret
- >=dev-libs/glib-2.39.3
- >=dev-libs/libconfig-1.5
- dev-libs/openssl
-
- net-libs/libsoup
- >=x11-libs/gtk+-3.22.15
- dev-libs/libayatana-appindicator
+ dev-libs/glib:2
+ dev-libs/libconfig:=
+ dev-libs/openssl:=
+ net-libs/libsoup:3.0
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ appindicator? ( dev-libs/libayatana-appindicator )
"
+
DEPEND="${RDEPEND}"
BDEPEND="
- doc? (
- $(python_gen_any_dep '
- dev-python/sphinx[${PYTHON_USEDEP}]
- ')
- ${PYTHON_DEPS}
- )
- man? ( ${PYTHON_DEPS} )
+ doc? ( $(python_gen_any_dep '
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinxnotes-mock[${PYTHON_USEDEP}]
+ ' ) )
+ man? ( $(python_gen_any_dep '
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinxnotes-mock[${PYTHON_USEDEP}]
+ ' ) )
+ sys-devel/gettext
+ virtual/pkgconfig
+ ${PYTHON_DEPS}
"
python_check_deps() {
if use doc || use man; then
- has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1
+ python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" &&
+ python_has_version "dev-python/sphinxnotes-mock[${PYTHON_USEDEP}]"
fi
}
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
src_prepare() {
default
@@ -60,6 +63,7 @@ src_configure() {
local emesonargs=(
-Ddoc_builders="$(meson-format-array "${doc_builders[@]}")"
+ $(meson_use appindicator app_indicator)
)
meson_src_configure
}