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/${P}.tar.gz"
14 KEYWORDS
="~amd64 ~x86"
22 nls? ( sys-devel/gettext )
23 gtk3? ( x11-libs/gtk+:3 )
24 !gtk3? ( x11-libs/gtk+:2 )
29 S
="${WORKDIR}/gpick-gpick-${PV}"
37 -DUSE_GTK3=$
(usex gtk3 ON OFF
)
38 -DENABLE_NLS=$
(usex nls ON OFF
)
45 exeinto
"/usr/$(get_libdir)"
55 mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${P}" || die