updated flatpak build workflow

This commit is contained in:
Christoph Stahl 2024-09-30 15:50:29 +02:00
parent ea6a5d40ad
commit 6557823d83
5 changed files with 461 additions and 89 deletions

View file

@ -0,0 +1,13 @@
# Generated with flatpak-pip-generator --yaml cffi
name: python3-cffi
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "cffi" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/fc/97/c783634659c2920c3fc70419e3af40972dbaf758daa229a7d6ea6135c90d/cffi-1.17.1.tar.gz
sha256: 1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824
- type: file
url: https://files.pythonhosted.org/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl
sha256: c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc

View file

@ -0,0 +1,12 @@
# Generated with flatpak-pip-generator --build-only --yaml expandvars
name: python3-expandvars
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "expandvars" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/df/b3/072c28eace372ba7630ea187b7efd7f09cc8bcebf847a96b5e03e9cc0828/expandvars-0.12.0-py3-none-any.whl
sha256: 7432c1c2ae50c671a8146583177d60020dd210ada7d940e52af91f1f84f753b2
cleanup:
- '*'

View file

@ -1,10 +1,12 @@
# Generated with flatpak-pip-generator --yaml poetry-core==1.9.0
# Generated with flatpak-pip-generator --build-only --yaml poetry-core
name: python3-poetry-core
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "poetry-core==1.9.0" --no-build-isolation
--prefix=${FLATPAK_DEST} "poetry-core" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/a1/8d/85fcf9bcbfefcc53a1402450f28e5acf39dcfde3aabb996a1d98481ac829/poetry_core-1.9.0-py3-none-any.whl
sha256: 4e0c9c6ad8cf89956f03b308736d84ea6ddb44089d16f2adc94050108ec1f5a1
cleanup:
- '*'

View file

