You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
48 lines
1.2 KiB
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit bash-completion-r1 xdg
|
|
|
|
DESCRIPTION="Client tools for the ColorHug display colorimeter"
|
|
HOMEPAGE="http://www.hughski.com/"
|
|
SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
# Tests need valgrind, that needs glibc with debugging symbols
|
|
RESTRICT="test"
|
|
|
|
RDEPEND="
|
|
dev-db/sqlite:3
|
|
>=dev-libs/glib-2.31.10:2
|
|
>=dev-libs/libgusb-0.2.2
|
|
media-libs/lcms:2
|
|
>=media-libs/libcanberra-0.10[gtk3]
|
|
net-libs/libsoup:2.4
|
|
>=x11-libs/gtk+-3.11.2:3
|
|
>=x11-misc/colord-1.2.9:0=
|
|
>=x11-libs/colord-gtk-0.1.24"
|
|
DEPEND="${RDEPEND}"
|
|
# docbook stuff needed for man pages
|
|
BDEPEND="
|
|
app-text/docbook-sgml-dtd:4.1
|
|
app-text/docbook-sgml-utils
|
|
app-text/yelp-tools
|
|
>=dev-util/intltool-0.50
|
|
>=sys-devel/gettext-0.17
|
|
virtual/pkgconfig"
|
|
|
|
src_configure() {
|
|
# introspection checked but not needed by anything
|
|
# Install completions manually to prevent dependency on bash-completion, bug #546166
|
|
econf --disable-introspection --disable-bash-completion
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
dobashcomp data/bash/colorhug-cmd
|
|
}
|