weechat: Fix the python plugin to load
This commit is contained in:
parent
3e00bd80ce
commit
61e77fb120
@ -1,6 +1,7 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=http://weechat.org/
|
TERMUX_PKG_HOMEPAGE=http://weechat.org/
|
||||||
TERMUX_PKG_DESCRIPTION="Fast, light and extensible IRC chat client"
|
TERMUX_PKG_DESCRIPTION="Fast, light and extensible IRC chat client"
|
||||||
TERMUX_PKG_VERSION=1.4
|
TERMUX_PKG_VERSION=1.4
|
||||||
|
TERMUX_PKG_BUILD_REVISION=1
|
||||||
TERMUX_PKG_SRCURL=http://www.weechat.org/files/src/weechat-${TERMUX_PKG_VERSION}.tar.bz2
|
TERMUX_PKG_SRCURL=http://www.weechat.org/files/src/weechat-${TERMUX_PKG_VERSION}.tar.bz2
|
||||||
TERMUX_PKG_DEPENDS="ncurses, libgcrypt, libcurl, libgnutls, libandroid-support"
|
TERMUX_PKG_DEPENDS="ncurses, libgcrypt, libcurl, libgnutls, libandroid-support"
|
||||||
# weechat-curses is a symlink to weechat, so remove it:
|
# weechat-curses is a symlink to weechat, so remove it:
|
||||||
@ -28,7 +29,6 @@ termux_step_configure () {
|
|||||||
-DCA_FILE="$TERMUX_PREFIX/etc/tls/cert.pem" \
|
-DCA_FILE="$TERMUX_PREFIX/etc/tls/cert.pem" \
|
||||||
-DENABLE_LUA=OFF \
|
-DENABLE_LUA=OFF \
|
||||||
-DENABLE_MAN=ON \
|
-DENABLE_MAN=ON \
|
||||||
-DENABLE_PYTHON=ON \
|
|
||||||
-DENABLE_PYTHON3=ON \
|
-DENABLE_PYTHON3=ON \
|
||||||
-DENABLE_TCL=OFF \
|
-DENABLE_TCL=OFF \
|
||||||
$TERMUX_PKG_SRCDIR
|
$TERMUX_PKG_SRCDIR
|
||||||
|
@ -72,7 +72,7 @@ diff -u -r ../weechat-1.3/cmake/FindPython.cmake ./cmake/FindPython.cmake
|
|||||||
+set(PYTHON_EXECUTABLE "/data/data/com.termux/files/usr/bin/python")
|
+set(PYTHON_EXECUTABLE "/data/data/com.termux/files/usr/bin/python")
|
||||||
+set(PYTHON_INCLUDE_PATH "/data/data/com.termux/files/usr/include/python3.5m")
|
+set(PYTHON_INCLUDE_PATH "/data/data/com.termux/files/usr/include/python3.5m")
|
||||||
+set(PYTHON_LIBRARY "/data/data/com.termux/files/usr/lib")
|
+set(PYTHON_LIBRARY "/data/data/com.termux/files/usr/lib")
|
||||||
+set(PYTHON_LFLAGS "-Xlinker -export-dynamic")
|
+set(PYTHON_LFLAGS "-Xlinker -export-dynamic -lpython3.5m")
|
||||||
+set(PYTHON_FOUND TRUE)
|
+set(PYTHON_FOUND TRUE)
|
||||||
|
|
||||||
mark_as_advanced(
|
mark_as_advanced(
|
||||||
|
Loading…
Reference in New Issue
Block a user