summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r--meta-oe/recipes-extended/anki/anki-0.4.3.inc8
-rw-r--r--meta-oe/recipes-extended/anki/anki.inc9
-rw-r--r--meta-oe/recipes-extended/anki/anki/no-need-for-pyqt-at-buildtime.patch28
-rw-r--r--meta-oe/recipes-extended/anki/anki_0.4.3.bb4
-rw-r--r--meta-oe/recipes-extended/anki/libanki/no-need-for-pyqt-at-buildtime.patch14
-rw-r--r--meta-oe/recipes-extended/anki/libanki_0.4.3.bb3
-rw-r--r--meta-oe/recipes-extended/sip/sip_4.16.4.bb54
7 files changed, 0 insertions, 120 deletions
diff --git a/meta-oe/recipes-extended/anki/anki-0.4.3.inc b/meta-oe/recipes-extended/anki/anki-0.4.3.inc
deleted file mode 100644
index 072e7f1e4..000000000
--- a/meta-oe/recipes-extended/anki/anki-0.4.3.inc
+++ /dev/null
@@ -1,8 +0,0 @@
1require anki.inc
2
3SRC_URI = "${SOURCEFORGE_MIRROR}/anki/anki-${PV}.tgz"
4SRC_URI[md5sum] = "90434860945de4c09d55cdb5dbe984fc"
5SRC_URI[sha256sum] = "18a93fb46363ca34963fc2588cadf7415dd799dd647efa681859eb8b1b22f104"
6
7export BUILD_PV := "${PV}"
8SRC_URI += "file://no-need-for-pyqt-at-buildtime.patch"
diff --git a/meta-oe/recipes-extended/anki/anki.inc b/meta-oe/recipes-extended/anki/anki.inc
deleted file mode 100644
index 3092539ec..000000000
--- a/meta-oe/recipes-extended/anki/anki.inc
+++ /dev/null
@@ -1,9 +0,0 @@
1DESCRIPTION = "Anki is a program designed to help you remember facts \
2(such as words and phrases in a foreign language) \
3as easily, quickly and efficiently as possible"
4HOMEPAGE = "http://ichi2.net/anki/"
5AUTHOR = "Damien Elmes"
6LICENSE = "GPLv3+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
8
9inherit setuptools
diff --git a/meta-oe/recipes-extended/anki/anki/no-need-for-pyqt-at-buildtime.patch b/meta-oe/recipes-extended/anki/anki/no-need-for-pyqt-at-buildtime.patch
deleted file mode 100644
index 9eac1dc7b..000000000
--- a/meta-oe/recipes-extended/anki/anki/no-need-for-pyqt-at-buildtime.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1#
2# (C) Michael 'Mickey' Lauer <mlauer@vanille-media.de>
3#
4Index: anki-0.4.3/setup.py
5===================================================================
6--- anki-0.4.3.orig/setup.py 2008-02-12 19:17:56.000000000 +0000
7+++ anki-0.4.3/setup.py 2008-02-12 19:19:29.000000000 +0000
8@@ -3,10 +3,8 @@
9 from setuptools import setup, find_packages
10 import sys, os
11
12-import ankiqt
13-
14 setup(name='ankiqt',
15- version=ankiqt.appVersion,
16+ version=os.environ["BUILD_PV"],
17 description='An intelligent spaced-repetition memory training program',
18 long_description="",
19 # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
20@@ -24,7 +22,7 @@
21 license='GPLv2',
22 packages=find_packages(),
23 include_package_data=True,
24- install_requires = 'anki >= ' + ankiqt.appVersion,
25+ install_requires = 'anki >= ' + os.environ["BUILD_PV"],
26 zip_safe=False,
27 package_data={'ankiqt':
28 ['locale/*/*/*']},
diff --git a/meta-oe/recipes-extended/anki/anki_0.4.3.bb b/meta-oe/recipes-extended/anki/anki_0.4.3.bb
deleted file mode 100644
index 61e063d95..000000000
--- a/meta-oe/recipes-extended/anki/anki_0.4.3.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1require ${PN}-${PV}.inc
2
3RDEPENDS_${PN} = "python-pyqt libanki"
4RRECOMMENDS_${PN} = "virtual-japanese-font"
diff --git a/meta-oe/recipes-extended/anki/libanki/no-need-for-pyqt-at-buildtime.patch b/meta-oe/recipes-extended/anki/libanki/no-need-for-pyqt-at-buildtime.patch
deleted file mode 100644
index 92583e59f..000000000
--- a/meta-oe/recipes-extended/anki/libanki/no-need-for-pyqt-at-buildtime.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1--- libanki.orig/setup.py 2008-01-02 13:22:22.000000000 +0100
2+++ libanki/setup.py 2012-08-02 11:39:13.604173933 +0200
3@@ -3,10 +3,8 @@
4 from setuptools import setup, find_packages
5 import sys, os
6
7-import anki
8-
9 setup(name='anki',
10- version=anki.version,
11+ version=os.environ["BUILD_PV"],
12 description='An intelligent spaced-repetition memory training library',
13 long_description="",
14 # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
diff --git a/meta-oe/recipes-extended/anki/libanki_0.4.3.bb b/meta-oe/recipes-extended/anki/libanki_0.4.3.bb
deleted file mode 100644
index 636932f3a..000000000
--- a/meta-oe/recipes-extended/anki/libanki_0.4.3.bb
+++ /dev/null
@@ -1,3 +0,0 @@
1require anki-${PV}.inc
2
3S = "${WORKDIR}/anki-${PV}/libanki"
diff --git a/meta-oe/recipes-extended/sip/sip_4.16.4.bb b/meta-oe/recipes-extended/sip/sip_4.16.4.bb
deleted file mode 100644
index 032d1258b..000000000
--- a/meta-oe/recipes-extended/sip/sip_4.16.4.bb
+++ /dev/null
@@ -1,54 +0,0 @@
1SUMMARY = "SIP is a C++/Python Wrapper Generator"
2AUTHOR = "Phil Thompson"
3HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip"
4SECTION = "devel"
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303"
7DEPENDS_class-target = "qt4-x11-free python"
8
9# riverbankcomputing is upstream, but keeps only latest version, sf usually have few older
10#SRC_URI = "http://www.riverbankcomputing.com/static/Downloads/sip4/sip-${PV}.tar.gz"
11SRC_URI = "${SOURCEFORGE_MIRROR}/project/pyqt/sip/sip-${PV}/sip-${PV}.tar.gz"
12SRC_URI[md5sum] = "a9840670a064dbf8f63a8f653776fec9"
13SRC_URI[sha256sum] = "ceda443fc5e129e67a067e2cd7b73ff037f8b10b50e407baa2b1d9f2199d57f5"
14
15BBCLASSEXTEND = "native"
16
17PACKAGES += "python-sip"
18
19inherit qmake2 python-dir pythonnative distro_features_check
20# depends on qt4-x11-free
21REQUIRED_DISTRO_FEATURES = "x11"
22
23EXTRA_QMAKEVARS_POST += "CONFIG=console"
24
25export BUILD_SYS
26export HOST_SYS
27export STAGING_LIBDIR
28export STAGING_INCDIR
29
30do_configure_prepend_class-target() {
31 echo "py_platform = linux" > sip.cfg
32 echo "py_inc_dir = %(sysroot)/${includedir}/python%(py_major).%(py_minor)" >> sip.cfg
33 echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
34 echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
35 echo "sip_module_dir = ${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> sip.cfg
36 echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
37 python configure.py --use-qmake --configuration sip.cfg --sysroot ${STAGING_DIR_HOST}
38}
39do_configure_prepend_class-native() {
40 echo "py_platform = linux" > sip.cfg
41 echo "py_inc_dir = ${includedir}/python%(py_major).%(py_minor)" >> sip.cfg
42 echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
43 echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
44 echo "sip_module_dir = ${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> sip.cfg
45 echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
46 python configure.py --use-qmake --configuration sip.cfg --sysroot ${STAGING_DIR_NATIVE}
47}
48do_install() {
49 oe_runmake install
50}
51
52FILES_python-${BPN} = "${libdir}/${PYTHON_DIR}/site-packages/"
53FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug"
54