mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
pygobject: add metafile support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7a98ae0307
commit
b1b4df561d
@ -2,11 +2,6 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build Python
|
||||
$SCRIPTS/build glib
|
||||
$SCRIPTS/build libffi
|
||||
|
||||
PYTHON_LIBDIR="`ls -d $SYSROOT_PREFIX/usr/lib/python*`"
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
@ -2,14 +2,10 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/install Python
|
||||
$SCRIPTS/install glib
|
||||
$SCRIPTS/install libffi
|
||||
|
||||
PYTHON_LIB_DIR=`ls -d $INSTALL/usr/lib/python*`
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PR $PKG_BUILD/glib/.libs/libpyglib*.so* $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/glib/.libs/libpyglib*.so* $INSTALL/usr/lib
|
||||
|
||||
mkdir -p $PYTHON_LIB_DIR/site-packages
|
||||
cp $PKG_BUILD/pygtk.py $PYTHON_LIB_DIR/site-packages
|
||||
|
14
packages/python/devel/pygobject/meta
Normal file
14
packages/python/devel/pygobject/meta
Normal file
@ -0,0 +1,14 @@
|
||||
PKG_NAME="pygobject"
|
||||
PKG_VERSION="2.26.0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://www.pygtk.org/"
|
||||
PKG_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.26/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="Python glib libffi"
|
||||
PKG_BUILD_DEPENDS="toolchain Python glib libffi"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python/devel"
|
||||
PKG_SHORTDESC="pygobject: The Python bindings for GObject"
|
||||
PKG_LONGDESC="PyGObject provides a convenient wrapper for the GObject+ library for use in Python programs, and takes care of many of the boring details such as managing memory and type casting. When combined with PyGTK, PyORBit and gnome-python, it can be used to write full featured Gnome applications."
|
||||
PKG_IS_ADDON="no"
|
@ -1 +0,0 @@
|
||||
http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.26/pygobject-2.26.0.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user