Skip to content

Commit 58c7e6e

Browse files
committed
Merge branch 'master' into spiced
2 parents 64fc39e + b3d4fbe commit 58c7e6e

34 files changed

Lines changed: 92 additions & 120 deletions

.editorconfig

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ root = true
22

33
[*]
44
charset = utf-8
5-
insert_final_newline = true
6-
indent_style = space
5+
end_of_line = lf
76
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
89
max_line_length = 100
910
trim_trailing_whitespace = true
1011

@@ -13,8 +14,8 @@ max_line_length = unset
1314

1415
[{homebrew,patches,src}/**]
1516
charset = unset
16-
insert_final_newline = unset
17-
indent_style = unset
1817
indent_size = unset
18+
indent_style = unset
19+
insert_final_newline = unset
1920
max_line_length = unset
2021
trim_trailing_whitespace = unset

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- master
99
paths:
1010
- ".github/workflows/build.yml"
11+
- ".env"
1112
- "build-*"
1213
- "fetch"
1314

@@ -22,7 +23,7 @@ jobs:
2223

2324
steps:
2425
- name: Checkout
25-
uses: actions/checkout@v5
26+
uses: actions/checkout@v6
2627

2728
- name: Select Xcode
2829
run: |
@@ -48,6 +49,15 @@ jobs:
4849
env:
4950
MACOSX_DEPLOYMENT_TARGET: 26.1
5051

52+
- name: Print Summary
53+
run: |
54+
{
55+
echo '### mpv'
56+
echo '```'
57+
/opt/local/bin/mpv --version
58+
echo '```'
59+
} >> "${GITHUB_STEP_SUMMARY}"
60+
5161
- name: Upload Artifact
5262
id: upload
5363
uses: actions/upload-artifact@v5

.github/workflows/lint.yml

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,22 @@ on:
55
push:
66
pull_request:
77

8+
permissions:
9+
actions: read
10+
contents: read
11+
checks: write
12+
pull-requests: write
13+
security-events: write
14+
815
jobs:
916
shellcheck:
1017
runs-on: ubuntu-latest
11-
permissions:
12-
security-events: write
13-
contents: read
1418
steps:
1519
- name: Checkout
16-
uses: actions/checkout@v5
20+
uses: actions/checkout@v6
1721

1822
- name: Create requirements.txt
19-
if: hashFiles('**/requirements.txt', '**/pyproject.toml') == ''
23+
if: ${{ hashFiles('**/requirements.txt', '**/pyproject.toml') == '' }}
2024
run: touch ./requirements.txt
2125

2226
- name: Check
@@ -29,7 +33,7 @@ jobs:
2933
runs-on: ubuntu-latest
3034
steps:
3135
- name: Checkout
32-
uses: actions/checkout@v5
36+
uses: actions/checkout@v6
3337

3438
- name: Check
3539
run: yamllint --strict .
@@ -38,7 +42,7 @@ jobs:
3842
runs-on: ubuntu-latest
3943
steps:
4044
- name: Checkout
41-
uses: actions/checkout@v5
45+
uses: actions/checkout@v6
4246

4347
- name: Install
4448
uses: editorconfig-checker/action-editorconfig-checker@main
@@ -50,23 +54,10 @@ jobs:
5054
runs-on: ubuntu-latest
5155
steps:
5256
- name: Checkout
53-
uses: actions/checkout@v5
57+
uses: actions/checkout@v6
5458

5559
- name: Check
5660
uses: raven-actions/actionlint@v2
57-
58-
prettier:
59-
runs-on: ubuntu-latest
60-
61-
steps:
62-
- name: Checkout
63-
uses: actions/checkout@v5
64-
65-
- name: Setup Node
66-
uses: actions/setup-node@v6
67-
68-
- name: Install
69-
run: npm install prettier@next
70-
71-
- name: Check
72-
run: npx prettier --check .
61+
with:
62+
cache: false
63+
pyflakes: false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A set of scripts that help build [mpv](https://mpv.io) on macOS.
88
> [!TIP]
99
> Prebuilt mpv.app from GitHub Actions is available at [nightly.link].
1010
>
11-
> Download: [`mpv-macos-26-arm64.zip`] (macOS 26.0 & Apple M1 or newer)
11+
> Download: [`mpv-macos-26-arm64.zip`] (macOS 26 & Apple M1 or newer)
1212
1313
### Requirements
1414

build-brotli

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ pkgdir="${STOWDIR}/${pkgname}"
1111
srcdir="src/brotli"
1212
builddir="${TMPDIR:-/tmp}/build.${pkgname}"
1313

14-
echo
15-
echo "*** $0: started"
14+
echo "::group::$0"
1615

1716
rm -rf "${builddir}"
1817

@@ -35,4 +34,4 @@ stow -Rd "${STOWDIR}" "${pkgname}"
3534

3635
rm -rf "${builddir}"
3736

38-
echo "*** $0: finished"
37+
echo "::endgroup::"

build-dav1d

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ pkgdir="${STOWDIR}/${pkgname}"
1111
srcdir="src/dav1d"
1212
builddir="${TMPDIR:-/tmp}/build.${pkgname}"
1313

14-
echo
15-
echo "*** $0: started"
14+
echo "::group::$0"
1615

1716
rm -rf "${builddir}"
1817

@@ -35,4 +34,4 @@ stow -Rd "${STOWDIR}" "${pkgname}"
3534

3635
rm -rf "${builddir}"
3736

38-
echo "*** $0: finished"
37+
echo "::endgroup::"

build-ffmpeg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ pkgname="ffmpeg"
1010
pkgdir="${STOWDIR}/${pkgname}"
1111
srcdir="src/ffmpeg"
1212

13-
echo
14-
echo "*** $0: started"
13+
echo "::group::$0"
1514

1615
cd "${srcdir}"
1716

@@ -69,4 +68,4 @@ make install
6968
rm -rf "${pkgdir}"/share
7069
stow -Rd "${STOWDIR}" "${pkgname}"
7170

72-
echo "*** $0: finished"
71+
echo "::endgroup::"

build-freetype

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ pkgdir="${STOWDIR}/${pkgname}"
1111
srcdir="src/freetype"
1212
builddir="${TMPDIR:-/tmp}/build.${pkgname}"
1313

14-
echo
15-
echo "*** $0: started"
14+
echo "::group::$0"
1615

1716
rm -rf "${builddir}"
1817

@@ -39,4 +38,4 @@ stow -Rd "${STOWDIR}" "${pkgname}"
3938

4039
rm -rf "${builddir}"
4140

42-
echo "*** $0: finished"
41+
echo "::endgroup::"

build-fribidi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ pkgdir="${STOWDIR}/${pkgname}"
1111
srcdir="src/fribidi"
1212
builddir="${TMPDIR:-/tmp}/build.${pkgname}"
1313

14-
echo
15-
echo "*** $0: started"
14+
echo "::group::$0"
1615

1716
rm -rf "${builddir}"
1817

@@ -37,4 +36,4 @@ stow -Rd "${STOWDIR}" "${pkgname}"
3736

3837
rm -rf "${builddir}"
3938

40-
echo "*** $0: finished"
39+
echo "::endgroup::"

build-harfbuzz

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ pkgdir="${STOWDIR}/${pkgname}"
1111
srcdir="src/harfbuzz"
1212
builddir="${TMPDIR:-/tmp}/build.${pkgname}"
1313

14-
echo
15-
echo "*** $0: started"
14+
echo "::group::$0"
1615

1716
rm -rf "${builddir}"
1817

@@ -44,4 +43,4 @@ stow -Rd "${STOWDIR}" "${pkgname}"
4443

4544
rm -rf "${builddir}"
4645

47-
echo "*** $0: finished"
46+
echo "::endgroup::"

0 commit comments

Comments
 (0)