games-util/ttyhlauncher: new live ebuild, contributed by Alexei Sorokin <sor.alexei@meowr.ru>

This commit is contained in:
Sergey Popov 2019-10-29 11:07:23 +03:00
parent 4880dac7cc
commit 0d2d094797

View File

@ -1,32 +1,34 @@
# Copyright 1999-2016 Gentoo Foundation # Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6 EAPI=7
EGIT_REPO_URI="https://github.com/dngulin/ttyhlauncher.git" EGIT_REPO_URI="https://github.com/dngulin/ttyhlauncher.git"
inherit eutils git-r3 qmake-utils inherit cmake-utils git-r3 xdg-utils
DESCRIPTION="ttyh.ru minecraft launcher" DESCRIPTION="ttyh.ru minecraft launcher"
HOMEPAGE="http://ttyh.ru" HOMEPAGE="https://ttyh.ru"
SRC_URI="" SRC_URI=""
LICENSE="GPLv3" LICENSE="GPL-3+"
SLOT="0" SLOT="0"
KEYWORDS="" KEYWORDS=""
DEPEND=">=dev-qt/qtcore-5.3.0:5 BDEPEND="dev-qt/linguist-tools:5"
>=dev-qt/qtgui-5.3.0:5 RDEPEND=">=dev-qt/qtcore-5.7.0:5
>=dev-libs/quazip-0.7.2[qt5]" >=dev-qt/qtgui-5.7.0:5[png]
>=dev-qt/qtwidgets-5.7.0:5
>=dev-qt/qtnetwork-5.7.0:5
>=dev-qt/qtconcurrent-5.7.0:5
dev-libs/libzip:0="
DEPEND="${RDEPEND}"
RDEPEND="${DEPEND}" pkg_postinst() {
xdg_desktop_database_update
src_configure() { xdg_icon_cache_update
eqmake5 "${PN}.pro"
} }
src_install() { pkg_postrm() {
dobin "${PN}" xdg_desktop_database_update
newicon resources/favicon.png "${PN}.png" xdg_icon_cache_update
make_desktop_entry "${PN}" "${DESCRIPTION}"
} }