mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
tigervnc: copy missing library libXtst to addon directory
This commit is contained in:
parent
d1ae498653
commit
0da28ba159
@ -24,10 +24,20 @@ makeinstall_target() {
|
|||||||
: # nothing to do
|
: # nothing to do
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# find ${1}.so.[0-9]* in ${2} and copy it to dest
|
||||||
|
_pkg_copy_lib() {
|
||||||
|
find "${2}/usr/lib" -regextype sed -regex ".*/${1}\.so\.[0-9]*" \
|
||||||
|
-exec cp {} "${ADDON_BUILD}/${PKG_ADDON_ID}/lib" \;
|
||||||
|
}
|
||||||
|
|
||||||
addon() {
|
addon() {
|
||||||
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/{bin,lib}
|
||||||
|
|
||||||
cp ${PKG_BUILD}/.${TARGET_NAME}/unix/vncconfig/vncconfig \
|
cp ${PKG_BUILD}/.${TARGET_NAME}/unix/vncconfig/vncconfig \
|
||||||
${PKG_BUILD}/.${TARGET_NAME}/unix/vncpasswd/vncpasswd \
|
${PKG_BUILD}/.${TARGET_NAME}/unix/vncpasswd/vncpasswd \
|
||||||
${PKG_BUILD}/.${TARGET_NAME}/unix/x0vncserver/x0vncserver \
|
${PKG_BUILD}/.${TARGET_NAME}/unix/x0vncserver/x0vncserver \
|
||||||
${ADDON_BUILD}/${PKG_ADDON_ID}/bin/
|
${ADDON_BUILD}/${PKG_ADDON_ID}/bin/
|
||||||
|
|
||||||
|
# copy required libraries for tigervnc
|
||||||
|
_pkg_copy_lib libXtst $(get_install_dir libXtst)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user