net-im/abaddon: add 0.2.3

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
dsaf
2026-03-14 20:21:29 -03:00
parent 6306a24709
commit 6d426c2b28
4 changed files with 102 additions and 19 deletions

View File

@@ -1 +1,2 @@
DIST abaddon-0.2.2.tar.gz 14502623 BLAKE2B c88d5c255dd9e72a54537337727390f14d4fe212da3d6882cb3ec09df6b1f0a822c0f956ceb6cffba291ee858dfbd5a0185499cbe7609b4c2131f4198840b386 SHA512 32f5d40f1695954b7e6f77ddd2d5fa78ee643f86ea1a0d590fc77b6af6f85d0148c69214dd4efc2418fae94bdc20846be906d52d0a6d6bb81902edf35a192343
DIST abaddon-0.2.3.tar.gz 14516137 BLAKE2B fa7c029fa14aa1fdce7b981f3f2cc5344641fc36383896bfa6b1ca7ba8fb867f2ba330da3f4a08104ac7f9a8474bdd98abfcb0891e13356e4a070964b7cf5843 SHA512 9321664af9dee0e0d6a4693ef8181600138b6e8e4fb25c139771d215ef874f982183ea7ab5fca9bab68cb89b7a8e6437b1b0ccb56431e4f88e63d7b154b44fb9

View File

@@ -0,0 +1,75 @@
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake desktop xdg
DESCRIPTION="Alternative Discord client using GTK instead of Electron"
HOMEPAGE="https://github.com/uowuo/abaddon"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/uowuo/abaddon.git"
EGIT_SUBMODULES=() # all dependencies are provided by portage
else
SRC_URI="https://github.com/uowuo/abaddon/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="+voice +rnnoise"
REQUIRED_USE="rnnoise? ( voice )"
RDEPEND="
dev-cpp/atkmm
dev-cpp/cairomm
dev-cpp/glibmm:2
dev-cpp/gtkmm:3.0
dev-cpp/pangomm:1.4
dev-db/sqlite:3
dev-libs/glib:2
dev-libs/libfmt:=
dev-libs/libsigc++:2
dev-libs/libsodium:=
dev-libs/spdlog:=
media-libs/opus
>=net-libs/ixwebsocket-11.0.8:=
net-misc/curl
virtual/zlib:=
x11-libs/gtk+:3
gui-libs/libhandy:1
rnnoise? ( media-libs/rnnoise )
"
DEPEND="
${RDEPEND}
dev-cpp/nlohmann_json
dev-libs/miniaudio
"
BDEPEND="
voice? ( virtual/pkgconfig )
"
src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DENABLE_VOICE=$(usex voice)
-DENABLE_RNNOISE=$(usex rnnoise)
-DUSE_KEYCHAIN=no # no package for it in ::guru or ::gentoo
-DENABLE_QRCODE_LOGIN=no # expects vendored qrcodegen
)
cmake_src_configure
}
src_install() {
cmake_src_install
domenu res/desktop/io.github.uowuo.${PN}.desktop
newicon -s scalable res/desktop/icon.svg io.github.uowuo.${PN}.svg
insinto /usr/share/metainfo
doins res/desktop/io.github.uowuo.${PN}.metainfo.xml
}

View File

@@ -1,26 +1,27 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake desktop
inherit cmake desktop xdg
DESCRIPTION="Alternative Discord client using GTK instead of Electron"
HOMEPAGE="https://github.com/uowuo/abaddon"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/uowuo/abaddon.git"
# All dependencies are provided by portage
EGIT_SUBMODULES=()
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/uowuo/abaddon.git"
EGIT_SUBMODULES=() # all dependencies are provided by portage
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/uowuo/abaddon/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="+libhandy +rnnoise qrcodegen"
IUSE="+voice +rnnoise"
REQUIRED_USE="rnnoise? ( voice )"
RDEPEND="
dev-cpp/atkmm
@@ -39,8 +40,7 @@ RDEPEND="
net-misc/curl
virtual/zlib:=
x11-libs/gtk+:3
libhandy? ( gui-libs/libhandy:1 )
qrcodegen? ( dev-libs/qr-code-generator )
gui-libs/libhandy:1
rnnoise? ( media-libs/rnnoise )
"
DEPEND="
@@ -48,20 +48,28 @@ DEPEND="
dev-cpp/nlohmann_json
dev-libs/miniaudio
"
BDEPEND="
voice? ( virtual/pkgconfig )
"
src_configure() {
# Disable keychain because there's currently
# no package for it in ::guru or ::gentoo
local mycmakeargs=(
-DUSE_LIBHANDY="$(usex libhandy)"
-DENABLE_RNNOISE="$(usex rnnoise)"
-DUSE_KEYCHAIN="no"
-DENABLE_QRCODE_LOGIN="$(usex qrcodegen)"
-DCMAKE_BUILD_TYPE=Release
-DENABLE_VOICE=$(usex voice)
-DENABLE_RNNOISE=$(usex rnnoise)
-DUSE_KEYCHAIN=no # no package for it in ::guru or ::gentoo
-DENABLE_QRCODE_LOGIN=no # expects vendored qrcodegen
)
cmake_src_configure
}
src_install() {
cmake_src_install
make_desktop_entry /usr/bin/${PN}
domenu res/desktop/io.github.uowuo.${PN}.desktop
newicon -s scalable res/desktop/icon.svg io.github.uowuo.${PN}.svg
insinto /usr/share/metainfo
doins res/desktop/io.github.uowuo.${PN}.metainfo.xml
}

View File

@@ -3,8 +3,7 @@
<pkgmetadata>
<!-- maintainer-needed -->
<use>
<flag name="qrcodegen">Support for login through QR Code feature using dev-libs/qr-code-generator</flag>
<flag name="libhandy">Support for features using gui-libs/libhandy</flag>
<flag name="voice">Voice support</flag>
<flag name="rnnoise">Support for noise reduction using media-libs/rnnoise</flag>
</use>
<upstream>