Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tools/MINGW-packages/build_natron_package_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ mingw-w64-poppler
mingw-w64-imagemagick
mingw-w64-osmesa
mingw-w64-dump_syms
mingw-w64-natron-build-deps-common
mingw-w64-natron-build-deps-qt5
mingw-w64-natron-build-deps-qt6
"

source "${BUILD_SCRIPT_DIR}/natron_repo_common.sh"
Expand Down
49 changes: 49 additions & 0 deletions tools/MINGW-packages/mingw-w64-natron-build-deps-common/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Maintainer: The Natron developers

pkgname="${MINGW_PACKAGE_PREFIX}-natron-build-deps-common"
pkgver=2025.5
pkgrel=1
pkgdesc="Minimal package set for building Natron installer for any version of Qt"
url="https://natrongithub.github.io/"
arch=("any")
license=("GPL")
depends=(
"git"
"base-devel"
"${MINGW_PACKAGE_PREFIX}-cc"
# Natron deps
"${MINGW_PACKAGE_PREFIX}-boost"
"${MINGW_PACKAGE_PREFIX}-cairo"

# openfx-misc deps
"${MINGW_PACKAGE_PREFIX}-osmesa"
# openfx-io deps
"${MINGW_PACKAGE_PREFIX}-natron_openimageio"
"${MINGW_PACKAGE_PREFIX}-natron_seexpr-git"
"${MINGW_PACKAGE_PREFIX}-natron_poppler"
"${MINGW_PACKAGE_PREFIX}-natron_imagemagick"
"${MINGW_PACKAGE_PREFIX}-natron_ffmpeg-gpl2"
# openfx-arena deps
"${MINGW_PACKAGE_PREFIX}-librevenge"
"${MINGW_PACKAGE_PREFIX}-libzip"
"${MINGW_PACKAGE_PREFIX}-libcdr"
"${MINGW_PACKAGE_PREFIX}-natron_sox"
# openfx-gmic
"${MINGW_PACKAGE_PREFIX}-curl"
"${MINGW_PACKAGE_PREFIX}-fftw"
# installer
"zip"
"unzip"
"${MINGW_PACKAGE_PREFIX}-firebird"
"${MINGW_PACKAGE_PREFIX}-breakpad-git"
"${MINGW_PACKAGE_PREFIX}-pkgconf"
"${MINGW_PACKAGE_PREFIX}-python-sphinx"
"${MINGW_PACKAGE_PREFIX}-python-sphinx_rtd_theme"
"${MINGW_PACKAGE_PREFIX}-natron-setup"
"${MINGW_PACKAGE_PREFIX}-natron_dump_syms"
)

# these should be empty, but saneman in CI complains, so we keep them here
# until that is fixed:
source=("README.md")
sha256sums=("ddafabaf2aa91794eb8f610dcbac4920d29bffc13d5e04af1be7efdb8490c067")
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This meta package depends on all the common packages needed for building Natron with any version of Qt, the openfx plugins, and the Natron installer.
31 changes: 3 additions & 28 deletions tools/MINGW-packages/mingw-w64-natron-build-deps-qt5/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: The Natron developers

