blob: d6421683484024a0d8814006c0ad07ed0d9b84d4 (
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
|
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson xdg
DESCRIPTION="A simple color chooser written in GTK3"
HOMEPAGE="https://gitlab.gnome.org/World/gcolor3"
SRC_URI="https://gitlab.gnome.org/World/gcolor3/-/archive/v${PV}/gcolor3-v${PV}.tar.bz2"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-libs/libportal[gtk]
>=gui-libs/libhandy-1.5.0
x11-libs/gtk+:3
"
DEPEND="${RDEPEND}"
BDEPEND="sys-devel/gettext"
# NOTE: remove for next version
PATCHES=( "${FILESDIR}/${P}-update-to-libportal-0.5.patch" )
src_prepare() {
# Updates desktop database and icon cache
sed -i "/^meson\.add_install_script('meson_install\.sh'/d" meson.build \
|| die "Could not remove install script from build recipe"
default
}
|