From 90085042e68794f140d5209d482eb0ffe003ca57 Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Sat, 14 Nov 2020 21:18:34 +0100 Subject: dev-libs/libstroke: disable static libs Closes: https://bugs.gentoo.org/726982 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic Signed-off-by: David Seifert --- dev-libs/libstroke/libstroke-0.5.1-r1.ebuild | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'dev-libs/libstroke') diff --git a/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild b/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild index 1eb5fa30dc6c..cb4bde34cb74 100644 --- a/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild +++ b/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit eutils autotools +inherit autotools DESCRIPTION="A Stroke and Gesture recognition Library" HOMEPAGE="http://www.etla.net/libstroke/" @@ -12,21 +12,29 @@ SRC_URI="http://www.etla.net/libstroke/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86" -IUSE="" RDEPEND="x11-libs/libX11" -DEPEND="x11-base/xorg-proto - ${RDEPEND}" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}"/${P}-m4_syntax.patch + "${FILESDIR}"/${P}-no_gtk1.patch + "${FILESDIR}"/${P}-autotools.patch +) src_prepare() { - eapply "${FILESDIR}"/${P}-m4_syntax.patch - eapply "${FILESDIR}"/${P}-no_gtk1.patch - eapply "${FILESDIR}"/${P}-autotools.patch - eapply_user + default + mv configure.{in,ac} || die eautoreconf } +src_configure() { + econf --disable-static +} + src_install() { - emake DESTDIR="${D}" install - dodoc CREDITS ChangeLog README + default + find "${ED}" -name '*.la' -delete || die } -- cgit v1.2.3-65-gdbad