app-i18n/scim-wijesekera: Port to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Sun, 31 Dec 2017 13:06:25 +0000 (14:06 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 31 Dec 2017 13:07:11 +0000 (14:07 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-i18n/scim-wijesekera/scim-wijesekera-0.3.3-r1.ebuild
profiles/package.mask

index 69f362e5b6ec37b8dd4097dff64911fe50a819c9..28914bc279f68cbaa3044264d24223474c66221c 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
+EAPI=6
 
-inherit autotools eutils
+inherit autotools
 
 DESCRIPTION="Wijesekara keyboard for Sinhala input using scim"
 HOMEPAGE="http://sinhala.sourceforge.net/"
@@ -18,13 +18,20 @@ RDEPEND=">=app-i18n/scim-0.99.8[-gtk3]"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
+PATCHES=( "${FILESDIR}"/${P}-gcc43.patch )
+
 src_prepare() {
-       epatch "${FILESDIR}/${P}-gcc43.patch"
+       default
        eautoreconf
 }
 
+src_configure() {
+       econf --disable-static
+}
+
 src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
+       default
 
-       dodoc AUTHORS ChangeLog NEWS README
+       # plugin module, no point in .la files
+       find "${D}" -name '*.la' -delete || die
 }
index 90fdf16d7c97c41c95e3c51619258ab82b83fdc2..533c373b04cdfd3878910bb381df507feca34425 100644 (file)
 
 #--- END OF EXAMPLES ---
 
-# David Seifert <soap@gentoo.org> (31 Dec 2017)
-# Dead upstream, broken use of GTK+, unmaintained.
-# Removal in 30 days
-app-i18n/scim-wijesekera
-
 # Alice Ferrazzi <alicef@gentoo.org> (30 Dec 2017)
 # Masked for removal in 30 days.
 # Upstream is no more backporting security fixes for 4.12.