This commit is contained in:
fewtarius 2022-11-01 17:14:13 -04:00
parent c74d7fa13e
commit 8c2f4059cb
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 22 additions and 20 deletions

View file

@ -4,9 +4,8 @@
PKG_NAME="boost"
PKG_VERSION="1.80.0"
PKG_SHA256="1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0"
PKG_LICENSE="OSS"
PKG_SITE="https://www.boost.org/"
PKG_SITE="http://www.boost.org/"
PKG_URL="https://boostorg.jfrog.io/artifactory/main/release/${PKG_VERSION}/source/${PKG_NAME}_${PKG_VERSION//./_}.tar.bz2"
PKG_DEPENDS_HOST="toolchain:host"
PKG_DEPENDS_TARGET="toolchain boost:host Python3 zlib bzip2"
@ -42,19 +41,22 @@ configure_target() {
}
makeinstall_target() {
${TOOLCHAIN}/bin/b2 -d2 --ignore-site-config \
--layout=system \
--prefix=${SYSROOT_PREFIX}/usr \
--toolset=gcc link=static \
--with-chrono \
--with-date_time \
--with-filesystem \
--with-iostreams \
--with-python \
--with-random \
--with-regex -sICU_PATH="${SYSROOT_PREFIX}/usr" \
--with-serialization \
--with-system \
--with-thread \
install
ln -sf ${TOOLCHAIN}/bin/b2 ${TOOLCHAIN}/bin/bjam
${TOOLCHAIN}/bin/bjam -d2 --ignore-site-config \
--layout=system \
--prefix=${SYSROOT_PREFIX}/usr \
--toolset=gcc link=static \
--with-chrono \
--with-date_time \
--with-filesystem \
--with-iostreams \
--with-program_options \
--with-python \
--with-locale \
--with-random \
--with-regex -sICU_PATH="${SYSROOT_PREFIX}/usr" \
--with-serialization \
--with-system \
--with-thread \
install
}

View file

@ -10,7 +10,7 @@ GET_HANDLER_SUPPORT="git"
PKG_BUILD_FLAGS="+speed"
PKG_PATCH_DIRS+="${DEVICE}"
case ${ARCH} in
case ${TARGET_ARCH} in
aarch64|arm)
PKG_VERSION="c7618d2ecbf77b1e8188fa8af4fa1cfb34833a72"
PKG_GIT_CLONE_BRANCH="pi4-1-9-0"
@ -53,11 +53,11 @@ pre_configure_target() {
PKG_CMAKE_OPTS_TARGET="${PKG_BUILD}/yabause "
if [ ! "${OPENGL}" = "no" ]; then
PKG_CMAKE_OPTS_TARGET+=" -DUSE_EGL=ON"
PKG_CMAKE_OPTS_TARGET+=" -DUSE_EGL=ON -DUSE_OPENGL=ON"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_CMAKE_OPTS_TARGET+=" -DUSE_EGL=ON"
PKG_CMAKE_OPTS_TARGET+=" -DUSE_EGL=ON -DUSE_OPENGL=OFF"
fi
#if [ "${VULKAN_SUPPORT}" = "yes" ]