zlogene     14/11/09 17:58:40

  Modified:             ChangeLog
  Added:                ming-0.4.4-r1.ebuild
  Removed:              ming-0.4.4.ebuild
  Log:
  Bump to EAPI=5
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, RepoMan options: --force, signed 
Manifest commit with key 0xC42EB5D6)

Revision  Changes    Path
1.108                media-libs/ming/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ming/ChangeLog?rev=1.108&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ming/ChangeLog?rev=1.108&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ming/ChangeLog?r1=1.107&r2=1.108

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- ChangeLog   31 Aug 2014 13:41:42 -0000      1.107
+++ ChangeLog   9 Nov 2014 17:58:40 -0000       1.108
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/ming
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.107 
2014/08/31 13:41:42 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.108 
2014/11/09 17:58:40 zlogene Exp $
+
+*ming-0.4.4-r1 (09 Nov 2014)
+
+  09 Nov 2014; Mikle Kolyada <[email protected]> +ming-0.4.4-r1.ebuild,
+  -ming-0.4.4.ebuild:
+  Bump to EAPI=5
 
   31 Aug 2014; Samuli Suominen <[email protected]> metadata.xml:
   This package should have had graphics as a backup from the start.



1.1                  media-libs/ming/ming-0.4.4-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ming/ming-0.4.4-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ming/ming-0.4.4-r1.ebuild?rev=1.1&content-type=text/plain

Index: ming-0.4.4-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.4.4-r1.ebuild,v 1.1 
2014/11/09 17:58:40 zlogene Exp $

EAPI=5

PHP_EXT_NAME=ming
PHP_EXT_OPTIONAL_USE=php
PYTHON_DEPEND="python? 2"
AUTOTOOLS_AUTORECONF=yes

inherit autotools-utils flag-o-matic multilib php-ext-source-r2 perl-module 
python

DESCRIPTION="An Open Source library for Flash movie generation"
HOMEPAGE="http://ming.sourceforge.net/";
SRC_URI="mirror://sourceforge/ming/${P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 
~amd64-fbsd ~x86-fbsd"
IUSE="+perl +python php static-libs"

RDEPEND="perl? ( dev-lang/perl )
        python? ( dev-lang/python )
        media-libs/freetype
        media-libs/libpng
        media-libs/giflib
        sys-libs/zlib
        !media-libs/libswf"
DEPEND="${DEPEND}
        sys-devel/flex
        virtual/yacc"

S=${WORKDIR}/${P/_/.}

# Tests only work when the package is tested on a system
# which does not presently have any version of ming installed.
RESTRICT="test"

pkg_setup() {
        use python && python_set_active_version 2 && python_pkg_setup
}

PATCHES=(
        "${FILESDIR}"/${P}-vasprintf.patch
        "${FILESDIR}"/${PN}-0.4.3-perl-5.14.patch )

src_prepare() {
        # Let's get rid of the TEXTRELS, link dynamic. Use gif.
        sed -i \
                -e 's/libming.a/libming.so/' \
                -e 's/lungif/lgif/' \
                perl_ext/Makefile.PL
        sed -i \
                -e 's/ungif/gif/' \
                py_ext/setup.py.in

        if use php; then
                cd "${S}/php_ext"
                php-ext-source-r2_phpize
                cd "${S}"
        fi

        sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die

        autotools-utils_src_prepare
}

src_configure() {
        # build is sensitive to -O3 (bug #297437)
        replace-flags -O3 -O2

        local myeconfargs=(
                $(use_enable static-libs static)
                $(use_enable perl)
                $(use_enable python)
                )
        autotools-utils_src_configure
}

src_compile() {
        autotools-utils_src_compile

        if use php; then
                cd "${S}"/php_ext
                myconf="--disable-rpath
                        --disable-static
                        --with-ming"
                php-ext-source-r2_src_compile
        fi
}

src_install() {
        autotools-utils_src_install INSTALLDIRS="vendor"

        fixlocalpod

        use python && python_clean_installation_image

        if use php; then
                cd "${S}"/php_ext
                php-ext-source-r2_src_install
        fi
}

pkg_postinst() {
        use perl && perl-module_pkg_postinst
        use python && python_mod_optimize ming.py mingc.py
}

pkg_prerm() {
        use perl && perl-module_pkg_prerm
}

pkg_postrm() {
        use perl && perl-module_pkg_postrm
        use python && python_mod_cleanup ming.py mingc.py
}




Reply via email to