blob: d93fae739058718e13240c7b84222cb0b5e03c7b (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="GTK3 settings editor adapted to work in the sway / wlroots environment"
HOMEPAGE="https://github.com/nwg-piotr/nwg-look"
SRC_URI="https://github.com/nwg-piotr/nwg-look/archive/refs/tags/v${PV}.tar.gz -> nwg-look-${PV}.tar.gz
https://github.com/micielski/nwg-look-vendor/releases/download/${PV}/nwg-look-${PV}-vendor.tar.xz
"
inherit go-module xdg desktop
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz
x11-apps/xcur2png
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:3
x11-libs/pango
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
ego build
}
src_install() {
dobin nwg-look
insinto /usr/share/nwg-look
doins -r langs
doins stuff/main.glade
insinto /usr/share/pixmaps
doins stuff/nwg-look.svg
domenu stuff/nwg-look.desktop
}
|