pkgname="${MINGW_PACKAGE_PREFIX}-natron-build-deps-qt5"
pkgver=2023.4
pkgver=2025.5
pkgrel=1
pkgdesc="Minimal package set for building Natron installer with QT5"
url="https://natrongithub.github.io/"
Expand All @@ -22,35 +22,10 @@ depends=(
# https://github.com/msys2/MINGW-packages/commit/c21027404c9d8776ad7dad94973a209bdc3aede2
"${MINGW_PACKAGE_PREFIX}-clang"
"${MINGW_PACKAGE_PREFIX}-python-qtpy"
# openfx-misc deps
"${MINGW_PACKAGE_PREFIX}-osmesa"
# openfx-io deps
"${MINGW_PACKAGE_PREFIX}-natron_openimageio"
"${MINGW_PACKAGE_PREFIX}-natron_seexpr-git"
"${MINGW_PACKAGE_PREFIX}-natron_poppler"
"${MINGW_PACKAGE_PREFIX}-natron_imagemagick"
"${MINGW_PACKAGE_PREFIX}-natron_ffmpeg-gpl2"
# openfx-arena deps
"${MINGW_PACKAGE_PREFIX}-librevenge"
"${MINGW_PACKAGE_PREFIX}-libzip"
"${MINGW_PACKAGE_PREFIX}-libcdr"
"${MINGW_PACKAGE_PREFIX}-natron_sox"
# openfx-gmic
"${MINGW_PACKAGE_PREFIX}-curl"
"${MINGW_PACKAGE_PREFIX}-fftw"
# installer
"zip"
"unzip"
"${MINGW_PACKAGE_PREFIX}-firebird"
"${MINGW_PACKAGE_PREFIX}-breakpad-git"
"${MINGW_PACKAGE_PREFIX}-pkgconf"
"${MINGW_PACKAGE_PREFIX}-python-sphinx"
"${MINGW_PACKAGE_PREFIX}-python-sphinx_rtd_theme"
"${MINGW_PACKAGE_PREFIX}-natron-setup"
"${MINGW_PACKAGE_PREFIX}-natron_dump_syms"
"${MINGW_PACKAGE_PREFIX}-natron-build-deps-common"
)

# these should be empty, but saneman in CI complains, so we keep them here
# until that is fixed:
source=("README.md")
sha256sums=("b23b3460644d9446c3db719c68db14a93a437f19419fd8661d2f53daee258b81")
sha256sums=("066a158dde169063073775500ad298baef704a8e0a39f3d6ab8fdba06012fda5")
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This meta package depends on all packages needed for building Natron, the openfx plugins, and the Natron installer.
This meta package depends on all packages needed for building Natron with Qt5, the openfx plugins, and the Natron installer.
32 changes: 32 additions & 0 deletions tools/MINGW-packages/mingw-w64-natron-build-deps-qt6/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Maintainer: The Natron developers

pkgname="${MINGW_PACKAGE_PREFIX}-natron-build-deps-qt6"
pkgver=2025.5
pkgrel=1
pkgdesc="Minimal package set for building Natron installer with Qt6"
url="https://natrongithub.github.io/"
arch=("any")
license=("GPL")
depends=(
"git"
"base-devel"
"${MINGW_PACKAGE_PREFIX}-cc"
# Natron deps
"${MINGW_PACKAGE_PREFIX}-qt6-base"
"${MINGW_PACKAGE_PREFIX}-qt6-5compat"
"${MINGW_PACKAGE_PREFIX}-pyside6"
"${MINGW_PACKAGE_PREFIX}-shiboken6"
# Clang is needed by shiboken6 for now because shiboken6 can't seem to find g++. It appears
# shiboken6 includes hard-coded paths to the g++ binary that is used when shiboken2 is built for msys2.
# Remove this dependency when the shiboken6 package is fixed so it works w/o clang or updates its pkg deps.
# The following change to msys2 made adding this clang dependency necessary.
# https://github.com/msys2/MINGW-packages/commit/c21027404c9d8776ad7dad94973a209bdc3aede2
"${MINGW_PACKAGE_PREFIX}-clang"
"${MINGW_PACKAGE_PREFIX}-python-qtpy"
"${MINGW_PACKAGE_PREFIX}-natron-build-deps-common"
)

# these should be empty, but saneman in CI complains, so we keep them here
# until that is fixed:
source=("README.md")
sha256sums=("4b0beca0e04ffe6ba6e9723cdfcfbedfbd4a6da449100025990b401f8b45865a")
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This meta package depends on all packages needed for building Natron with Qt6, the openfx plugins, and the Natron installer.
2 changes: 1 addition & 1 deletion tools/MINGW-packages/windows_pacman_repo_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20250405-1
20250503-1