From 7f667b7bb4289a251ed1cb22a2164d0ba4ff5309 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 5 May 2023 09:12:47 +0100 Subject: www-apps/ttyd: fix RDEPEND Was missing RDEPEND=... so was blank. Also drop git from 9999 and cmake from BDEPEND, the eclasses should handle that. Signed-off-by: Sam James --- www-apps/ttyd/ttyd-1.7.3-r1.ebuild | 40 +++++++++++++++++++++++++++++++++++++ www-apps/ttyd/ttyd-1.7.3.ebuild | 41 -------------------------------------- www-apps/ttyd/ttyd-9999.ebuild | 6 ++---- 3 files changed, 42 insertions(+), 45 deletions(-) create mode 100644 www-apps/ttyd/ttyd-1.7.3-r1.ebuild delete mode 100644 www-apps/ttyd/ttyd-1.7.3.ebuild diff --git a/www-apps/ttyd/ttyd-1.7.3-r1.ebuild b/www-apps/ttyd/ttyd-1.7.3-r1.ebuild new file mode 100644 index 000000000000..adbcac55b7f7 --- /dev/null +++ b/www-apps/ttyd/ttyd-1.7.3-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd + +MY_PV="$(ver_rs 3 '-')" + +DESCRIPTION="ttyd, a simple command-line tool for sharing terminal over the web" +HOMEPAGE="https://github.com/tsl0922/ttyd" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/tsl0922/ttyd.git" + inherit git-r3 +else + SRC_URI="https://github.com/tsl0922/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" + +DEPEND=" + dev-libs/json-c:= + dev-libs/libuv:= + net-libs/libwebsockets:=[libuv,ssl] + sys-libs/zlib:= +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_install() { + dobin ../${P}_build/${PN} + doman man/*.1 + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + systemd_dounit "${FILESDIR}"/${PN}.service +} diff --git a/www-apps/ttyd/ttyd-1.7.3.ebuild b/www-apps/ttyd/ttyd-1.7.3.ebuild deleted file mode 100644 index 80b189a914d4..000000000000 --- a/www-apps/ttyd/ttyd-1.7.3.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd - -MY_PV="$(ver_rs 3 '-')" - -DESCRIPTION="ttyd, a simple command-line tool for sharing terminal over the web" -HOMEPAGE="https://github.com/tsl0922/ttyd" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/tsl0922/ttyd.git" - inherit git-r3 -else - SRC_URI="https://github.com/tsl0922/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" - -BDEPEND="dev-util/cmake" - -DEPEND=" - dev-libs/json-c:= - dev-libs/libuv:= - net-libs/libwebsockets:=[libuv,ssl] - sys-libs/zlib:= - " - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_install() { - dobin ../${P}_build/${PN} - doman man/*.1 - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - systemd_dounit "${FILESDIR}"/${PN}.service -} diff --git a/www-apps/ttyd/ttyd-9999.ebuild b/www-apps/ttyd/ttyd-9999.ebuild index 14c795388490..adbcac55b7f7 100644 --- a/www-apps/ttyd/ttyd-9999.ebuild +++ b/www-apps/ttyd/ttyd-9999.ebuild @@ -21,15 +21,13 @@ fi LICENSE="MIT" SLOT="0" -BDEPEND="dev-util/cmake" - DEPEND=" - dev-vcs/git:= dev-libs/json-c:= dev-libs/libuv:= net-libs/libwebsockets:=[libuv,ssl] sys-libs/zlib:= - " +" +RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}-${MY_PV}" -- cgit v1.2.3-65-gdbad