blob: c6f9057ce2e3ab2f1048bf217cf4ed2166ba21da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Keyboard driven and lightweight Wayland notification daemon."
HOMEPAGE="https://codeberg.org/dnkl/fnott"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/dnkl/fnott.git"
else
SRC_URI="https://codeberg.org/dnkl/fnott/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
KEYWORDS="~amd64"
fi
LICENSE="MIT ZLIB"
SLOT="0"
RDEPEND="
dev-libs/wayland
media-libs/fcft
media-libs/fontconfig
media-libs/freetype
media-libs/libpng:=
media-libs/nanosvg
sys-apps/dbus
x11-libs/pixman
"
DEPEND="
${RDEPEND}
dev-libs/tllist
>=dev-libs/wayland-protocols-1.32
"
BDEPEND="
dev-util/wayland-scanner
app-text/scdoc
"
src_configure() {
local emesonargs=(
-Dsystem-nanosvg=enabled
)
meson_src_configure
}
src_install() {
local DOCS=( CHANGELOG.md README.md )
meson_src_install
rm -r "${ED}"/usr/share/doc/"${PN}" || die
}
|