2019-01-31 18:54:54 +01:00
|
|
|
# Copyright 1999-2019 Gentoo Authors
|
2018-05-11 07:08:37 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2019-01-31 18:54:54 +01:00
|
|
|
EAPI=7
|
2018-05-11 07:08:37 +02:00
|
|
|
inherit git-r3 cmake-utils
|
|
|
|
|
2018-05-27 16:14:09 +02:00
|
|
|
DESCRIPTION="Mastodon bot that expands shortened URLs."
|
2019-01-31 18:54:54 +01:00
|
|
|
HOMEPAGE="https://schlomp.space/tastytea/expandurl-mastodon"
|
|
|
|
EGIT_REPO_URI="https://schlomp.space/tastytea/expandurl-mastodon.git"
|
2018-05-11 07:08:37 +02:00
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS=""
|
|
|
|
IUSE=""
|
2019-01-31 18:54:54 +01:00
|
|
|
RDEPEND="
|
|
|
|
>=dev-cpp/mastodon-cpp-9999
|
|
|
|
>=dev-cpp/curlpp-0.8.1
|
|
|
|
dev-libs/libxdg-basedir
|
|
|
|
"
|
|
|
|
DEPEND="
|
|
|
|
dev-util/cmake
|
|
|
|
app-text/asciidoc
|
|
|
|
${RDEPEND}
|
|
|
|
"
|
2018-05-11 07:08:37 +02:00
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
git-r3_src_unpack
|
|
|
|
}
|
2018-05-12 14:43:48 +02:00
|
|
|
|
|
|
|
src_install() {
|
2018-05-12 14:48:17 +02:00
|
|
|
cmake-utils_src_install
|
2018-05-12 14:54:41 +02:00
|
|
|
newinitd init/expandurl-mastodon.openrc expandurl-mastodon
|
|
|
|
echo "EXPANDURL_USER=\"expandurl\"" | newconfd - expandurl-mastodon
|
2018-05-12 14:43:48 +02:00
|
|
|
}
|