forked from mirror/nheko
parent
e032f2935a
commit
96617385bc
@ -1 +0,0 @@ |
|||||||
EBUILD nheko-9999.ebuild 881 SHA256 50f8d8e9aa142e3df5ac50e428474a348e17436ae870ef85832aa0f333d81ac3 SHA512 13d55a80b6447f4ca3d5367eac06d64d07446bd19699e55eb96f8de047a81ea60b5cb7eb78fc143393ec3b1f1741a8f2d17b506353c2f36d1a169884535f4968 WHIRLPOOL 33d3ad79b4fdaa9ff318494c7920e4b3ea3cade63214a6087d550efdf3a87cd8e2839dc36bfaf557b89b59ac65aea57347ae785754c9d58a0cbb5be589bf08ac |
|
@ -1,47 +0,0 @@ |
|||||||
# Copyright 1999-2017 Gentoo Foundation |
|
||||||
# Distributed under the terms of the GNU General Public License v2 |
|
||||||
|
|
||||||
EAPI=6 |
|
||||||
|
|
||||||
DESCRIPTION="Desktop client for the Matrix protocol" |
|
||||||
HOMEPAGE="https://github.com/mujx/nheko" |
|
||||||
|
|
||||||
inherit git-r3 eutils cmake-utils |
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]]; then |
|
||||||
SRC_URI="" |
|
||||||
EGIT_REPO_URI="git://github.com/mujx/nheko.git" |
|
||||||
fi |
|
||||||
|
|
||||||
LICENSE="GPL-3" |
|
||||||
SLOT="0" |
|
||||||
IUSE="" |
|
||||||
|
|
||||||
RDEPEND=">=dev-qt/qtgui-5.7.1 |
|
||||||
>=dev-qt/qtnetwork-5.7.1 |
|
||||||
>=dev-qt/linguist-tools-5.7.1 |
|
||||||
media-libs/fontconfig |
|
||||||
dev-db/lmdb" |
|
||||||
DEPEND="${RDEPEND} |
|
||||||
dev-util/ninja" |
|
||||||
|
|
||||||
src_configure() { |
|
||||||
cmake-utils_src_configure |
|
||||||
} |
|
||||||
|
|
||||||
src_compile() { |
|
||||||
emake DESTDIR="${D}" |
|
||||||
} |
|
||||||
|
|
||||||
src_install() { |
|
||||||
local icon_size |
|
||||||
for icon_size in 16 32 48 64 128 256 512; do |
|
||||||
newicon -s "${icon_size}" \ |
|
||||||
"${S}/resources/nheko-${icon_size}.png" \ |
|
||||||
nheko.png |
|
||||||
done |
|
||||||
|
|
||||||
domenu ${S}/resources/nheko.desktop |
|
||||||
|
|
||||||
dobin ${S}/build/nheko |
|
||||||
} |
|
Loading…
Reference in new issue