aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorBenoît Dufour <benoit.dufour@mail.com>2024-06-14 20:33:03 -0400
committerBenoît Dufour <benoit.dufour@mail.com>2024-06-14 20:33:03 -0400
commit230de882f12df4b2e30ed5bd4b0cb11cb93d5fbd (patch)
treee3cd7dfee026cd7c877bb5b19e561bdc51e701f3 /net-im
parentwww-apps/libmedium: drop 20231020, add 2024.06.10 (diff)
downloadguru-230de882f12df4b2e30ed5bd4b0cb11cb93d5fbd.tar.gz
guru-230de882f12df4b2e30ed5bd4b0cb11cb93d5fbd.tar.bz2
guru-230de882f12df4b2e30ed5bd4b0cb11cb93d5fbd.zip
net-im/abaddon: add 0.2.1
Signed-off-by: Benoît Dufour <benoit.dufour@mail.com>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/abaddon/Manifest1
-rw-r--r--net-im/abaddon/abaddon-0.2.1.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/net-im/abaddon/Manifest b/net-im/abaddon/Manifest
index b5102f44e..01a5ac072 100644
--- a/net-im/abaddon/Manifest
+++ b/net-im/abaddon/Manifest
@@ -1,2 +1,3 @@
DIST abaddon-0.1.12.tar.gz 12889771 BLAKE2B baeb6fb88eeb30332c290976f104a7efcfd09d8ed5a73464387b20abb41c1b899a926fdacfb7ddd069a843112c0d4ae08787a097842051abecc333f5e1709bbe SHA512 50e7af172fa12f382976c9bc10c9c1cde371866faf422f578c7ca8517facdf9331577bc69c5c856a75c8dc4014c0ed6ad2cef662cde7d551c212f412303e816b
DIST abaddon-0.1.13.tar.gz 13013920 BLAKE2B 4cf9600ff3d1d3ea1e8aa82c82a3364f93e2c0b018d2c6211ded1d727627e3e06b5b88d714f081467bfad37644870a3b041de4b9524ce168ed7a45fffc9bf8d8 SHA512 e96167779e5ee7383c330e8a90afd0c58cb6dcb9e66bda38f2dc8f8fcac940ae44b789fd5afddb12ba493065db61cb68e74c378cad5c2ab67cbbc13cf90aa834
+DIST abaddon-0.2.1.tar.gz 14187672 BLAKE2B 80adeeda5aa6244676cba1247eb5d4e43e1b6a31130ee902146af62a4b824fbaa0711a1014b626bdb3c70210cdca7b2a1fd598e443fcde3369bec47dfd1675cd SHA512 d3d94ffcf361fcbee787de85bca2901feddcd24c543d80969cacaa2e28ad5c6548beee335ff1c394994618a05f22e6ee7114e8ef26355c65fb0315a58c5b775a
diff --git a/net-im/abaddon/abaddon-0.2.1.ebuild b/net-im/abaddon/abaddon-0.2.1.ebuild
new file mode 100644
index 000000000..f3cda4227
--- /dev/null
+++ b/net-im/abaddon/abaddon-0.2.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop
+
+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=()
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/uowuo/abaddon/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+libhandy +rnnoise qrcodegen"
+
+RDEPEND="
+ dev-cpp/gtkmm:3.0=
+ dev-db/sqlite:3
+ dev-libs/libsodium
+ dev-libs/miniaudio
+ dev-libs/spdlog
+ media-libs/opus
+ >=net-libs/ixwebsocket-11.0.8
+ net-misc/curl
+ sys-libs/zlib:=
+ libhandy? ( gui-libs/libhandy:= )
+ qrcodegen? ( dev-libs/qrcodegen )
+ rnnoise? ( media-libs/rnnoise )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-cpp/nlohmann_json
+"
+
+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)"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ dobin "${BUILD_DIR}"/abaddon
+
+ insinto /usr/share/${PN}
+ doins -r res/*
+
+ make_desktop_entry /usr/bin/${PN}
+}