Files
guru/games-util/gamehub/gamehub-0.16.0.1.ebuild
Andreas Zuber dd7c361aad games-util/gamehub: add missing xdg step calls
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas Zuber <a.zuber@gmx.ch>
2020-09-23 09:50:04 +02:00

55 lines
945 B
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome2-utils meson vala xdg
DESCRIPTION="GameHub is a unified library for all your games"
HOMEPAGE="https://tkashkin.tk/projects/gamehub"
MY_PN="GameHub"
MY_PV="$(ver_rs 3 '-')-master"
MY_P="${MY_PN}-${MY_PV}"
SRC_URI="https://github.com/tkashkin/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
dev-db/sqlite:3
dev-libs/glib:2
dev-libs/json-glib
dev-libs/libgee:0.8
>=dev-libs/libmanette-0.2
dev-libs/libxml2
net-libs/libsoup:2.4
net-libs/webkit-gtk:4
sys-auth/polkit
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXtst"
BDEPEND="
${RDEPEND}
$(vala_depend)"
S="${WORKDIR}/${MY_P}"
src_prepare() {
default
vala_src_prepare
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}