Install this version:
emerge -a =net-misc/landrop-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-misc/landrop-9999
Or alternatively:
emerge --autounmask-write -a =net-misc/landrop-9999
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN=LANDrop
MY_P=${MY_PN}-${PV}
inherit qmake-utils xdg
DESCRIPTION="Drop any files to any devices on your LAN"
HOMEPAGE="https://landrop.app"
if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
inherit git-r3
S="${WORKDIR}/${P}/${MY_PN}"
else
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_P}/${MY_PN}"
fi
LICENSE="BSD"
SLOT="0"
DEPEND="dev-libs/libsodium:=
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}"
src_configure() {
PREFIX="/usr" eqmake5
}
src_install() {
emake INSTALL_ROOT="${D}" install
dodoc ../README.md
}
dev-libs/libsodium:= dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5
dev-libs/libsodium:= dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5