diff --git a/x11-libs/gtkdatabox/gtkdatabox-0.9.3.0.ebuild b/x11-libs/gtkdatabox/gtkdatabox-0.9.3.0.ebuild index 7e3cc26ba97b7..7262b803969bd 100644 --- a/x11-libs/gtkdatabox/gtkdatabox-0.9.3.0.ebuild +++ b/x11-libs/gtkdatabox/gtkdatabox-0.9.3.0.ebuild @@ -1,10 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils ltprune - DESCRIPTION="Gtk+ Widgets for live display of large amounts of fluctuating numerical data" HOMEPAGE="https://sourceforge.net/projects/gtkdatabox/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -12,14 +10,14 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 x86" -IUSE="examples +glade static-libs test" +IUSE="examples +glade test" RESTRICT="!test? ( test )" RDEPEND="x11-libs/cairo x11-libs/gtk+:2 x11-libs/pango glade? ( gnome-base/libglade )" -DEPEND=${RDEPEND} +DEPEND="${RDEPEND}" src_prepare() { default @@ -37,7 +35,7 @@ src_configure() { econf \ $(use_enable glade libglade) \ --disable-glade \ - $(use_enable static-libs static) \ + --disable-static \ $(use_enable test gtktest) \ --enable-libtool-lock } @@ -45,9 +43,10 @@ src_configure() { src_install() { default - prune_libtool_files + find "${ED}" -type f -name '*.la' -delete || die dodoc AUTHORS ChangeLog README TODO + if use examples; then docinto examples dodoc "${S}"/examples/*