From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/ming/
Date: Wed, 27 Jan 2016 16:46:09 +0000 (UTC) [thread overview]
Message-ID: <1453913165.5a02e64e77d4ed9fa1ade8f8bacb8ec7588c4429.mgorny@gentoo> (raw)
commit: 5a02e64e77d4ed9fa1ade8f8bacb8ec7588c4429
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 27 16:40:03 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 27 16:46:05 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a02e64e
media-libs/ming: Bump to 0.4.7
Fixes giflib-5 support, #450610. Fixes linking to -lgif when building
Python module. Ebuild bumped to EAPI=6, dropped autotools-utils.
Upstream switched to snapshots, so added necessary eautoreconf
and parallel make issue workaround.
media-libs/ming/Manifest | 1 +
media-libs/ming/ming-0.4.7.ebuild | 95 +++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
diff --git a/media-libs/ming/Manifest b/media-libs/ming/Manifest
index 68fd006..3331217 100644
--- a/media-libs/ming/Manifest
+++ b/media-libs/ming/Manifest
@@ -1,2 +1,3 @@
DIST ming-0.4.4.tar.bz2 14001112 SHA256 40e09d781741ac961338ed8dec7ba2ed06217de9da44dd67af6b881b95d2af7e SHA512 a95cb843b4f88c767d489fc0d55793655fb578c47681131d335c47fbb7368f996ccc2092630cfc33de4487f840b4a4ba8db837bd7115ef9e4742ca9c7e2b7888 WHIRLPOOL b1a6d591f4d9312f564e9a9650df4db8f456d08161341dc7881620493513a69d17de7ee0058333447fb3b01c9be4b75da7b8cfc02123e3f6c2fe3f6b0aa068fd
DIST ming-0.4.5.tar.bz2 14234048 SHA256 82da089bdfc3a7fcb732dc11c11a35003ee270d5102d4043d61ea69834239aeb SHA512 9e5a2fb558841e72a072e2c29a0871dc7056ab57f1e6feca864b9b0961841334c4d2c6bc731bc4e043eb96b63fb946738cb1b8b54ef45679fcbf9bcf82adea31 WHIRLPOOL 2315adb1ed2b8878843ce5eef54f7c4386a69c809820aa4d2040fe4d94c0fa367cc57966a78e327f6a578c99b3ed4b1fa5d352106df9283f3b2d7f87a1178203
+DIST ming-0_4_7.tar.gz 14903570 SHA256 118aa1338dd74b34dd2cd22bce286ca0571e8b9aa433999646d1c0157ea9a7dc SHA512 232cf45daabd7b60203c9382aa6568455a42ddcd1bd60eec9bfe3f5e80376fcc9ff6304efbafca1ac8a504e2e167bc394e4902e0d067303d9582551461e09d3c WHIRLPOOL 075794f170e7f529ba79a66af4504745da786d7cd73e9673ffd4c48e943fbc8bf1f952f1cc0b0b7b0ca1e26a3bdb255feeaaeb675032616d2060c40f19d4dbdd
diff --git a/media-libs/ming/ming-0.4.7.ebuild b/media-libs/ming/ming-0.4.7.ebuild
new file mode 100644
index 0000000..dbfad76
--- /dev/null
+++ b/media-libs/ming/ming-0.4.7.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PHP_EXT_NAME=ming
+PHP_EXT_OPTIONAL_USE=php
+AUTOTOOLS_AUTORECONF=yes
+GENTOO_DEPEND_ON_PERL=no
+inherit autotools distutils-r1 flag-o-matic multilib perl-module vcs-snapshot
+
+DESCRIPTION="An Open Source library for Flash movie generation"
+HOMEPAGE="http://ming.sourceforge.net/"
+SRC_URI="https://github.com/libming/libming/archive/${P//./_}.tar.gz"
+
+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 php +python static-libs"
+
+RDEPEND="perl? ( dev-lang/perl:= )
+ python? ( ${PYTHON_DEPS} )
+ media-libs/freetype:=
+ media-libs/libpng:0=
+ media-libs/giflib:=
+ sys-libs/zlib:=
+ !media-libs/libswf"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ virtual/yacc"
+PDEPEND="php? ( dev-php/ming-php )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+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"
+
+src_prepare() {
+ default
+
+ # 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:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die
+
+ eautoreconf
+}
+
+src_configure() {
+ # build is sensitive to -O3 (bug #297437)
+ replace-flags -O3 -O2
+
+ # build python via distutils calls, disable here
+ # php is done in dev-php/ming-php
+ local myconf=(
+ --disable-python
+ --disable-php
+ $(use_enable static-libs static)
+ $(use_enable perl)
+ )
+ econf "${myconf[@]}"
+}
+
+run_distutils() {
+ if use python; then
+ pushd py_ext > /dev/null || die
+ distutils-r1_"${@}"
+ popd > /dev/null || die
+ fi
+}
+
+src_compile() {
+ # some parallel make issues on flex/bison
+ emake -C src/actioncompiler -j1
+ emake
+
+ run_distutils ${FUNCNAME}
+}
+
+src_install() {
+ run_distutils ${FUNCNAME}
+
+ emake DESTDIR="${D}" INSTALLDIRS="vendor" install
+ einstalldocs
+
+ perl_delete_localpod
+ find "${ED}"usr/lib* -name '*.la' -delete
+}
next reply other threads:[~2016-01-27 16:46 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-27 16:46 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-01-27 16:46 [gentoo-commits] repo/gentoo:master commit in: media-libs/ming/ Michał Górny
2016-05-23 8:54 Tobias Klausmann
2016-06-08 20:09 Markus Meier
2016-07-03 10:46 Jeroen Roovers
2016-11-03 12:07 Pacho Ramos
2017-06-04 12:28 Thomas Deutschmann
2017-06-04 16:27 Agostino Sarubbo
2017-06-05 14:30 Thomas Deutschmann
2017-06-08 5:05 Markus Meier
2017-06-17 15:30 Sergei Trofimovich
2017-06-30 6:02 Alexis Ballier
2017-08-31 15:18 Matt Turner
2017-09-25 21:50 Sergei Trofimovich
2017-09-26 8:55 Sergei Trofimovich
2017-09-26 21:21 Sergei Trofimovich
2017-10-05 13:15 Sergei Trofimovich
2018-01-20 23:46 Aaron Bauman
2019-04-05 0:56 Aaron Bauman
2019-04-05 20:47 Agostino Sarubbo
2019-04-10 17:04 Thomas Deutschmann
2019-04-11 19:15 Sergei Trofimovich
2019-04-20 17:57 Mikle Kolyada
2019-04-20 18:43 Mikle Kolyada
2019-04-21 1:49 Aaron Bauman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1453913165.5a02e64e77d4ed9fa1ade8f8bacb8ec7588c4429.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox