aballier    14/03/09 08:52:15

  Modified:             ChangeLog
  Added:                recode-3.6_p20-r1.ebuild
  Log:
  convert to multilib (needed by enca, needed by libass)
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.99                 app-text/recode/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/recode/ChangeLog?rev=1.99&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/recode/ChangeLog?rev=1.99&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/recode/ChangeLog?r1=1.98&r2=1.99

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- ChangeLog   6 Apr 2013 09:43:33 -0000       1.98
+++ ChangeLog   9 Mar 2014 08:52:15 -0000       1.99
@@ -1,6 +1,11 @@
 # ChangeLog for app-text/recode
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v 1.98 2013/04/06 
09:43:33 jlec Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v 1.99 2014/03/09 
08:52:15 aballier Exp $
+
+*recode-3.6_p20-r1 (09 Mar 2014)
+
+  09 Mar 2014; Alexis Ballier <[email protected]> +recode-3.6_p20-r1.ebuild:
+  convert to multilib (needed by enca, needed by libass)
 
 *recode-3.6_p20 (06 Apr 2013)
 



1.1                  app-text/recode/recode-3.6_p20-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/recode/recode-3.6_p20-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/recode/recode-3.6_p20-r1.ebuild?rev=1.1&content-type=text/plain

Index: recode-3.6_p20-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/recode/recode-3.6_p20-r1.ebuild,v 
1.1 2014/03/09 08:52:15 aballier Exp $

EAPI=5

WANT_AUTOMAKE="1.11" # bug 419455

inherit autotools eutils flag-o-matic libtool toolchain-funcs multilib-minimal

MY_P=${P%_*}
MY_PV=${PV%_*}
DEB_PATCH=${PV#*p}

DESCRIPTION="Convert files between various character sets"
HOMEPAGE="http://recode.progiciels-bpi.ca/";
SRC_URI="
        mirror://gnu/${PN}/${MY_P}.tar.gz
        
mirror://debian/pool/main/r/${PN}/${PN}_${MY_PV}-${DEB_PATCH}.debian.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="nls static-libs"

DEPEND="
        sys-devel/flex
        nls? ( sys-devel/gettext )"
RDEPEND=""

S=${WORKDIR}/${MY_P}

src_prepare() {
        rm "${WORKDIR}"/debian/patches/series || die
        epatch \
                "${FILESDIR}/${MY_P}-gettextfix.diff" \
                "${FILESDIR}"/${MY_P}-as-if.patch \
                "${WORKDIR}"/debian/patches/*
        sed -i '1i#include <stdlib.h>' src/argmatch.c || die

        # Remove old libtool macros
        rm "${S}"/acinclude.m4 || die

        eautoreconf
        elibtoolize
}

multilib_src_configure() {
        # on solaris -lintl is needed to compile
        [[ ${CHOST} == *-solaris* ]] && append-libs "-lintl"
        # --without-included-gettext means we always use system headers
        # and library
        ECONF_SOURCE="${S}" econf \
                --without-included-gettext \
                $(use_enable nls) \
                $(use_enable static-libs static)
}

multilib_src_install_all() {
        einstalldocs
        find "${ED}" -name '*.la' -exec rm -f {} + || die
        rm -f "${ED}"/usr/lib/charset.alias || die
}




Reply via email to