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.
42 lines
1.0 KiB
42 lines
1.0 KiB
# Copyright 1999-2018 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
inherit gnome2
|
|
|
|
DESCRIPTION="Dictionary utility for GNOME"
|
|
HOMEPAGE="https://wiki.gnome.org/Apps/Dictionary"
|
|
|
|
LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+"
|
|
SLOT="0/10" # subslot = suffix of libgdict-1.0.so
|
|
IUSE="debug +introspection ipv6"
|
|
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
|
|
|
COMMON_DEPEND="
|
|
>=dev-libs/glib-2.42:2[dbus]
|
|
x11-libs/cairo:=
|
|
>=x11-libs/gtk+-3.21.1:3
|
|
x11-libs/pango
|
|
introspection? ( >=dev-libs/gobject-introspection-1.42:= )
|
|
"
|
|
RDEPEND="${COMMON_DEPEND}
|
|
gnome-base/gsettings-desktop-schemas
|
|
!<gnome-extra/gnome-utils-3.4
|
|
"
|
|
# ${PN} was part of gnome-utils before 3.4
|
|
DEPEND="${COMMON_DEPEND}
|
|
>=dev-util/gtk-doc-am-1.15
|
|
dev-util/glib-utils
|
|
>=dev-util/intltool-0.40
|
|
dev-util/itstool
|
|
>=sys-devel/gettext-0.17
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
src_configure() {
|
|
gnome2_src_configure \
|
|
$(usex debug --enable-debug=yes ' ') \
|
|
$(use_enable introspection) \
|
|
$(use_enable ipv6)
|
|
}
|