www-misc/gitea2rss: Update ebuilds.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
BDEPEND, cmake-utils → cmake.
This commit is contained in:
parent
c7daa5fd16
commit
0fb0d8f8ec
|
@ -3,18 +3,19 @@
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit cmake-utils
|
inherit cmake
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DESCRIPTION="Generates RSS feeds from Gitea releases or tags."
|
DESCRIPTION="Generates RSS feeds from Gitea releases or tags"
|
||||||
HOMEPAGE="https://schlomp.space/tastytea/gitea2rss"
|
HOMEPAGE="https://schlomp.space/tastytea/gitea2rss"
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
EGIT_REPO_URI="https://schlomp.space/tastytea/gitea2rss.git"
|
EGIT_REPO_URI="https://schlomp.space/tastytea/gitea2rss.git"
|
||||||
else
|
else
|
||||||
SRC_URI="https://schlomp.space/tastytea/gitea2rss/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://schlomp.space/tastytea/gitea2rss/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
|
@ -30,19 +31,14 @@ RDEPEND="
|
||||||
dev-libs/poco
|
dev-libs/poco
|
||||||
dev-libs/jsoncpp
|
dev-libs/jsoncpp
|
||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="${RDEPEND}"
|
||||||
dev-util/cmake
|
BDEPEND="
|
||||||
virtual/pkgconfig
|
virtual/pkgconfig
|
||||||
app-text/asciidoc
|
app-text/asciidoc
|
||||||
${RDEPEND}
|
|
||||||
"
|
"
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
if [[ "${PV}" != "9999" ]]; then
|
|
||||||
S="${WORKDIR}/${PN}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DOCS=("README.adoc" "config/nginx-example.conf")
|
DOCS=("README.adoc" "config/nginx-example.conf")
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
@ -54,5 +50,5 @@ src_configure() {
|
||||||
mycmakeargs+=(-DEXTRA_TEST_ARGS="~[http]")
|
mycmakeargs+=(-DEXTRA_TEST_ARGS="~[http]")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cmake-utils_src_configure
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,18 +3,19 @@
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit cmake-utils
|
inherit cmake
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DESCRIPTION="Generates RSS feeds from Gitea releases or tags."
|
DESCRIPTION="Generates RSS feeds from Gitea releases or tags"
|
||||||
HOMEPAGE="https://schlomp.space/tastytea/gitea2rss"
|
HOMEPAGE="https://schlomp.space/tastytea/gitea2rss"
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
EGIT_REPO_URI="https://schlomp.space/tastytea/gitea2rss.git"
|
EGIT_REPO_URI="https://schlomp.space/tastytea/gitea2rss.git"
|
||||||
else
|
else
|
||||||
SRC_URI="https://schlomp.space/tastytea/gitea2rss/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://schlomp.space/tastytea/gitea2rss/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
|
@ -27,22 +28,17 @@ fi
|
||||||
IUSE="test"
|
IUSE="test"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-libs/poco
|
net-misc/curl[ssl]
|
||||||
dev-libs/jsoncpp
|
dev-libs/jsoncpp
|
||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="${RDEPEND}"
|
||||||
dev-util/cmake
|
BDEPEND="
|
||||||
virtual/pkgconfig
|
virtual/pkgconfig
|
||||||
app-text/asciidoc
|
app-text/asciidoc
|
||||||
${RDEPEND}
|
|
||||||
"
|
"
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
if [[ "${PV}" != "9999" ]]; then
|
|
||||||
S="${WORKDIR}/${PN}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DOCS=("README.adoc" "config/nginx-example.conf")
|
DOCS=("README.adoc" "config/nginx-example.conf")
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
@ -54,5 +50,5 @@ src_configure() {
|
||||||
mycmakeargs+=(-DEXTRA_TEST_ARGS="~[http]")
|
mycmakeargs+=(-DEXTRA_TEST_ARGS="~[http]")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cmake-utils_src_configure
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user