mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
net-im/abaddon: add 0.1.7
Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
This commit is contained in:
48
net-im/abaddon/abaddon-0.1.7.ebuild
Normal file
48
net-im/abaddon/abaddon-0.1.7.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 2021-2022 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"
|
||||
|
||||
RDEPEND="
|
||||
dev-cpp/gtkmm:3.0=
|
||||
dev-db/sqlite:3
|
||||
net-misc/curl
|
||||
>=net-libs/ixwebsocket-11.0.8
|
||||
sys-libs/zlib:=
|
||||
libhandy? ( gui-libs/libhandy:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_LIBHANDY="$(usex libhandy)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
|
||||
dobin "${BUILD_DIR}"/abaddon
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r res/*
|
||||
|
||||
make_desktop_entry /usr/bin/${PN}
|
||||
}
|
||||
Reference in New Issue
Block a user