commit: 95d7c8642ed15f665516ed0e1ac76ff897fd8ea2 Author: ingenarel <ingenarelitems <AT> gmail <DOT> com> AuthorDate: Tue Dec 2 22:15:38 2025 +0000 Commit: Saad Abdullah <ingenarelitems <AT> gmail <DOT> com> CommitDate: Tue Dec 2 22:15:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=95d7c864
net-im/discordo: add 0_pre20251202, drop 0_pre20251118 Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com> net-im/discordo/Manifest | 4 +-- ...251118.ebuild => discordo-0_pre20251202.ebuild} | 30 +++++++++++++++------- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/net-im/discordo/Manifest b/net-im/discordo/Manifest index 13172802bc..88acf0b06d 100644 --- a/net-im/discordo/Manifest +++ b/net-im/discordo/Manifest @@ -1,2 +1,2 @@ -DIST discordo-0_pre20251118-deps.tar.xz 121657408 BLAKE2B 5dc801379cd2c50d43aa860b9e7fe104599a99c8d005e00b1e728af92403be3f4b20b560eb390396122271d5cbde77ffd3451de3638d29562e97bd96d69cf432 SHA512 acb07fb984ea33a477d91bcae40eb6cc1bd03774f34f11ddbced9fcb994fa959ef353c559c5b372ad924069f7c1252956eca3f0a65c8e2f729e298730de6294d -DIST discordo-0_pre20251118.tar.gz 589603 BLAKE2B e9d3a5c200b97f3c30049055d29d9b5a8d6be1b5ef99bc6d9e6542c990d5fbb57e16afb22b203afd6823309b8e0aa1b18fbb6e0de4193ce28d8b5cf4ec239a6d SHA512 f5c37c436ca997fbe7cdb67cb85b57c25f22d256f426165c3b4fae69bb8233875ece823c13c863fbc2f61551e29cf92faebe9eda3cc5dfcdd6ad55d96e01972e +DIST discordo-0_pre20251202-deps.tar.xz 117810964 BLAKE2B 82520798e35faca1d7b54c07217bbc1f808d50701f23889af9e9854c24404164d092a89c201fadb088d189f4b40495bc9190dfd9640fae7b63b176697905614d SHA512 027535a710a8c8dad117202aedfe28308cb17cdc0e88ef8c444f018434d660e540f7d6b782e55e07aba0b9010ee518f0ab65960b7d862bd0eda54df3df5a6758 +DIST discordo-0_pre20251202.tar.gz 588732 BLAKE2B a83b4739b29dacb1b6f5dde71ffc3b7f80e27c8725b61e934316a896b0b9bfd3432e9c6df7be96c1f68c27efc568519784feebf153160296ea07244e78373443 SHA512 f5bc0e5729843e21cb74dd7a28f71dad08b66e7497223c139de199ec92ebca3df5ef5b0bc79ddf4da6ed248fc9bcf13f4faccf8b7cd141e9028b594c362fd6bf diff --git a/net-im/discordo/discordo-0_pre20251118.ebuild b/net-im/discordo/discordo-0_pre20251202.ebuild similarity index 71% rename from net-im/discordo/discordo-0_pre20251118.ebuild rename to net-im/discordo/discordo-0_pre20251202.ebuild index 53ae41ce2f..f0ecfe4e7d 100644 --- a/net-im/discordo/discordo-0_pre20251118.ebuild +++ b/net-im/discordo/discordo-0_pre20251202.ebuild @@ -11,40 +11,52 @@ HOMEPAGE="https://github.com/ayn2op/discordo" if [[ "${PV}" == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/ayn2op/$PN.git" - src_unpack() { - git-r3_src_unpack - go-module_live_vendor - } else # use this only for 0pre_YYYYMMDD builds, otherwise, keep it empty. # needs to be changed if you're making a new 0pre_YYYYMMDD build - GIT_COMMIT="9aa853fa6cf29653815fadae7be4c876b5c1cfdb" + GIT_COMMIT="32bb94f457685780251e5e0127f55411267b0b1a" # If another person updates it, be sure to change this line to your own depfile link SRC_URI="https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz " - KEYWORDS="~amd64" - if [[ -n "$GIT_COMMIT" ]]; then SRC_URI+="https://github.com/ayn2op/$PN/archive/$GIT_COMMIT.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${GIT_COMMIT}" else SRC_URI+="https://github.com/ayn2op/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" fi + + KEYWORDS="~amd64" fi LICENSE="GPL-3" + +# echo "# dependency licenses:"; printf 'LICENSES+=" '; go-licenses report ./... 2>/dev/null | +# awk -F ',' '{ print $NF }' | sort --unique | sed -E 's/BSD-3-Clause/BSD/' | tr '[:space:]' ' '; echo '"' + +# dependency licenses: +LICENSES+=" Apache-2.0 BSD-2-Clause BSD GPL-3.0 ISC MIT " + SLOT="0" BDEPEND=" - >=dev-lang/go-1.25 + >=dev-lang/go-1.25.3 x11-libs/libnotify " DOCS=( README.md internal/config/config.toml ) +src_unpack() { + if [[ "$PV" == *9999* ]];then + git-r3_src_unpack + go-module_live_vendor + else + default + fi +} + src_compile() { - ego build -o "bin/$PN" + CGO_ENABLED=0 ego build -o "bin/$PN" } src_install() {
