Add support for tdlib
parent
ab6746373b
commit
219f2b89ce
|
@ -65,6 +65,7 @@ sybase_ct 5.5 5.6
|
||||||
sysvmsg 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
sysvmsg 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
sysvsem 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
sysvsem 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
sysvshm 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
sysvshm 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
|
tdlib 7.3 7.4
|
||||||
tidy 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
tidy 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
timezonedb 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
timezonedb 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
uopz 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
uopz 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
|
|
|
@ -579,6 +579,13 @@ buildRequiredPackageLists() {
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libct4"
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libct4"
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile freetds-dev"
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile freetds-dev"
|
||||||
;;
|
;;
|
||||||
|
tdlib@alpine)
|
||||||
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libstdc++ $buildRequiredPackageLists_libssl"
|
||||||
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile git cmake gperf zlib-dev libressl-dev linux-headers readline-dev"
|
||||||
|
;;
|
||||||
|
tdlib@debian)
|
||||||
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile git cmake gperf zlib1g-dev $buildRequiredPackageLists_libssldev"
|
||||||
|
;;
|
||||||
tidy@alpine)
|
tidy@alpine)
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent tidyhtml-libs"
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent tidyhtml-libs"
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile tidyhtml-dev"
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile tidyhtml-dev"
|
||||||
|
@ -1227,6 +1234,23 @@ installPECLModule() {
|
||||||
installPECLModule_actual='https://pecl.php.net/get/ssh2'
|
installPECLModule_actual='https://pecl.php.net/get/ssh2'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
tdlib)
|
||||||
|
if ! test -f /usr/lib/libphpcpp.so || ! test -f /usr/include/phpcpp.h; then
|
||||||
|
cd "$(getPackageSource https://codeload.github.com/CopernicaMarketingSoftware/PHP-CPP/tar.gz/444d1f90cf6b7f3cb5178fa0d0b5ab441b0389d0)"
|
||||||
|
make -j$(nproc)
|
||||||
|
make install
|
||||||
|
cd - >/dev/null
|
||||||
|
fi
|
||||||
|
installPECLModule_tmp="$(mktemp -p /tmp/src -d)"
|
||||||
|
git clone --depth=1 --recurse-submodules https://github.com/yaroslavche/phptdlib.git "$installPECLModule_tmp"
|
||||||
|
mkdir "$installPECLModule_tmp/build"
|
||||||
|
cd "$installPECLModule_tmp/build"
|
||||||
|
cmake -D USE_SHARED_PHPCPP:BOOL=ON ..
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
rm "$PHP_INI_DIR/conf.d/tdlib.ini"
|
||||||
|
installPECLModule_manuallyInstalled=1
|
||||||
|
;;
|
||||||
uuid)
|
uuid)
|
||||||
if test $1 -le 506; then
|
if test $1 -le 506; then
|
||||||
installPECLModule_actual="$2-1.0.5"
|
installPECLModule_actual="$2-1.0.5"
|
||||||
|
|
Loading…
Reference in New Issue