net-im/gomuks, package.mask: Drop masked gomuks
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
parent
8d2eb8ef04
commit
f2d4d21ba8
@ -1,2 +0,0 @@
|
||||
DIST gomuks-0.3.0_p20230710-deps.tar.xz 86695612 BLAKE2B a8faf8a1190e472dd3bdf46afe129aa301f4c05dadab78998759506bdd9387bce765565a1f54ae6d7ca2741bd295878836a1f8811085fbb26ac649af5293cbf0 SHA512 38cb7742dc9cd1de308a6b6b9de2051e64cb5a4703dda36795765ff15830d4e5ed357066532b0dc346ecf8e6a5cf332f5d52b92a627268a1ba2b4b30c1b91301
|
||||
DIST gomuks-0.3.0_p20230710.tar.gz 294608 BLAKE2B c98bb077e85440da366204b3a13db2dabed59f1cbec289a1c3ada251dfc39dd44f3e3be1d6bbf17e2b01c224d4b386dd14568ee3dcafe2de638428344f405ff7 SHA512 fb3e46be12b35296c4ed90abeb411c81f014a0a76415ecd5e5352262846160d2beface9f5fd609b3fa980171902d1308cb4863ed4fe3ba58599085cf57150b43
|
@ -1,58 +0,0 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
EGO_PN="github.com/tulir/gomuks"
|
||||
inherit go-module
|
||||
COMMIT_ID="09a927955810f6f0c6d3f4809d9b01eda365fd39"
|
||||
|
||||
DESCRIPTION="A terminal based Matrix client written in Go"
|
||||
HOMEPAGE="https://github.com/tulir/gomuks"
|
||||
|
||||
if [[ ${PV} == *_p* ]]; then
|
||||
SRC_URI="https://${EGO_PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT_ID}"
|
||||
else
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
# Add the manually vendored tarball.
|
||||
# 1) Create a tar archive optimized to reproduced by other users or devs.
|
||||
# 2) Compress the archive using XZ limiting decompression memory for
|
||||
# pretty constraint systems.
|
||||
# Use something like:
|
||||
# tar cf $P-deps.tar go-mod \
|
||||
# --mtime="1970-01-01" --sort=name --owner=portage --group=portage
|
||||
# xz -k -9eT0 --memlimit-decompress=256M $P-deps.tar
|
||||
SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/golang-pkg-deps/${P}-deps.tar.xz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="
|
||||
AGPL-3
|
||||
Apache-2.0
|
||||
BSD
|
||||
GPL-3
|
||||
MIT
|
||||
MPL-2.0
|
||||
"
|
||||
SLOT="0"
|
||||
IUSE="+encryption"
|
||||
|
||||
DEPEND="encryption? ( dev-libs/olm )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
# Flags -w, -s: Omit debugging information to reduce binary size,
|
||||
# see https://golang.org/cmd/link/.
|
||||
local mygobuildargs=(
|
||||
-ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT} -s -w"
|
||||
-mod mod -v -work -x
|
||||
)
|
||||
|
||||
use encryption || export CGO_ENABLED=0
|
||||
go build "${mygobuildargs[@]}" . || die "go build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>nils.freydank@posteo.de</email>
|
||||
<name>Nils Freydank</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="encryption">Use dev-libs/olm for encryption</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">tulir/gomuks</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -3,8 +3,3 @@
|
||||
# syntax:
|
||||
# author <email address> (LANG=C date -u +"%Y-%m-%d)
|
||||
# reason
|
||||
|
||||
# Nils Freydank <nils.freydank@posteo.de> (2024-04-14)
|
||||
# I don't use that matrix client anymore.
|
||||
# Removal after 2024-05-15.
|
||||
net-im/gomuks
|
||||
|
Loading…
x
Reference in New Issue
Block a user