PCSX2 builds and installs now.

This commit is contained in:
fewtarius 2022-09-10 07:49:29 -04:00
parent 8f09001f42
commit c257651389
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 2 additions and 3 deletions

View file

@ -9,7 +9,6 @@ PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain zlib libpng libjpeg-turbo gdk-pixbuf gtk3"
PKG_LONGDESC="wxWidgets is a free and open source cross-platform C++ framework for writing advanced GUI applications using native controls."
PKG_BUILD_FLAGS="+pic"
#PKG_GIT_CLONE_BRANCH="WX_3_0_BRANCH"
pre_configure_target() {
LDFLAGS="${LDFLAGS} -fPIC"
@ -17,7 +16,7 @@ pre_configure_target() {
}
post_install() {
cp ${PKG_BUILD}/.${TARGET_NAME}/wx-config ${SYSROOT_PREFIX}/usr/bin
cp ${PKG_BUILD}/.${TARGET_NAME}/lib/wx/config/gtk3-unicode-3.1 ${SYSROOT_PREFIX}/usr/bin/wx-config
sed -i 's#^prefix=.*#prefix='${SYSROOT_PREFIX}/usr'#' ${SYSROOT_PREFIX}/usr/bin/wx-config
sed -i 's#^exec_prefix=.*#exec_prefix='${SYSROOT_PREFIX}/usr'#' ${SYSROOT_PREFIX}/usr/bin/wx-config
}

View file

@ -42,6 +42,6 @@ case "${DEVICE}" in
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa"
;;
handheld)
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa"
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa pcsx2"
;;
esac