diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-11-14 21:18:34 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-11-14 21:18:34 +0100 |
commit | 90085042e68794f140d5209d482eb0ffe003ca57 (patch) | |
tree | 8f0e634d02e02b3d7b0ac1603b00ff268d4fe697 /dev-libs/libstroke | |
parent | dev-libs/liblouis: disable static libs (diff) | |
download | gentoo-90085042e68794f140d5209d482eb0ffe003ca57.tar.gz gentoo-90085042e68794f140d5209d482eb0ffe003ca57.tar.bz2 gentoo-90085042e68794f140d5209d482eb0ffe003ca57.zip |
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 <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/libstroke')
-rw-r--r-- | dev-libs/libstroke/libstroke-0.5.1-r1.ebuild | 28 |
1 files changed, 18 insertions, 10 deletions
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 } |