mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
dbus-glib:
- split in host and target packages
This commit is contained in:
parent
7a18922a59
commit
3e0d7bc6a6
27
packages/devel/dbus-glib-host/build
Executable file
27
packages/devel/dbus-glib-host/build
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build glib-host
|
||||||
|
$SCRIPTS/build dbus-host
|
||||||
|
$SCRIPTS/unpack dbus-glib
|
||||||
|
|
||||||
|
DBUS_GLIB_DIR=`ls -d $BUILD/dbus-glib-[0-9]*`
|
||||||
|
|
||||||
|
setup_toolchain host
|
||||||
|
|
||||||
|
cd $DBUS_GLIB_DIR
|
||||||
|
mkdir -p .build-host
|
||||||
|
|
||||||
|
cd .build-host
|
||||||
|
../configure --prefix=$ROOT/$TOOLCHAIN \
|
||||||
|
--sysconfdir=$ROOT/$TOOLCHAIN/etc \
|
||||||
|
--disable-tests \
|
||||||
|
--disable-xml-docs \
|
||||||
|
--disable-bash-completion \
|
||||||
|
--disable-doxygen-docs \
|
||||||
|
--enable-asserts=yes \
|
||||||
|
|
||||||
|
make
|
||||||
|
make install
|
@ -7,29 +7,31 @@ $SCRIPTS/build gettext
|
|||||||
$SCRIPTS/build dbus
|
$SCRIPTS/build dbus
|
||||||
$SCRIPTS/build glib
|
$SCRIPTS/build glib
|
||||||
$SCRIPTS/build expat
|
$SCRIPTS/build expat
|
||||||
|
$SCRIPTS/build dbus-glib-host
|
||||||
cd $PKG_BUILD
|
|
||||||
|
|
||||||
export ac_cv_have_abstract_sockets=yes
|
export ac_cv_have_abstract_sockets=yes
|
||||||
export ac_cv_func_posix_getpwnam_r=yes
|
export ac_cv_func_posix_getpwnam_r=yes
|
||||||
export have_abstract_sockets=yes
|
export have_abstract_sockets=yes
|
||||||
|
|
||||||
export CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include"
|
DBUS_DIR=`ls -d $BUILD/dbus-[0-9]*`
|
||||||
export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib"
|
|
||||||
|
|
||||||
./configure --host=$TARGET_NAME \
|
cd $PKG_BUILD
|
||||||
--build=$HOST_NAME \
|
mkdir -p .build-target
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-tests \
|
|
||||||
--disable-doxygen-docs \
|
|
||||||
--enable-asserts=no \
|
|
||||||
|
|
||||||
make -C dbus SUBDIRS="."
|
cd .build-target
|
||||||
|
../configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-tests \
|
||||||
|
--disable-doxygen-docs \
|
||||||
|
--enable-asserts=no \
|
||||||
|
--with-introspect-xml="$ROOT/$DBUS_DIR/.build-host/introspect.xml" \
|
||||||
|
--with-dbus-binding-tool="$ROOT/$TOOLCHAIN/bin/dbus-binding-tool" \
|
||||||
|
|
||||||
make -C dbus DESTDIR=$SYSROOT_PREFIX install-libdbus_glibHEADERS
|
make
|
||||||
make -C dbus DESTDIR=$SYSROOT_PREFIX install-libLTLIBRARIES
|
|
||||||
make DESTDIR=$SYSROOT_PREFIX install-pkgconfigDATA
|
$MAKEINSTALL
|
||||||
|
@ -8,4 +8,4 @@ $SCRIPTS/install expat
|
|||||||
$SCRIPTS/install gettext
|
$SCRIPTS/install gettext
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
mkdir -p $INSTALL/usr/lib
|
||||||
cp -PR $PKG_BUILD/dbus/.libs/*.so* $INSTALL/usr/lib
|
cp -PR $PKG_BUILD/.build-target/dbus/.libs/*.so* $INSTALL/usr/lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user