mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
net-im/abaddon: drop 0.2.1
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST abaddon-0.2.1.tar.gz 14187672 BLAKE2B 80adeeda5aa6244676cba1247eb5d4e43e1b6a31130ee902146af62a4b824fbaa0711a1014b626bdb3c70210cdca7b2a1fd598e443fcde3369bec47dfd1675cd SHA512 d3d94ffcf361fcbee787de85bca2901feddcd24c543d80969cacaa2e28ad5c6548beee335ff1c394994618a05f22e6ee7114e8ef26355c65fb0315a58c5b775a
|
||||
DIST abaddon-0.2.2.tar.gz 14502623 BLAKE2B c88d5c255dd9e72a54537337727390f14d4fe212da3d6882cb3ec09df6b1f0a822c0f956ceb6cffba291ee858dfbd5a0185499cbe7609b4c2131f4198840b386 SHA512 32f5d40f1695954b7e6f77ddd2d5fa78ee643f86ea1a0d590fc77b6af6f85d0148c69214dd4efc2418fae94bdc20846be906d52d0a6d6bb81902edf35a192343
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
# Copyright 2021-2024 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/qr-code-generator )
|
||||
rnnoise? ( media-libs/rnnoise )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Add missing includes
|
||||
"${FILESDIR}/${P}-missing-include.patch"
|
||||
)
|
||||
|
||||
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}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
Add missing includes.
|
||||
https://github.com/uowuo/abaddon/commit/7ed65a89ae71c3c5d2ba99797bd2b1d93ce172ca
|
||||
https://github.com/uowuo/abaddon/pull/312
|
||||
--- a/src/platform.cpp
|
||||
+++ b/src/platform.cpp
|
||||
@@ -1,9 +1,12 @@
|
||||
#include "platform.hpp"
|
||||
+#include "util.hpp"
|
||||
#include <config.h>
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
||||
+#include <spdlog/spdlog.h>
|
||||
+
|
||||
using namespace std::literals::string_literals;
|
||||
|
||||
#if defined(_WIN32)
|
||||
Reference in New Issue
Block a user