1 # Copyright 1999-2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION
="Advanced color picker written in C++ using GTK+ toolkit"
9 HOMEPAGE
="https://github.com/thezbyg/gpick"
10 SRC_URI
="https://github.com/thezbyg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
13 KEYWORDS
="~amd64 ~x86"
21 nls? ( sys-devel/gettext )
22 gtk3? ( x11-libs/gtk+:3 )
23 !gtk3? ( x11-libs/gtk+:2 )
28 PATCHES
=( "${FILESDIR}/gpick-libc.patch" )
31 cp "${FILESDIR}/.version" . || die
37 -DUSE_GTK3=$
(usex gtk3 ON OFF
)
38 -DENABLE_NLS=$
(usex nls ON OFF
)
46 mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" || die