1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils xdg-utils flag-o-matic gnome2-utils versionator
10 DESCRIPTION="GPL Electronic Design Automation (gEDA):gaf core package"
11 HOMEPAGE="http://wiki.geda-project.org/geda:gaf"
12 SRC_URI="http://ftp.geda-project.org/${MY_PN}/stable/v$(get_version_component_range 1-2)/${PV}/${MY_P}.tar.gz"
16 KEYWORDS="amd64 ppc x86"
17 IUSE="debug doc examples nls stroke threads"
22 >=x11-libs/cairo-1.2.0
23 >=dev-scheme/guile-1.8[deprecated]
25 nls? ( virtual/libintl )
26 stroke? ( >=dev-libs/libstroke-0.5.1 )"
30 dev-util/desktop-file-utils
31 x11-misc/shared-mime-info
33 nls? ( >=sys-devel/gettext-0.16 )"
36 sci-electronics/electronics-menu"
40 DOCS="AUTHORS NEWS README"
45 sed -i -e '/^SUBDIRS = /s/docs//' Makefile.in || die
47 if ! use examples ; then
48 sed -i -e 's/\texamples$//' Makefile.in || die
54 --docdir=/usr/share/doc/${PF} \
55 $(use_enable threads threads posix) \
56 $(use_with stroke libstroke) \
58 $(use_enable debug assert) \
61 --disable-update-xdg-database
73 xdg_desktop_database_update
74 xdg_mimeinfo_database_update
75 gnome2_icon_cache_update
79 xdg_desktop_database_update
80 xdg_mimeinfo_database_update
81 gnome2_icon_cache_update