mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
new package:
- add package xulrunner
This commit is contained in:
parent
922527a5cd
commit
2bf9e9dfe8
69
packages/web/xulrunner/build
Executable file
69
packages/web/xulrunner/build
Executable file
@ -0,0 +1,69 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build gtk+
|
||||
$SCRIPTS/build libIDL
|
||||
$SCRIPTS/build libIDL-host
|
||||
$SCRIPTS/unpack fennec
|
||||
|
||||
cd $BUILD/fennec*
|
||||
|
||||
mkdir -p .objdir-$1
|
||||
cd .objdir-$1
|
||||
|
||||
ac_cv_visibility_pragma=no \
|
||||
CROSS_COMPILE=yes \
|
||||
HOST_CC=$HOST_CC \
|
||||
HOST_CXX=$HOST_CXX \
|
||||
HOST_CFLAGS=$HOST_CFLAGS \
|
||||
HOST_CXXFLAGS=$HOST_CXXFLAGS \
|
||||
HOST_LDFLAGS=$HOST_LDFLAGS \
|
||||
HOST_RANLIB=$HOST_RANLIB \
|
||||
HOST_AR=$HOST_AR \
|
||||
HOST_LIBIDL_CONFIG="$ROOT/$TOOLCHAIN/bin/libIDL-config-2" \
|
||||
../configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--enable-libxul \
|
||||
--enable-application=xulrunner \
|
||||
--enable-default-toolkit=cairo-gtk2 \
|
||||
--disable-debug \
|
||||
--disable-mobile-optimize \
|
||||
--enable-optimize \
|
||||
--disable-activex \
|
||||
--disable-activex-scripting \
|
||||
--disable-installer \
|
||||
--disable-logging \
|
||||
--disable-updater \
|
||||
--disable-gnomevfs \
|
||||
--disable-gnomeui \
|
||||
--disable-dbus \
|
||||
--disable-plugins \
|
||||
--disable-view-source \
|
||||
--disable-printing \
|
||||
--disable-crashreporter \
|
||||
--disable-xprint \
|
||||
--disable-tests \
|
||||
--disable-libnotify \
|
||||
--with-libIDL \
|
||||
--disable-parental-controls \
|
||||
--disable-javaxpcom \
|
||||
--with-system-bz2 \
|
||||
--with-system-jpeg \
|
||||
--without-system-png \
|
||||
--with-system-zlib \
|
||||
--disable-javaxpcom \
|
||||
--enable-canvas \
|
||||
--enable-safe-browsing \
|
||||
--enable-svg \
|
||||
--enable-system-cairo \
|
||||
--enable-system-sqlite \
|
||||
|
||||
# --enable-extensions=python,default \
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
18
packages/web/xulrunner/install
Executable file
18
packages/web/xulrunner/install
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install gtk+
|
||||
$SCRIPTS/install libIDL
|
||||
|
||||
XULDIRS="chrome components dictionaries greprefs defaults icons modules res"
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PR $BUILD/fennec*/.objdir-$1/dist/$1/*.so $INSTALL/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/$1
|
||||
cp -PR $BUILD/fennec*/.objdir-$1/dist/$1/$1* $INSTALL/usr/lib/$1
|
||||
|
||||
for dir in $XULDIRS; do
|
||||
cp -PR $BUILD/fennec*/.objdir-$1/dist/$1/$dir $INSTALL/usr/lib/$1
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user