Install this version:
emerge -a =gui-apps/notify-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =gui-apps/notify-9999
Or alternatively:
emerge --autounmask-write -a =gui-apps/notify-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | ~amd64 | 0 |
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 savedconfig toolchain-funcs
DESCRIPTION="Simple notification daemon"
HOMEPAGE="https://gitlab.com/HansvonHohenstaufen/notify"
EGIT_REPO_URI="https://gitlab.com/HansvonHohenstaufen/notify"
EGIT_BRANCH="develop"
LICENSE="MIT"
SLOT="0"
IUSE="tcc"
KEYWORDS="~amd64"
RESTRICT="mirror"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="tcc? ( dev-lang/tcc )"
src_prepare() {
default
sed -i \
-e 's|^ @| |g' \
-e 's|@${CC}|$(CC)|g' \
-e '/^ echo/d' \
makefile || die
if use !tcc; then
sed -i \
-e "s/ -Os / /" \
-e "/^\(LDFLAGS\|CFLAGS\)/{s| = | += |g;s|-s ||g}" \
config.mk || die
fi
restore_config config.h
}
src_compile() {
if use tcc; then
emake CC="tcc"
else
emake CC="$(tc-getCC)"
fi
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
save_config config.h
}
Manage flags for this package:
euse -i <flag> -p gui-apps/notify |
euse -E <flag> -p gui-apps/notify |
euse -D <flag> -p gui-apps/notify
tcc? ( dev-lang/tcc )