diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest index add1247617..c580af2adb 100644 --- a/net-wireless/bluetuith/Manifest +++ b/net-wireless/bluetuith/Manifest @@ -1,5 +1,3 @@ -DIST bluetuith-0.2.2-deps.tar.zst 3487605 BLAKE2B 02fac84e97a27471b8feadf1d48fbcc7c8f68542388f54ea744ff9b7a433675c7d2578b76032a71117b0c0c0a04705f2bd1250922c7ee315bc27a78cdb5e4db5 SHA512 f6ad7f31e1f18c886950ff1b10e9a6179468792bdc1387f8ba3e74edb1ba11a8edf7c8ac267eac0ece51318cae5487762aa80b49f6baadf97ca1c4a677754945 -DIST bluetuith-0.2.2.tar.gz 1485216 BLAKE2B e347fbea07564866144de266156ba98d4e722c8d8c216a3696c4bb938f8cbcccdb424b28c5461b94ad67cb4b20b9dd6440a614adb24a6e9acaf8862fb6087aa0 SHA512 5b943ab1a4f5cac1b3da0ac64bea18013f4ba7fe2246c6e33011d18e7a0f384363c9e06558b25131b6ccc4ea3910961178821d24fb21f38c551b18a6500830d4 DIST bluetuith-0.2.3-deps.tar.xz 2749068 BLAKE2B 8073174fbc5208441503a6ab043b6932a16fef006c52bfc526db4c862aad7503ba6172774d35b7f4ba326e059279b2b7ae0402222a3c72dcb335b571d0addd6a SHA512 0d0cbcb4e4ad4f4429224ea2f390b041943282a2694584f9ff99c858f7207bfe25a1175992925a7f013792200edfb08e7aeab4f63af601f6ae10baf6ef5d8770 DIST bluetuith-0.2.3.tar.gz 1486491 BLAKE2B 2263fb27cef0342c85ad69c162e5d002c8d6b3d810144ace7230912276402902d96b46f86025bc46dbaf3785bba03b5a2d8ade11e9ba9a81e6be6af5c4c24b61 SHA512 be8c0aa7ba330d60f3a7988ec755ce557f9053c2a9fe8b3a647054cb8b3bbbb99b263e22da9ec35f083f24efb86df8cefa2de1ee0a7426672dab7f3380c7237d DIST bluetuith-0.2.6-deps.tar.xz 2973108 BLAKE2B c8144303ea5980ce95f061fbe743ffd313311878191527587e3499a544e625c7323e5a7b34808ac62d32bcb6ba442abc31c38f8441ca5019ed2c7d6abdd86dec SHA512 7964e9a0142782df577152f151ecb014188893ea47158d0ebe19f26f8e80e0a6fc0542d485523cb71859e4c4c6f5b27191da290ffe869bf59be0f36a0db648d4 diff --git a/net-wireless/bluetuith/bluetuith-0.2.2.ebuild b/net-wireless/bluetuith/bluetuith-0.2.2.ebuild deleted file mode 100644 index dd3edb4c49..0000000000 --- a/net-wireless/bluetuith/bluetuith-0.2.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module unpacker - -DESCRIPTION="A TUI bluetooth manager for Linux written in Go" -HOMEPAGE="https://darkhz.github.io/bluetuith" - -# MAKE SURE to change these on every update -[[ ${PV} != 9999* ]] && \ -GIT_COMMIT="dd21a9c" -GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b" - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git" -else - SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz" - SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.zst -> ${P}-deps.tar.zst" - SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${PN}-docs-${GIT_DOCUMENTATION_COMMIT}.tar.gz" - KEYWORDS="~amd64 ~arm64" -fi - -# main -LICENSE="Apache-2.0" -# deps -LICENSE+=" BSD-2 BSD MIT" -SLOT="0" - -IUSE="doc" -RESTRICT="test" -RDEPEND=" - net-wireless/bluez -" -BDEPEND=" - $(unpacker_src_uri_depends) -" - -src_unpack() { - if [[ ${PV} == 9999* ]]; then - # unpack code - git-r3_src_unpack - - # unpack docs - EGIT_BRANCH="documentation" - git-r3_fetch - EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${GIT_DOCUMENTATION_COMMIT}" - git-r3_checkout - - go-module_live_vendor - else - unpacker_src_unpack - fi -} - -src_prepare() { - [[ ${PV} != 9999* ]] && { ln -sv ../vendor ./ || die ; } - default -} -src_compile() { - # mimicking behavior from https://github.com/darkhz/bluetuith/blob/master/.goreleaser.yml - [[ ${PV} == 9999* ]] && GIT_COMMIT=$(git rev-parse --short HEAD) - ego build -ldflags "-X github.com/darkhz/bluetuith/cmd.Version=${PV}@${GIT_COMMIT}" -} - -src_test() { - ego test ./... -} - -src_install() { - default - dobin "${PN}" - dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/documentation/*.md - use doc && docinto html && dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/docs/* -}