This changes makes libsdl-qpe work with python-pygame. Patch courtesy mithro
authorMichael Lauer <mickey@vanille-media.de>
Tue, 11 May 2004 13:42:35 +0000 (13:42 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Tue, 11 May 2004 13:42:35 +0000 (13:42 +0000)
BKrev: 40a0d84b_NxrNea2FT93LpGWX2S1Yg

libsdl/libsdl-qpe-1.2.7/pygame.patch [new file with mode: 0644]
libsdl/libsdl-qpe_1.2.7.oe
python/python-pygame-1.6/qpe.patch [new file with mode: 0644]
python/python-pygame_1.6.oe
uicmoc/uicmoc3-native_3.3.1.oe [deleted file]

diff --git a/libsdl/libsdl-qpe-1.2.7/pygame.patch b/libsdl/libsdl-qpe-1.2.7/pygame.patch
new file mode 100644 (file)
index 0000000..e69de29
index baf130f..14957e0 100644 (file)
@@ -7,6 +7,7 @@ PROVIDES = "virtual/libsdl"
 
 SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
           file://${FILESDIR}/agawa-piro-mickey.patch;patch=1 \
+          file://${FILESDIR}/pygame.patch;patch=1 \
            file://${FILESDIR}/gcc34.patch;patch=1"
 S = "${WORKDIR}/SDL-${PV}"
 
diff --git a/python/python-pygame-1.6/qpe.patch b/python/python-pygame-1.6/qpe.patch
new file mode 100644 (file)
index 0000000..e69de29
index 90c7d5c..dd2dd42 100644 (file)
@@ -6,7 +6,8 @@ RDEPENDS = "python-core python-numeric"
 DEPENDS = "virtual/libc virtual/libsdl libsdl-image libsdl-mixer libsdl-net libsdl-ttf smpeg python-numeric"
 SRCNAME = "pygame"
 
-SRC_URI = "http://www.pygame.org/ftp/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "http://www.pygame.org/ftp/${SRCNAME}-${PV}.tar.gz \
+                       file://${FILESDIR}/qpe.patch;patch=1"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils
diff --git a/uicmoc/uicmoc3-native_3.3.1.oe b/uicmoc/uicmoc3-native_3.3.1.oe
deleted file mode 100644 (file)
index a41fb7f..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-inherit native
-
-DEPENDS = "x11-native"
-
-SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-free-3.3.1.tar.bz2"
-S = "${WORKDIR}/qt-x11-free-${PV}"
-
-export QTDIR = "${S}"
-#export SYSCONF_CXX = "${CCACHE} g++"
-#export SYSCONF_CC  = "${CCACHE} gcc"
-#export SYSCONF_LINK  = "${CCACHE} g++"
-
-ARCH_i686 = "x86"
-
-QT_CONFIG_FLAGS = "-release -static -qt-zlib -no-nas-sound -no-sm -qt-libpng -no-gif -no-xshape -no-xinerama -no-xcursor -no-xrandr \
-                   -no-xrender -no-xft -no-tablet -no-xkb -no-dlopen-opengl -no-thread -no-nis -no-cups"
-
-do_configure() {
-       echo "yes" | ./configure -prefix ${prefix} ${QT_CONFIG_FLAGS}
-}
-
-do_stage() {
-       install -m 0755 bin/moc ${STAGING_BINDIR}/moc3
-       install -m 0755 bin/uic ${STAGING_BINDIR}/uic3
-       oe_libinstall -a -C lib libqt ${STAGING_LIBDIR}
-       for f in include/*.h
-       do
-               install -m 0644 $f ${STAGING_INCDIR}/
-       done
-}