chrome-libxshmfence: initial package

This commit is contained in:
heitbaum 2021-04-04 22:18:09 +00:00
parent 3f11a26d56
commit d9b32ac075
2 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,19 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
. $(get_pkg_directory libxshmfence)/package.mk
PKG_NAME="chrome-libxshmfence"
PKG_LONGDESC="libxshmfence for chrome"
PKG_URL=""
PKG_DEPENDS_UNPACK+=" libxshmfence"
PKG_BUILD_FLAGS="-sysroot"
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
--disable-static \
--enable-shared"
unpack() {
mkdir -p ${PKG_BUILD}
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
}

View File

@ -11,8 +11,9 @@ PKG_LICENSE="Custom"
PKG_SITE="http://www.google.com/chrome"
PKG_DEPENDS_TARGET="toolchain at-spi2-atk atk cairo chrome-libXcomposite \
chrome-libXdamage chrome-libXfixes chrome-libXi chrome-libXrender \
chrome-libXtst chrome-libxcb chrome-libxkbcommon cups gdk-pixbuf gtk3 harfbuzz-icu \
libXcursor libxss nss pango scrnsaverproto unclutter"
chrome-libXtst chrome-libxcb chrome-libxkbcommon chrome-libxshmfence cups \
gdk-pixbuf gtk3 harfbuzz-icu libXcursor libxss nss pango \
scrnsaverproto unclutter"
PKG_SECTION="browser"
PKG_SHORTDESC="Google Chrome Browser"
PKG_LONGDESC="Google Chrome Browser"
@ -56,6 +57,7 @@ addon() {
$(get_install_dir chrome-libXi)/usr/lib/libXi.so.6 \
$(get_install_dir chrome-libxkbcommon)/usr/lib/libxkbcommon.so.0 \
$(get_install_dir chrome-libXrender)/usr/lib/libXrender.so.1 \
$(get_install_dir chrome-libxshmfence)/usr/lib/libxshmfence.so.1 \
$(get_install_dir libxss)/usr/lib/libXss.so.1 \
$(get_install_dir chrome-libXtst)/usr/lib/libXtst.so.6 \
$(get_install_dir pango)/usr/lib/{libpangocairo-1.0.so.0,libpango-1.0.so.0,libpangoft2-1.0.so.0} \