games-util/samrewritten: add 202008

Signed-off-by: James Beddek <telans@posteo.de>
This commit is contained in:
James Beddek
2022-03-26 12:11:48 +13:00
parent bcc15cbd16
commit 1958350176
3 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST samrewritten-202008.tar.gz 4445087 BLAKE2B 278d2210393c79b39006e021d7e51e62e471b333719fab291cc10b8bf4d953bacd881a0f7bd93213e72063d53f448e0144624d193627cbe996bf80c35199fff2 SHA512 3034e62f0e2e523e90123c89cb356623c6ab7346a38ac066dbea30b92c8cc17a1ecb1273aece5530b6c97e1012d5ddfc4fec25e76688198e6c0805d4ce90b914

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>telans@posteo.de</email>
<name>James Beddek</name>
</maintainer>
<use>
<flag name="zenity">Support for dialog display messages</flag>
</use>
<upstream>
<remote-id type="github">PaulCombal/SamRewritten</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,41 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xdg
DESCRIPTION="Steam Achievement Manager For Linux"
HOMEPAGE="https://github.com/PaulCombal/SamRewritten/"
if [ ${PV} = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/PaulCombal/SamRewritten.git"
else
SRC_URI="https://github.com/PaulCombal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/SamRewritten-${PV}"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="+zenity"
DEPEND="
dev-cpp/gtkmm:3.0
dev-libs/yajl
net-libs/gnutls
"
RDEPEND="
${DEPEND}
zenity? ( gnome-extra/zenity )
"
src_install() {
emake LIBDIR=$(get_libdir) DESTDIR="${ED}" install
}
pkg_postinst() {
xdg_pkg_postinst
ewarn "${P} requires Steam to be installed through the steam-overlay."
}