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: 1 addition & 1 deletion mingw-w64-mlt/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ _realname=mlt
pkgbase="mingw-w64-${_realname}"
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=7.40.0
pkgrel=2
pkgrel=3
pkgdesc="An open source multimedia framework (mingw-w64)"
arch=('any')
mingw_arch=('ucrt64' 'clang64' 'clangarm64')
Expand Down
6 changes: 3 additions & 3 deletions mingw-w64-mpv/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ _realname=mpv
pkgbase="mingw-w64-${_realname}"
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.41.0
pkgrel=8
pkgrel=9
pkgdesc='Video player based on MPlayer/mplayer2 (mingw-w64)'
arch=('any')
mingw_arch=('ucrt64' 'clang64' 'clangarm64')
Expand All @@ -20,14 +20,15 @@ msys2_references=(
)
license=('spdx:GPL-2.0-or-later')
depends=(
'winpty'
"${MINGW_PACKAGE_PREFIX}-ffmpeg"
"${MINGW_PACKAGE_PREFIX}-lcms2"
"${MINGW_PACKAGE_PREFIX}-libarchive"
"${MINGW_PACKAGE_PREFIX}-libass"
"${MINGW_PACKAGE_PREFIX}-libbluray"
"${MINGW_PACKAGE_PREFIX}-libcaca"
"${MINGW_PACKAGE_PREFIX}-libcdio"
"${MINGW_PACKAGE_PREFIX}-libcdio-paranoia"
"${MINGW_PACKAGE_PREFIX}-libcdio"
"${MINGW_PACKAGE_PREFIX}-libdvdnav"
"${MINGW_PACKAGE_PREFIX}-libdvdread"
"${MINGW_PACKAGE_PREFIX}-libjpeg-turbo"
Expand All @@ -40,7 +41,6 @@ depends=(
"${MINGW_PACKAGE_PREFIX}-uchardet"
"${MINGW_PACKAGE_PREFIX}-vapoursynth"
"${MINGW_PACKAGE_PREFIX}-vulkan"
'winpty'
)
makedepends=(
"${MINGW_PACKAGE_PREFIX}-cc"
Expand Down
10 changes: 10 additions & 0 deletions mingw-w64-ossia-score/005-vst3-missing-exception-include.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/3rdparty/vst3/public.sdk/source/common/threadchecker_win32.cpp
+++ b/3rdparty/vst3/public.sdk/source/common/threadchecker_win32.cpp
@@ -35,6 +35,7 @@
//-----------------------------------------------------------------------------

#include "threadchecker.h"
+#include <exception>

#if SMTG_OS_WINDOWS
#include <windows.h>
9 changes: 6 additions & 3 deletions mingw-w64-ossia-score/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _realname=ossia-score
pkgbase="mingw-w64-${_realname}"
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=3.8.2
pkgrel=2
pkgrel=3
pkgdesc="ossia score, an interactive sequencer for the intermedia arts"
arch=('any')
mingw_arch=('ucrt64' 'clang64' 'clangarm64')
Expand Down Expand Up @@ -47,12 +47,14 @@ source=(
"002-ffmpeg-no-postproc.patch"
"003-fmt-12-container-adaptor.patch"
"004-d3d12-memory-allocator-include.patch"
"005-vst3-missing-exception-include.patch"
)
noextract=("ossia.score-${pkgver}-src.tar.xz")
sha256sums=('f12c85ec96689b73e92b954589c39187a5ae9cfdf95db08d88c0e5f4dd862259'
'ef932ca97e4cf7652f826d523fa060c38701e443a97f1c6229f2bb24e98e41d6'
'060a5a715a78ffb76ea5502de9b1bb574ff6581023b432205a38bd90f430f079'
'788f6fb28f14b60faeb811099abd42169c8e1a13776ec45f0fb2a4b69ce6068a')
'788f6fb28f14b60faeb811099abd42169c8e1a13776ec45f0fb2a4b69ce6068a'
'baa24b95b006ab9bae1383cfd8936402e857da47b3967dec469379edef30094c')

apply_patch_with_msg() {
for _patch in "$@"; do
Expand All @@ -71,7 +73,8 @@ prepare() {
apply_patch_with_msg \
002-ffmpeg-no-postproc.patch \
003-fmt-12-container-adaptor.patch \
004-d3d12-memory-allocator-include.patch
004-d3d12-memory-allocator-include.patch \
005-vst3-missing-exception-include.patch

rm -rf "${srcdir}"/${_realname}-${pkgver}/src/addons/score-addon-ble
}
Expand Down
18 changes: 0 additions & 18 deletions mingw-w64-rubberband/001-use-system-memory-barrier-on-mingw.patch

This file was deleted.

38 changes: 16 additions & 22 deletions mingw-w64-rubberband/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
_realname=rubberband
pkgbase="mingw-w64-${_realname}"
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=3.3.0
pkgrel=2
pkgver=4.0.0
pkgrel=1
pkgdesc="High quality software library for audio time-stretching and pitch-shifting. (mingw-w64)"
arch=('any')
mingw_arch=('ucrt64' 'clang64' 'clangarm64')
Expand All @@ -28,18 +28,10 @@ makedepends=(
)
source=(
"https://breakfastquay.com/files/releases/${_realname}-${pkgver}.tar.bz2"
001-use-system-memory-barrier-on-mingw.patch
)
sha256sums=('d9ef89e2b8ef9f85b13ac3c2faec30e20acf2c9f3a9c8c45ce637f2bc95e576c'
'c66b22f94ace3fd82c24be5ec87069f44410fa5dbd43546cd811816c324fcb8f')
sha256sums=('af050313ee63bc18b35b2e064e5dce05b276aaf6d1aa2b8a82ced1fe2f8028e9')

prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
patch -p1 -i ../001-use-system-memory-barrier-on-mingw.patch
}
build() {
mkdir -p "${srcdir}/build-${MSYSTEM}" && cd "${srcdir}/build-${MSYSTEM}"

declare -a extra_config
if check_option "debug" "n"; then
extra_config+=("--buildtype=release")
Expand All @@ -48,7 +40,7 @@ build() {
fi

MSYS2_ARG_CONV_EXCL="--prefix=" \
${MINGW_PREFIX}/bin/meson.exe setup \
meson setup \
--prefix="${MINGW_PREFIX}" \
"${extra_config[@]}" \
--wrap-mode=nodownload \
Expand All @@ -58,21 +50,23 @@ build() {
-Dresampler=libsamplerate \
-Djni=disabled \
-Dtests=disabled \
"../${_realname}-${pkgver}"
"${_realname}-${pkgver}" \
"build-${MSYSTEM}"

${MINGW_PREFIX}/bin/meson.exe compile
meson compile -C "build-${MSYSTEM}"
}

check() {
cd "${srcdir}/build-${MSYSTEM}"
${MINGW_PREFIX}/bin/meson.exe setup --reconfigure -Dtests=enabled "../${_realname}-${pkgver}"
${MINGW_PREFIX}/bin/meson.exe compile
${MINGW_PREFIX}/bin/meson.exe test || warning "Tests failed"
meson setup --reconfigure -Dtests=enabled "build-${MSYSTEM}"

meson compile -C "build-${MSYSTEM}"

meson test -C "build-${MSYSTEM}" || warning "Tests failed"
}

package() {
cd "${srcdir}/build-${MSYSTEM}"
DESTDIR="${pkgdir}" ${MINGW_PREFIX}/bin/meson.exe install
install -Dm644 "${srcdir}"/${_realname}-${pkgver}/COPYING \
"${pkgdir}"${MINGW_PREFIX}/share/licenses/${_realname}/COPYING
DESTDIR="${pkgdir}" meson install -C "build-${MSYSTEM}"

cd "${srcdir}/${_realname}-${pkgver}"
install -Dm644 COPYING -t "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}"
}
Loading