net-im/abaddon: add 0.1.12

Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
This commit is contained in:
Remigiusz Micielski
2023-09-30 16:56:03 +02:00
parent 8917d4ce45
commit 835b9b495f
3 changed files with 56 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST abaddon-0.1.12.gh.tar.gz 12889771 BLAKE2B baeb6fb88eeb30332c290976f104a7efcfd09d8ed5a73464387b20abb41c1b899a926fdacfb7ddd069a843112c0d4ae08787a097842051abecc333f5e1709bbe SHA512 50e7af172fa12f382976c9bc10c9c1cde371866faf422f578c7ca8517facdf9331577bc69c5c856a75c8dc4014c0ed6ad2cef662cde7d551c212f412303e816b
DIST abaddon-0.1.8.gh.tar.gz 12829641 BLAKE2B f69210694bdb4d2d7a2cc4c4babbccc8afc15ba4429c08f6b477372c6d77af23d9d2e55b1283ce87b1a1a8cd10609723bc2b49cce21b6a6cdc2352a164cdcc77 SHA512 f9a52b76c4f39d28d5f3b17df9760dd45d3ee25ea254b267537544408a85f33f62c1f82febc2c5426b3533ec148ae9d25eb6ff167b61c1fd5b51c6bd6c923275

View File

@@ -0,0 +1,54 @@
# 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"
SRC_URI="
https://github.com/uowuo/abaddon/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+libhandy +rnnoise"
RDEPEND="
>=net-libs/ixwebsocket-11.0.8
dev-cpp/gtkmm:3.0=
dev-db/sqlite:3
dev-libs/miniaudio
net-misc/curl
sys-libs/zlib:=
libhandy? ( gui-libs/libhandy:= )
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
# also disable QRCODE, for the same reason
local mycmakeargs=(
-DUSE_LIBHANDY="$(usex libhandy)"
-DENABLE_RNNOISE="$(usex rnnoise)"
-DUSE_KEYCHAIN="no"
-DENABLE_QRCODE_LOGIN="no"
)
cmake_src_configure
}
src_install() {
dobin "${BUILD_DIR}"/abaddon
insinto /usr/share/${PN}
doins -r res/*
make_desktop_entry /usr/bin/${PN}
}

View File

@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="libhandy">Support for features using gui-libs/libhandy</flag>
<flag name="rnnoise">Support for noise reduction using media-libs/rnnoise</flag>
</use>
<upstream>
<remote-id type="github">uowuo/abaddon</remote-id>