mrueg       14/07/25 14:17:48

  Modified:             ChangeLog
  Added:                enca-1.14-r2.ebuild
  Removed:              enca-1.14.ebuild enca-1.12.ebuild
                        enca-1.13-r2.ebuild
  Log:
  Cleanup old. Bump EAPI. Fix gettext dependency. Thanks to Nikoli. Fixes bug 
#516804.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )

Revision  Changes    Path
1.102                app-i18n/enca/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/enca/ChangeLog?rev=1.102&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/enca/ChangeLog?rev=1.102&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/enca/ChangeLog?r1=1.101&r2=1.102

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-i18n/enca/ChangeLog,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- ChangeLog   23 Jul 2014 15:13:19 -0000      1.101
+++ ChangeLog   25 Jul 2014 14:17:48 -0000      1.102
@@ -1,6 +1,13 @@
 # ChangeLog for app-i18n/enca
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/enca/ChangeLog,v 1.101 2014/07/23 
15:13:19 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/enca/ChangeLog,v 1.102 2014/07/25 
14:17:48 mrueg Exp $
+
+*enca-1.14-r2 (25 Jul 2014)
+
+  25 Jul 2014; Manuel RĂ¼ger <mr...@gentoo.org> +enca-1.14-r2.ebuild,
+  -enca-1.12.ebuild, -enca-1.13-r2.ebuild, -enca-1.14.ebuild:
+  Cleanup old. Bump EAPI. Fix gettext dependency. Thanks to Nikoli. Fixes bug
+  #516804.
 
   23 Jul 2014; Agostino Sarubbo <a...@gentoo.org> enca-1.14-r1.ebuild:
   Stable for x86, wrt bug #512012



1.1                  app-i18n/enca/enca-1.14-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/enca/enca-1.14-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/enca/enca-1.14-r2.ebuild?rev=1.1&content-type=text/plain

Index: enca-1.14-r2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/enca/enca-1.14-r2.ebuild,v 1.1 
2014/07/25 14:17:48 mrueg Exp $

EAPI=5

AUTOTOOLS_AUTORECONF=2.52

inherit eutils toolchain-funcs autotools-multilib

DESCRIPTION="ENCA detects the character coding of a file and converts it if 
desired"
HOMEPAGE="http://gitorious.org/enca";
SRC_URI="http://dl.cihar.com/${PN}/${P}.tar.bz2";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc +recode"

RDEPEND="recode? ( >=app-text/recode-3.6_p15 )"
DEPEND="${RDEPEND}
        sys-devel/gettext"

src_prepare() {
        epatch "${FILESDIR}"/${PN}-remove-dirty-path-hack.patch\
                "${FILESDIR}"/${P}-automake-1.13.patch
        rm missing # too old, automake will update it
        # fix crosscompilation, bug #424473
        if tc-is-cross-compiler; then
                sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am 
|| die
        fi
        autotools-multilib_src_prepare
}

src_configure() {
        local myeconfargs=(
                --enable-external
                --disable-static
                $(use_with recode librecode "${EPREFIX}"/usr)
                $(use_enable doc gtk-doc)
        )
        autotools-multilib_src_configure
}

multilib_src_compile() {
        if tc-is-cross-compiler; then
                pushd "${BUILD_DIR}"/tools > /dev/null
                $(tc-getBUILD_CC) -o native_make_hash "${S}"/tools/make_hash.c 
|| die "native make_hash failed"
                popd > /dev/null
        fi
        # It will fail if we run these twice...
        if ! multilib_is_native_abi ; then
                sed -i -e 's/ src / /'\
                        -e '/SUBDIRS/s/ test//' Makefile\
                        -e 
's/install-data-hook:/install-data-hook:\n\ndisabled:/' Makefile || die
        fi
        autotools-utils_src_compile
}




Reply via email to