@ -1,29 +1,27 @@
# Generated with flatpak-pip-generator --yaml --requirements-file ../../requirements-client.txt
# Generated with flatpak-pip-generator --requirements-file ../../requirements-client.txt --ignore-pkg pyqt6-qt6==6.7.3 pyqt6-sip==13.8.0 pyqt6==6.7.1 cffi==1.17.1 --yaml
build-commands: []
buildsystem: simple
modules:
- name: python3-expandvars
- name: python3-aiohappyeyeballs
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "expandvars" --no-build-isolation
--prefix=${FLATPAK_DEST} "aiohappyeyeballs==2.4.2" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/df/b3/072c28eace372ba7630ea187b7efd7f09cc8bcebf847a96b5e03e9cc0828/expandvars-0.12.0-py3-none-any.whl
sha256: 7432c1c2ae50c671a8146583177d60020dd210ada7d940e52af91f1f84f753b2
- &id001
type: file
url: https://files.pythonhosted.org/packages/13/64/40165ff77ade5203284e3015cf88e11acb07d451f6bf83fff71192912a0d/aiohappyeyeballs-2.4.2-py3-none-any.whl
sha256: 8522691d9a154ba1145b157d6d5c15e5c692527ce6a53c5e5f9876977f6dab2f
- name: python3-aiohttp
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "aiohttp==3.10.5" --no-build-isolation
--prefix=${FLATPAK_DEST} "aiohttp==3.10.8" --no-build-isolation
sources:
- &id001
type: file
url: https://files.pythonhosted.org/packages/18/b6/58ea188899950d759a837f9a58b2aee1d1a380ea4d6211ce9b1823748851/aiohappyeyeballs-2.4.0-py3-none-any.whl
sha256: 7ce92076e249169a13c2f49320d1967425eaf1f407522d707d59cac7628d62bd
- *id001
- type: file
url: https://files.pythonhosted.org/packages/ca/28/ca549838018140b92a19001a8628578b0f2a3b38c16826212cc6f706e6d4/aiohttp-3.10.5.tar.gz
sha256: f071854b47d39591ce9a17981c46790acb30518e2f83dfca8db2dfa091178691
url: https://files.pythonhosted.org/packages/4e/05/da5ff89c85444a6ade9079e73580fb3f78c6ba0e170a2472f15400d03e02/aiohttp-3.10.8.tar.gz
sha256: 21f8225f7dc187018e8433c9326be01477fb2810721e048b33ac49091b19fb4a
- &id002
type: file
url: https://files.pythonhosted.org/packages/76/ac/a7305707cb852b7e16ff80eaf5692309bde30e2b1100a1fcacdc8f731d97/aiosignal-1.3.1-py3-none-any.whl
@ -46,24 +44,8 @@ modules:
sha256: 22ae2ebf9b0c69d206c003e2f6a914ea33f0a932d4aa16f236afc049d9958f4a
- &id022
type: file
url: https://files.pythonhosted.org/packages/e4/3d/4924f9ed49698bac5f112bc9b40aa007bbdcd702462c1df3d2e1383fb158/yarl-1.11.1.tar.gz
sha256: 1bb2d9e212fb7449b8fb73bc461b51eaa17cc8430b4a87d87be7b25052d92f53
- name: python3-pyyaml
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "pyyaml==6.0.2" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz
sha256: d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e
- name: python3-aiohappyeyeballs
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "aiohappyeyeballs==2.4.0" --no-build-isolation
sources:
- *id001
url: https://files.pythonhosted.org/packages/e0/11/2b8334f4192646677a2e7da435670d043f536088af943ec242f31453e5ba/yarl-1.13.1.tar.gz
sha256: ec8cfe2295f3e5e44c51f57272afbd69414ae629ec7c6b27f5a410efc78b70a0
- name: python3-aiosignal
buildsystem: simple
build-commands:
@ -103,6 +85,15 @@ modules:
- *id004
- *id005
- *id006
- name: python3-async-timeout
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "async-timeout==4.0.3" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/a7/fa/e01228c2938de91d47b307831c62ab9e4001e747789d0b05baf779a6488c/async_timeout-4.0.3-py3-none-any.whl
sha256: 7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028
- name: python3-attrs
buildsystem: simple
build-commands:
@ -130,6 +121,17 @@ modules:
type: file
url: https://files.pythonhosted.org/packages/2f/c2/f9e977608bdf958650638c3f1e28f85a1b075f075ebbe77db8555463787b/Brotli-1.1.0.tar.gz
sha256: 81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724
- name: python3-brotlicffi
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "brotlicffi==1.1.0.0" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/95/9d/70caa61192f570fcf0352766331b735afa931b4c6bc9a348a0925cc13288/brotlicffi-1.1.0.0.tar.gz
sha256: b77827a689905143f87915310b93b273ab17888fd43ef350d4832c4a71083c13
- *id005
- *id006
- name: python3-certifi
buildsystem: simple
build-commands:
@ -140,25 +142,6 @@ modules:
type: file
url: https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl
sha256: 922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8
- name: python3-cffi
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "cffi==1.17.1" --no-build-isolation
sources:
- *id005
- *id006
- name: python3-brotlicffi
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "brotlicffi==1.1.0.0" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/95/9d/70caa61192f570fcf0352766331b735afa931b4c6bc9a348a0925cc13288/brotlicffi-1.1.0.0.tar.gz
sha256: b77827a689905143f87915310b93b273ab17888fd43ef350d4832c4a71083c13
- *id005
- *id006
- name: python3-charset-normalizer
buildsystem: simple
build-commands:
@ -169,12 +152,15 @@ modules:
type: file
url: https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz
sha256: f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5
# - name: python3-colorama
# buildsystem: simple
# build-commands:
# - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
# --prefix=${FLATPAK_DEST} "colorama==0.4.6" --no-build-isolation
# sources: []
- name: python3-colorama
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "colorama==0.4.6" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl
sha256: 4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
- name: python3-frozenlist
buildsystem: simple
build-commands:
@ -199,20 +185,19 @@ modules:
--prefix=${FLATPAK_DEST} "idna==3.10" --no-build-isolation
sources:
- *id008
- *id022
- name: python3-minio
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "minio==7.2.8" --no-build-isolation
--prefix=${FLATPAK_DEST} "minio==7.2.9" --no-build-isolation
sources:
- *id009
- *id004
- *id010
- *id005
- type: file
url: https://files.pythonhosted.org/packages/34/89/f4d5cfb0a5494e7dae1c11d6d1ab82811d93f6af8ca54e1393c046ff0e75/minio-7.2.8-py3-none-any.whl
sha256: aa3b485788b63b12406a5798465d12a57e4be2ac2a58a8380959b6b748e64ddd
url: https://files.pythonhosted.org/packages/fd/ec/57236b6f359ba2e8176a92805febe47f3f1c102588eb5d52dd978d347561/minio-7.2.9-py3-none-any.whl
sha256: fe5523d9c4a4d6cfc07e96905852841bccdb22b22770e1efca4bf5ae8b65774b
- *id006
- &id012
type: file
@ -243,15 +228,6 @@ modules:
type: file
url: https://files.pythonhosted.org/packages/b0/7a/620f945b96be1f6ee357d211d5bf74ab1b7fe72a9f1525aafbfe3aee6875/mutagen-1.47.0-py3-none-any.whl
sha256: edd96f50c5907a9539d8e5bba7245f62c9f520aef333d13392a79a4f70aca719
- name: python3-packaging
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "packaging==23.2" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/ec/1a/610693ac4ee14fcdf2d9bf3c493370e4f2ef7ae2e19217d7a237ff42367d/packaging-23.2-py3-none-any.whl
sha256: 8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7
- name: python3-pillow
buildsystem: simple
build-commands:
@ -346,6 +322,15 @@ modules:
sha256: 42efaa3e3e0b166fc72a527488a13caaac2cefc76174252486503bd496284945
- *id016
- *id017
- name: python3-pyyaml
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "pyyaml==6.0.2" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz
sha256: d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e
- name: python3-qrcode
buildsystem: simple
build-commands:
@ -416,7 +401,7 @@ modules:
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "yarl==1.11.1" --no-build-isolation
--prefix=${FLATPAK_DEST} "yarl==1.13.1" --no-build-isolation
sources:
- *id008
- *id011
@ -425,7 +410,7 @@ modules:
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "yt-dlp==2024.8.6" --no-build-isolation
--prefix=${FLATPAK_DEST} "yt-dlp==2024.9.27" --no-build-isolation
sources:
- *id023
- *id010
@ -437,6 +422,6 @@ modules:
- *id021
- *id027
- type: file
url: https://files.pythonhosted.org/packages/a5/9b/f58db6c36f899c4f9c88f63aa9bc6ab676ff3d0ccbbe3201a5d3a670cfe4/yt_dlp-2024.8.6-py3-none-any.whl
sha256: ab507ff600bd9269ad4d654e309646976778f0e243eaa2f6c3c3214278bb2922
url: https://files.pythonhosted.org/packages/c6/26/5dc3a802bd85c19d3d2fa746e6b36979801e2f32a433799c57f646335a7d/yt_dlp-2024.9.27-py3-none-any.whl
sha256: 2717468dd697fcfcf9a89f493ba30a3830cdfb276c09750e5b561b08b9ef5f69
name: python3-requirements-client

