mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
move package Imageing:
- no more need, move to pkg-archive branch
This commit is contained in:
parent
e1265bebf7
commit
13c1951fc8
@ -1,23 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/build toolchain
|
|
||||||
$SCRIPTS/build Python
|
|
||||||
$SCRIPTS/build zlib
|
|
||||||
$SCRIPTS/build freetype
|
|
||||||
$SCRIPTS/build jpeg
|
|
||||||
|
|
||||||
|
|
||||||
. config/options.python
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
|
|
||||||
export INCLUDE_DIRS="$SYSROOT_PREFIX/usr/include"
|
|
||||||
export LIB_DIRS="$SYSROOT_PREFIX/usr/lib"
|
|
||||||
|
|
||||||
$PYTHON setup.py install --prefix /usr --root .install
|
|
||||||
|
|
||||||
find .install -name "*.py" -exec rm -rf "{}" ";"
|
|
||||||
|
|
||||||
rm -rf .install/usr/bin
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/install Python
|
|
||||||
$SCRIPTS/install sqlite
|
|
||||||
$SCRIPTS/install zlib
|
|
||||||
$SCRIPTS/install freetype
|
|
||||||
$SCRIPTS/install jpeg
|
|
||||||
|
|
||||||
cp -PR $PKG_BUILD/.install/* $INSTALL
|
|
@ -1,69 +0,0 @@
|
|||||||
diff -Naur Imaging-1.1.7b1/setup.py Imaging-1.1.7b1.patch/setup.py
|
|
||||||
--- Imaging-1.1.7b1/setup.py 2009-04-14 21:38:28.000000000 +0200
|
|
||||||
+++ Imaging-1.1.7b1.patch/setup.py 2009-07-19 12:44:05.583182520 +0200
|
|
||||||
@@ -129,30 +129,18 @@
|
|
||||||
#
|
|
||||||
# add platform directories
|
|
||||||
|
|
||||||
- if sys.platform == "cygwin":
|
|
||||||
- # pythonX.Y.dll.a is in the /usr/lib/pythonX.Y/config directory
|
|
||||||
- add_directory(library_dirs, os.path.join(
|
|
||||||
- "/usr/lib", "python%s" % sys.version[:3], "config"
|
|
||||||
- ))
|
|
||||||
-
|
|
||||||
- elif sys.platform == "darwin":
|
|
||||||
- # attempt to make sure we pick freetype2 over other versions
|
|
||||||
- add_directory(include_dirs, "/sw/include/freetype2")
|
|
||||||
- add_directory(include_dirs, "/sw/lib/freetype2/include")
|
|
||||||
- # fink installation directories
|
|
||||||
- add_directory(library_dirs, "/sw/lib")
|
|
||||||
- add_directory(include_dirs, "/sw/include")
|
|
||||||
- # darwin ports installation directories
|
|
||||||
- add_directory(library_dirs, "/opt/local/lib")
|
|
||||||
- add_directory(include_dirs, "/opt/local/include")
|
|
||||||
-
|
|
||||||
- add_directory(library_dirs, "/usr/local/lib")
|
|
||||||
- # FIXME: check /opt/stuff directories here?
|
|
||||||
-
|
|
||||||
- prefix = sysconfig.get_config_var("prefix")
|
|
||||||
- if prefix:
|
|
||||||
- add_directory(library_dirs, os.path.join(prefix, "lib"))
|
|
||||||
- add_directory(include_dirs, os.path.join(prefix, "include"))
|
|
||||||
+ try:
|
|
||||||
+ modules_include_dirs = os.environ["INCLUDE_DIRS"].split()
|
|
||||||
+ except KeyError:
|
|
||||||
+ modules_include_dirs = ['/usr/include']
|
|
||||||
+ try:
|
|
||||||
+ modules_lib_dirs = os.environ["LIB_DIRS"].split()
|
|
||||||
+ except KeyError:
|
|
||||||
+ modules_lib_dirs = ['/usr/lib']
|
|
||||||
+ for dir in modules_include_dirs:
|
|
||||||
+ add_directory(include_dirs, dir)
|
|
||||||
+ for dir in modules_lib_dirs:
|
|
||||||
+ add_directory(library_dirs, dir)
|
|
||||||
|
|
||||||
#
|
|
||||||
# locate tkinter libraries
|
|
||||||
@@ -198,22 +186,6 @@
|
|
||||||
add_directory(include_dirs, include_root)
|
|
||||||
|
|
||||||
#
|
|
||||||
- # add standard directories
|
|
||||||
-
|
|
||||||
- # look for tcl specific subdirectory (e.g debian)
|
|
||||||
- if _tkinter:
|
|
||||||
- tcl_dir = "/usr/include/tcl" + TCL_VERSION
|
|
||||||
- if os.path.isfile(os.path.join(tcl_dir, "tk.h")):
|
|
||||||
- add_directory(include_dirs, tcl_dir)
|
|
||||||
-
|
|
||||||
- # standard locations
|
|
||||||
- add_directory(library_dirs, "/usr/local/lib")
|
|
||||||
- add_directory(include_dirs, "/usr/local/include")
|
|
||||||
-
|
|
||||||
- add_directory(library_dirs, "/usr/lib")
|
|
||||||
- add_directory(include_dirs, "/usr/include")
|
|
||||||
-
|
|
||||||
- #
|
|
||||||
# insert new dirs *before* default libs, to avoid conflicts
|
|
||||||
# between Python PYD stub libs and real libraries
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
http://effbot.org/media/downloads/Imaging-1.1.7b1.tar.gz
|
|
Loading…
x
Reference in New Issue
Block a user