Skip to content

Commit

Permalink
Merge pull request #33 from open-vcpkg/qscintilla-osx
Browse files Browse the repository at this point in the history
[py-qscintilla] Fix build on *-osx-dynamic
  • Loading branch information
m-kuhn authored Jun 29, 2024
2 parents c526f72 + c13c1a9 commit b60edab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ports/py-qscintilla/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ set(SIPBUILD_ARGS
"--qmake" "${CURRENT_INSTALLED_DIR}/tools/Qt6/bin/qmake${VCPKG_HOST_EXECUTABLE_SUFFIX}"
"--api-dir" "${CURRENT_PACKAGES_DIR}/share/Qt6/qsci/api/python"
"--qsci-features-dir" "${SOURCE_PATH}/src/features"
"--qsci-include-dir" "${SITE_PACKAGES}/src"
"--qsci-include-dir" "${CURRENT_INSTALLED_DIR}/${PYTHON3_SITE}/PyQt6/bindings"
"--qsci-library-dir" "${SOURCE_PATH}/src"
"--no-make"
"--verbose"
"--build-dir" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel"
"--target-dir" "${CURRENT_INSTALLED_DIR}/tools/python3/Lib/site-packages/"
"--target-dir" "${CURRENT_INSTALLED_DIR}/${PYTHON3_SITE}"
)

# TODO: help it find sip include dirs, manually patched into sipbuild/project.py for now
# "--sip-include-dirs" "${CURRENT_INSTALLED_DIR}/tools/python3/Lib/site-packages/"
if(DEFINED VCPKG_OSX_DEPLOYMENT_TARGET)
list(APPEND SIPBUILD_ARGS "--qmake-setting" "QMAKE_MACOSX_DEPLOYMENT_TARGET = ${VCPKG_OSX_DEPLOYMENT_TARGET}")
endif()

vcpkg_backup_env_variables(VARS PATH)

Expand Down
2 changes: 2 additions & 0 deletions ports/py-qscintilla/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "py-qscintilla",
"version": "2.14.1",
"port-version": 1,
"description": "Python bindings for QScintilla, which is a port to Qt of the Scintilla editing component. Features syntax highlighting, code-completion and much more (Barebone build without python bindings (missing dependeny PyQt) and without QtDesigner plugin)",
"homepage": "https://www.riverbankcomputing.com/software/qscintilla",
"license": "GPL-3.0-or-later",
Expand All @@ -10,6 +11,7 @@
"name": "qscintilla"
},
"py-pyqt6",
"python3",
{
"name": "vcpkg-python-scripts",
"host": true
Expand Down

0 comments on commit b60edab

Please sign in to comment.