View file

@ -2,15 +2,15 @@ id: rocks.syng.Syng
runtime: org.kde.Platform
runtime-version: '6.7'
sdk: org.kde.Sdk
base: "com.riverbankcomputing.PyQt.BaseApp"
base-version: "6.7"
base: com.riverbankcomputing.PyQt.BaseApp
base-version: '6.7'
cleanup-commands:
- /app/cleanup-BaseApp.sh
build-options:
env:
- BASEAPP_REMOVE_WEBENGINE=1
finish-args:
- --env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess - /app/cleanup-BaseApp.sh
- --env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess
# X11 + XShm access
- --socket=fallback-x11
- --share=ipc
@ -19,12 +19,372 @@ finish-args:
- --device=dri
# Sound
- --socket=pulseaudio
# Ability to edit/save files anywhere
- --filesystem=host
# Playback files from anywhere on the system
- --filesystem=host:ro
- --share=network
cleanup:
- '*.la'
- '*.a'
command: syng
modules:
- mpv.yaml
# MPV and MPV deps
# This is basically copied from the mpv flatpak
- name: libXmu
buildsystem: autotools
sources:
- type: git
url: https://gitlab.freedesktop.org/xorg/lib/libxmu.git
tag: libXmu-1.2.1
commit: 792f80402ee06ce69bca3a8f2a84295999c3a170
x-checker-data:
type: git
tag-pattern: ^libXmu-([\d.]+)$
- name: xclip
buildsystem: autotools
sources:
- type: git
url: https://github.com/astrand/xclip.git
tag: '0.13'
commit: 9aa7090c3b8b437c6489edca32ae43d82e0c1281
x-checker-data:
type: git
tag-pattern: ^(\d+\.\d+)$
- name: libXpresent
buildsystem: autotools
sources:
- type: git
url: https://gitlab.freedesktop.org/xorg/lib/libxpresent.git
tag: libXpresent-1.0.1
commit: 37507b5f44332accfb1064ee69a4f6a833994747
x-checker-data:
type: git
tag-pattern: ^libXpresent-([\d.]+)$
- name: luajit
no-autogen: true
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share/man
sources:
- type: git
url: https://github.com/LuaJIT/LuaJIT.git
disable-shallow-clone: true
commit: f5fd22203eadf57ccbaa4a298010d23974b22fc0
x-checker-data:
type: json
url: https://api.github.com/repos/LuaJIT/LuaJIT/commits
commit-query: first( .[].sha )
version-query: first( .[].sha )
timestamp-query: first( .[].commit.committer.date )
- type: shell
commands:
- sed -i 's|/usr/local|/app|' ./Makefile
- name: yt-dlp
no-autogen: true
no-make-install: true
make-args:
- yt-dlp
- PYTHON=/usr/bin/python3
post-install:
- install yt-dlp /app/bin
sources:
- type: archive
url: https://github.com/yt-dlp/yt-dlp/releases/download/2024.09.27/yt-dlp.tar.gz
sha256: ffce6ebd742373eff6dac89b23f706ec7513a0367160eb8b5a550cd706cd883f
x-checker-data:
type: json
url: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
version-query: .tag_name
url-query: .assets[] | select(.name=="yt-dlp.tar.gz") | .browser_download_url
- name: uchardet
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_STATIC=0
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share/man
sources:
- type: archive
url: https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz
sha256: e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0
x-checker-data:
type: html
url: https://www.freedesktop.org/software/uchardet/releases/
version-pattern: uchardet-(\d\.\d+\.?\d*).tar.xz
url-template: https://www.freedesktop.org/software/uchardet/releases/uchardet-$version.tar.xz
- name: libass
cleanup:
- /include
- /lib/pkgconfig
config-opts:
- --disable-static
sources:
- type: git
url: https://github.com/libass/libass.git
tag: 0.17.3
commit: e46aedea0a0d17da4c4ef49d84b94a7994664ab5
x-checker-data:
type: git
tag-pattern: ^(\d\.\d{1,3}\.\d{1,2})$
- name: libaacs
config-opts:
- --disable-static
- --disable-bdjava-jar
cleanup:
- /include
- /lib/pkgconfig
sources:
- sha256: a88aa0ebe4c98a77f7aeffd92ab3ef64ac548c6b822e8248a8b926725bea0a39
type: archive
url: https://download.videolan.org/pub/videolan/libaacs/0.11.1/libaacs-0.11.1.tar.bz2
mirror-urls:
- https://videolan.mirror.ba/libaacs/0.11.1/libaacs-0.11.1.tar.bz2
- https://videolan.c3sl.ufpr.br/libaacs/0.11.1/libaacs-0.11.1.tar.bz2
x-checker-data:
type: html
url: https://www.videolan.org/developers/libaacs.html
version-pattern: Latest release is <b>libaacs (\d\.\d+\.?\d*)</b>
url-template: https://download.videolan.org/pub/videolan/libaacs/$version/libaacs-$version.tar.bz2
- name: zimg
config-opts:
- --disable-static
cleanup:
- /include
- /lib/pkgconfig
- /share/doc
sources:
- type: archive
archive-type: tar
url: https://api.github.com/repos/sekrit-twc/zimg/tarball/release-3.0.5
sha256: 1b8998f03f4a49e4d730033143722b32bc28a5306ef809ccfb3b4bbb29e4b784
x-checker-data:
type: json
url: https://api.github.com/repos/sekrit-twc/zimg/releases/latest
url-query: .tarball_url
version-query: .tag_name | sub("^release-"; "")
timestamp-query: .published_at
- name: mujs
buildsystem: autotools
no-autogen: true
make-args:
- release
make-install-args:
- prefix=/app
- install-shared
cleanup:
- /bin
- /include
- /lib/pkgconfig
sources:
- type: git
url: https://github.com/ccxvii/mujs.git
tag: 1.3.5
commit: 0df0707f2f10187127e36acfbc3ba9b9ca5b5cf0
x-checker-data:
type: git
url: https://api.github.com/repos/ccxvii/mujs/tags
tag-pattern: ^([\d.]+)$
- name: nv-codec-headers
cleanup:
- '*'
no-autogen: true
make-install-args:
- PREFIX=/app
sources:
- type: git
url: https://github.com/FFmpeg/nv-codec-headers.git
tag: n12.2.72.0
commit: c69278340ab1d5559c7d7bf0edf615dc33ddbba7
x-checker-data:
type: git
tag-pattern: ^n([\d.]+)$
- name: x264
cleanup:
- /include
- /lib/pkgconfig
- /share/man
config-opts:
- --disable-cli
- --enable-shared
sources:
- type: git
url: https://github.com/jpsdr/x264
commit: c24e06c2e184345ceb33eb20a15d1024d9fd3497
# Every commit to the master branch is considered a release
# https://code.videolan.org/videolan/x264/-/issues/35
x-checker-data:
type: json
url: https://code.videolan.org/api/v4/projects/536/repository/commits
commit-query: first( .[].id )
version-query: first( .[].id )
timestamp-query: first( .[].committed_date )
- name: x265
buildsystem: cmake
subdir: source
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_STATIC=0
cleanup:
- /include
- /lib/pkgconfig
- /share/man
sources:
- type: git
url: https://bitbucket.org/multicoreware/x265_git.git
tag: '4.0'
commit: 6318f223684118a2c71f67f3f4633a9e35046b00
x-checker-data:
type: git
tag-pattern: ^([\d.]+)$
- name: vulkan-headers
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/KhronosGroup/Vulkan-Headers/archive/v1.3.286.tar.gz
sha256: a82a6982efe5e603e23505ca19b469e8f3d876fc677c46b7bfb6177f517bf8fe
- name: ffmpeg
cleanup:
- /include
- /lib/pkgconfig
- /share/ffmpeg/examples
config-opts:
- --disable-debug
- --disable-doc
- --disable-static
- --enable-encoder=png
- --enable-gnutls
- --enable-gpl
- --enable-shared
- --enable-version3
- --enable-libaom
- --enable-libass
- --enable-libdav1d
- --enable-libfreetype
- --enable-libmp3lame
- --enable-libopus
- --enable-libtheora
- --enable-libvorbis
- --enable-libvpx
- --enable-libx264
- --enable-libx265
- --enable-libwebp
- --enable-libxml2
- --enable-vulkan
sources:
- type: git
url: https://github.com/FFmpeg/FFmpeg.git
commit: b08d7969c550a804a59511c7b83f2dd8cc0499b8
tag: n7.1
x-checker-data:
type: git
tag-pattern: ^n([\d.]{3,7})$
- name: libplacebo
buildsystem: meson
config-opts:
- -Dvulkan=enabled
- -Dshaderc=enabled
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: git
url: https://github.com/haasn/libplacebo.git
tag: v7.349.0
commit: 1fd3c7bde7b943fe8985c893310b5269a09b46c5
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
modules:
- name: shaderc
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DSHADERC_SKIP_COPYRIGHT_CHECK=ON
- -DSHADERC_SKIP_EXAMPLES=ON
- -DSHADERC_SKIP_TESTS=ON
- -DSPIRV_SKIP_EXECUTABLES=ON
- -DENABLE_GLSLANG_BINARIES=OFF
cleanup:
- /bin
- /include
- /lib/cmake
- /lib/pkgconfig
sources:
- type: git
url: https://github.com/google/shaderc.git
#tag: v2023.7
commit: 40bced4e1e205ecf44630d2dfa357655b6dabd04
#x-checker-data:
# type: git
# tag-pattern: ^v(\d{4}\.\d{1,2})$
- type: git
url: https://github.com/KhronosGroup/SPIRV-Tools.git
tag: v2024.1
commit: 04896c462d9f3f504c99a4698605b6524af813c1
dest: third_party/spirv-tools
#x-checker-data:
# type: git
# tag-pattern: ^v(\d{4}\.\d{1})$
- type: git
url: https://github.com/KhronosGroup/SPIRV-Headers.git
#tag: sdk-1.3.250.1
commit: 4f7b471f1a66b6d06462cd4ba57628cc0cd087d7
dest: third_party/spirv-headers
#x-checker-data:
# type: git
# tag-pattern: ^sdk-([\d.]+)$
- type: git
url: https://github.com/KhronosGroup/glslang.git
tag: 15.0.0
commit: 46ef757e048e760b46601e6e77ae0cb72c97bd2f
dest: third_party/glslang
x-checker-data:
type: git
tag-pattern: ^(\d{1,2}\.\d{1,2}\.\d{1,4})$
- name: mpv
buildsystem: meson
config-opts:
- -Dbuild-date=false
- -Dlibmpv=false
- -Dmanpage-build=disabled
- -Dlibarchive=enabled
- -Dsdl2=enabled
- -Dshaderc=disabled
- -Dvulkan=enabled
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: git
url: https://github.com/mpv-player/mpv.git
tag: v0.39.0
commit: a0fba7be57f3822d967b04f0f6b6d6341e7516e7
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- python3-expandvars.yaml
- python3-cffi.yaml
- python3-requirements-client.yaml
- python3-poetry-core.yaml
- name: syng
@ -33,15 +393,15 @@ modules:
- pip install --prefix=/app --no-deps . --no-build-isolation
- install -Dm644 resources/${FLATPAK_ID}.desktop -t /app/share/applications
- install -Dm644 resources/flatpak/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo
- install -Dm644 resources/icons/hicolor/32x32/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/32x32/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/48x48/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/48x48/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/64x64/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/128x128/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/256x256/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/512x512/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- install -Dm644 resources/icons/hicolor/32x32/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/32x32/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/48x48/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/48x48/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/64x64/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/128x128/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/256x256/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
- install -Dm644 resources/icons/hicolor/512x512/apps/${FLATPAK_ID}.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
# - install -Dm644 resources/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
sources:
- type: git
url: https://github.com/christofsteel/syng.git
commit: 58b3837d1bae05abd9b521dac8bed0de3ae2824c
commit: dd84ff361bbd10efd14147d8dd0453438f4e32ff