guru/app-misc/nwg-look/nwg-look-0.2.5-r1.ebuild
Filip Kobierski 0c43bf152f
app-misc/nwg-look: add glib to RDEPEND
I'd like to update it to 2.7 but nwg-look-vendor's missing

Closes: https://bugs.gentoo.org/932286
Signed-off-by: Filip Kobierski <fkobi@pm.me>
2024-09-12 12:37:32 +02:00

45 lines
947 B
Bash

# Copyright 1999-2024 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"
DEPEND="
dev-libs/glib
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}"
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
}