summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-07-27 21:51:53 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-07-27 21:51:53 +0000
commit248b3edc8a55e592ba145fa9ddb10a5d35e4756e (patch)
treee008c7cac6badf4ddef9dd5d7b58f6050d6db264 /media-libs
parent QA: Stumbling about a pretty broken KDE ebuild on qt_min_version() deprecati... (diff)
downloadgentoo-2-248b3edc8a55e592ba145fa9ddb10a5d35e4756e.tar.gz
gentoo-2-248b3edc8a55e592ba145fa9ddb10a5d35e4756e.tar.bz2
gentoo-2-248b3edc8a55e592ba145fa9ddb10a5d35e4756e.zip
Bump, drop beta5.
(Portage version: 2.2_rc3/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/ming/ChangeLog8
-rw-r--r--media-libs/ming/ming-0.4.0_rc1.ebuild (renamed from media-libs/ming/ming-0.4.0_beta5.ebuild)29
2 files changed, 23 insertions, 14 deletions
diff --git a/media-libs/ming/ChangeLog b/media-libs/ming/ChangeLog
index db46a3762ef6..6328e3d801c8 100644
--- a/media-libs/ming/ChangeLog
+++ b/media-libs/ming/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/ming
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.40 2008/06/29 16:51:01 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.41 2008/07/27 21:51:53 loki_val Exp $
+
+*ming-0.4.0_rc1 (27 Jul 2008)
+
+ 27 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+ -ming-0.4.0_beta5.ebuild, +ming-0.4.0_rc1.ebuild:
+ Bump, drop beta5.
29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
ming-0.4.0_beta5.ebuild:
diff --git a/media-libs/ming/ming-0.4.0_beta5.ebuild b/media-libs/ming/ming-0.4.0_rc1.ebuild
index dfed5fc5f219..d83ffa5aaa20 100644
--- a/media-libs/ming/ming-0.4.0_beta5.ebuild
+++ b/media-libs/ming/ming-0.4.0_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.4.0_beta5.ebuild,v 1.4 2008/06/29 16:55:00 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.4.0_rc1.ebuild,v 1.1 2008/07/27 21:51:53 loki_val Exp $
EAPI=1
@@ -23,29 +23,30 @@ RDEPEND="perl? ( dev-lang/perl )
sys-libs/zlib
!media-libs/libswf"
DEPEND="${DEPEND}
- >=dev-lang/swig-1.3.35
sys-devel/flex"
S=${WORKDIR}/${P/_/.}
+#Tests only work when the package is installed onto a system
+#which does not presently have any version of ming installed.
+
+RESTRICT="test"
+
src_unpack() {
unpack ${A}
cd "${S}"
- #We need to do this with Swig >=1.3.35, or the tests will
- #fail for the python extension using gcc-4.3.
- #probably some aliasing issue with gcc-4.3*
-
- pushd py_ext &> /dev/null
- swig -I.. -python ming.i
- popd &> /dev/null
-
- #Let's get rid of the TEXTRELS, link dynamic.
+ #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
+
rm macros/libtool.m4
- AT_M4DIR="macros" eautoreconf
+ eautoreconf
}
src_compile() {
@@ -89,9 +90,11 @@ pkg_postinst() {
fi
if use python
then
+ python_version
ebegin "Compiling ming.py"
- python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/ming.py || die "ming.py failed"
+ python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/ming.py
eend $?
+
ebegin "Compiling mingc.py"
python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/mingc.py || die "mingc.py failed"
eend $?