aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahil Bhimjiani <me@rahil.rocks>2024-02-03 12:05:23 +0530
committerRahil Bhimjiani <me@rahil.rocks>2024-02-03 12:07:34 +0530
commitfe23ac1a13141e23381a42781d9fe4d0112747e7 (patch)
tree58cec422f38f0c0f992da92ff1f1af8ef899d18b /net-wireless
parentx11-themes/adw-gtk3: drop 5.0 (diff)
downloadguru-fe23ac1a13141e23381a42781d9fe4d0112747e7.tar.gz
guru-fe23ac1a13141e23381a42781d9fe4d0112747e7.tar.bz2
guru-fe23ac1a13141e23381a42781d9fe4d0112747e7.zip
net-wireless/bluetuith: add 0.2.1, drop 0.1.8
Signed-off-by: Rahil Bhimjiani <me@rahil.rocks> net-wireless/bluetuith: drop 0.1.8 Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/bluetuith/Manifest5
-rw-r--r--net-wireless/bluetuith/bluetuith-0.2.1.ebuild (renamed from net-wireless/bluetuith/bluetuith-0.1.8.ebuild)9
2 files changed, 9 insertions, 5 deletions
diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest
index 28580dc36..582c4cefc 100644
--- a/net-wireless/bluetuith/Manifest
+++ b/net-wireless/bluetuith/Manifest
@@ -1,8 +1,7 @@
-DIST bluetuith-0.1.8-deps.tar.xz 23536984 BLAKE2B 132e6fbd55cac55da2a454e0b97dc95ed17b99f6ca1d08c1c1ad173d196214430845d7cb036f14639f3c67342b3e4de4f13bcabc1577b6367214a146483cb0c9 SHA512 ec1a7d4e06f7e02c24eb2e946ad0d08006d6a6706762df4caa0152473f00f5cac90a9a9db7a5b47d50c6fb6d3c447c82895611b8d1a10116e85d429bb7b8a609
-DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e
-DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13
DIST bluetuith-0.1.9-deps.tar.xz 24086352 BLAKE2B bbb570bf9348474015db1723575ea7669b806f52a7360ca5ce3fc6b57243f35143e94022042b21e2584a1f23d8f2c3627a939d6dd954e28ed791d1560a208ee0 SHA512 44f9c8399cc1c1fb0d061d796d43d3e54dedabf0a85ed6ac868335fdccf6f926ae3522258440a2ccba896fa7bcd442b53f1288bee33d0c5ef179a7f1c2add7eb
DIST bluetuith-0.1.9.tar.gz 1482931 BLAKE2B dc6ca796c3b2cdad16e0a9788a598e305829394ce2267c6c4b8a5ab9371ac8a4cb084bf5de1731029616f576cc92eb43e2fddaa636614fb107cf3b75701f23b8 SHA512 2a6632ee73509e71ca446811fc09423e805f0f16a24e47bc96fbcd1b28ada02f25a12259519008ad4e06c78ca30bcae4066f3ed7c2dac536ebcf11e039a9ba5c
DIST bluetuith-0.2.0-deps.tar.xz 24092520 BLAKE2B 3038def9cb8543aa84677be8d81d973338cde51514e33c4cd26d551c351161c7d31ab10161ba695608c1560a49f3d4e8b363941369cef04911aa13b514de7cf6 SHA512 6a71ec1cbcda98ac4be830f350a72e3d8da81dfdcbbb434c10dbb09f267142dd916469d3dbbc5f13181d74733723d945af2c394a14def29d09722b78034e9102
DIST bluetuith-0.2.0.tar.gz 1483874 BLAKE2B 03321de6478feb5cb2d740d9db4c114cdbc791b7d4f4573c0b52a22d2c6040796bef9cb211134895cfa3233a91f2193c782fdda2bb5040eaa5ac019d0c5623f4 SHA512 bc17842adddcef3beb89708f1f9505035e2a71a9a9755894ad2ecdaac5ca90c823a57b90033b369f4c759b259830710d3e5a0b84fcd9bbc79c4b2697fb0234fd
+DIST bluetuith-0.2.1-deps.tar.xz 24112984 BLAKE2B 2ceec0ea5962ee94eda4f30f15f33c5d7e1e226d2d6bc337201066377eeba03bc9bff9ae80e08649f4a77c5bf40d4a857e86f6a5511ca2bc1781179112e1d924 SHA512 58b6595c599cca2f116bd7f56ee2bff26fdf179e118ea8df6e0bd05d88840c362e05c3cfdb21ccf4589850a680929ccd314a1774a8d4d0f372b6e783ab1abab5
+DIST bluetuith-0.2.1.tar.gz 1485063 BLAKE2B 543576faba4350682434e8bdc4b765afdf22839a8b525c782f7d4a179863a831b7bc107dd44d27c62949ae5d8c0fd447bc3a63dbd28d344ed01a83bee8212f9e SHA512 9cd40881b18a4e109e76aaaee4db375eda123e9dc8caf6b1d7ec17c4da67debfd2d1892109ae28d6483067838a168769a4caa2c9c4dd9bd4107417183021018b
DIST bluetuith-docs-3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e
diff --git a/net-wireless/bluetuith/bluetuith-0.1.8.ebuild b/net-wireless/bluetuith/bluetuith-0.2.1.ebuild
index 8163bcef1..4c431789d 100644
--- a/net-wireless/bluetuith/bluetuith-0.1.8.ebuild
+++ b/net-wireless/bluetuith/bluetuith-0.2.1.ebuild
@@ -8,6 +8,9 @@ inherit go-module
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="ffe8681"
GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b"
if [[ ${PV} == 9999* ]]; then
@@ -16,7 +19,7 @@ if [[ ${PV} == 9999* ]]; then
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.xz -> ${P}-deps.tar.xz"
- SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz"
+ SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${PN}-docs-${GIT_DOCUMENTATION_COMMIT}.tar.gz"
KEYWORDS="~amd64 ~arm64"
fi
@@ -50,7 +53,9 @@ src_unpack() {
}
src_compile() {
- ego build
+ # 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() {