dux-desktop/dux-calendar - 2.1.0 (guru)

Search

Install

Install this version:

emerge -a =dux-desktop/dux-calendar-2.1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dux-desktop/dux-calendar-2.1.0

Or alternatively:

emerge --autounmask-write -a =dux-desktop/dux-calendar-2.1.0

Package Information

Description:
Calendar from Dux Labs
Homepage:
https://github.com/duxlabs-dev/dux-calendar
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.1.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit systemd xdg

DESCRIPTION="Calendar from Dux Labs"
HOMEPAGE="https://github.com/duxlabs-dev/dux-calendar"

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}/dankcalendar-${PV}.tar.gz"
	S="${WORKDIR}/dankcalendar-${PV}"

	KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0"

DEPEND="
	dev-qt/qtdeclarative
	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/dcal.service
}

Inherited Eclasses

xdg

Dependencies

DEPEND

	dev-qt/qtdeclarative
	gui-apps/quickshell

RDEPEND

	dev-qt/qtdeclarative
	gui-apps/quickshell

BDEPEND

	>=dev-lang/go-1.27.1

Manifest for 2.1.0

Type File Size Source URLs
DIST dankcalendar-2.1.0.tar.gz 71706502 bytes https://github.com/duxlabs-dev/dux-calendar/releases/download/v2.1.0/dankcalendar-2.1.0.tar.gz