www-apps/libravatarserv: update live ebuild
continuous-integration/drone/push Build is passing Details

Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
tastytea 2022-06-25 16:23:15 +02:00
parent 442aaf79f0
commit ac76b6f2eb
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 7 additions and 16 deletions

View File

@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 2018-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit cmake
@ -11,32 +11,23 @@ fi
DESCRIPTION="Simple libravatar server"
HOMEPAGE="https://schlomp.space/tastytea/libravatarserv"
if [[ "${PV}" == "9999" ]]; then
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://schlomp.space/tastytea/libravatarserv.git"
else
SRC_URI="https://schlomp.space/tastytea/libravatarserv/archive/${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
fi
LICENSE="GPL-3"
SLOT="0"
if [[ "${PV}" == "9999" ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
fi
IUSE=""
RDEPEND="
dev-libs/crypto++
media-gfx/imagemagick
dev-libs/libxdg-basedir
dev-cpp/identiconpp
dev-libs/crypto++:=
media-gfx/imagemagick:=
"
DEPEND="${RDEPEND}"
DOCS=("README.md" "doc/nginx-example.conf")
if [[ "${PV}" != "9999" ]]; then
S="${WORKDIR}/${PN}"
fi