Install this version:
emerge -a =dux-desktop/dux-files-2.1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dux-desktop/dux-files-2.1.0
Or alternatively:
emerge --autounmask-write -a =dux-desktop/dux-files-2.1.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.1.0 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature systemd xdg
DESCRIPTION="File manager from Dux Labs"
HOMEPAGE="https://github.com/duxlabs-dev/dux-files"
if [[ ${PV} == 9999 ]]; then
inherit git-r3 go-module
EGIT_REPO_URI="https://github.com/duxlabs-dev/${PN}.git"
else
SRC_URI="https://github.com/duxlabs-dev/${PN}/releases/download/v${PV}/dfiles-${PV}.tar.gz"
S="${WORKDIR}/dfiles-${PV}"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
DEPEND="
gui-apps/quickshell
"
RDEPEND="${DEPEND}"
BDEPEND="
>=dev-lang/go-1.27.1
"
src_unpack() {
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
pushd "${S}/core" >& /dev/null || die
ego mod vendor
popd >& /dev/null || die
else
default
fi
}
src_prepare(){
default
sed -i "s/-s -w //g" core/Makefile || die "failed to remove stripping of debug symbols"
}
src_compile() {
cd core || die "Failed to cd"
emake VERSION="${PV}" build
}
src_install() {
emake DESTDIR="${ED}" PREFIX="/usr" install
systemd_douserunit assets/systemd/dfiles.service
}
pkg_postinst() {
xdg_pkg_postinst
optfeature_header "Optional programs for extra features:"
optfeature "Thumbnailer sandbox" sys-apps/bubblewrap
optfeature "Video thumbnails" media-video/ffmpegthumbnailer
optfeature "PDF thumbnails" app-text/poppler
optfeature "Network shares and removeable drives" gnome-base/gvfs
optfeature "Devices sidebar" sys-fs/udisks
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | dfiles-2.1.0.tar.gz | 17759250 bytes | https://github.com/duxlabs-dev/dux-files/releases/download/v2.1.0/dfiles-2.1.0.tar.gz |