summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pygame/ChangeLog8
-rw-r--r--dev-python/pygame/pygame-1.8.0_rc4.ebuild21
2 files changed, 21 insertions, 8 deletions
diff --git a/dev-python/pygame/ChangeLog b/dev-python/pygame/ChangeLog
index a00c6b62680c..d3aa5c86db1f 100644
--- a/dev-python/pygame/ChangeLog
+++ b/dev-python/pygame/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pygame
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.44 2008/03/03 13:44:25 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.45 2008/03/03 13:56:20 dev-zero Exp $
+
+ 03 Mar 2008; Tiziano Müller <dev-zero@gentoo.org>
+ pygame-1.8.0_rc4.ebuild:
+ Fixed various QA issues. Added check that libSDL is compiled with X support
+ (bug #150329). And it now supports unicode (bug #154012 is therefore solved
+ as well).
*pygame-1.8.0_rc4 (03 Mar 2008)
diff --git a/dev-python/pygame/pygame-1.8.0_rc4.ebuild b/dev-python/pygame/pygame-1.8.0_rc4.ebuild
index 6a2dbc37e445..929ae282b54f 100644
--- a/dev-python/pygame/pygame-1.8.0_rc4.ebuild
+++ b/dev-python/pygame/pygame-1.8.0_rc4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.8.0_rc4.ebuild,v 1.1 2008/03/03 13:44:25 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.8.0_rc4.ebuild,v 1.2 2008/03/03 13:56:20 dev-zero Exp $
-inherit distutils
+inherit distutils multilib eutils
MY_P="${PN}-${PV/_}"
@@ -26,11 +26,19 @@ DEPEND="${DEPEND}
S="${WORKDIR}/${MY_P}"
+pkg_setup() {
+ if ! built_with_use media-libs/libsdl X ; then
+ eerror "Please re-emerge media-libs/libsdl with the X USE-flag set."
+ die "Missing USE-flag for media-libs/libsdl"
+ fi
+}
src_unpack() {
unpack ${A}
# Search correct libdir for existing sdl libs
- sed -i -e "s:/lib:/$(get_libdir):" ${S}/config_unix.py || die
+ sed -i \
+ -e "s:/lib:/$(get_libdir):" \
+ "${S}/config_unix.py" || die "sed failed"
}
src_compile() {
@@ -46,10 +54,9 @@ src_install() {
if use doc; then
dohtml -r docs/*
- insinto /usr/share/doc/${PF}/examples
- doins ${S}/examples/*
- insinto /usr/share/doc/${PF}/examples/data
- doins ${S}/examples/data/*
+
+ insinto /usr/share/doc/${PF}
+ doins -r "${S}/examples"
fi
}