mirror of
https://github.com/bottlesdevs/Bottles.git
synced 2026-10-29 07:17:00 +08:00
580 lines
16 KiB
JSON
580 lines
16 KiB
JSON
{
|
|
"id": "com.usebottles.bottles",
|
|
"sdk": "org.gnome.Sdk",
|
|
"runtime": "org.gnome.Platform",
|
|
"base": "org.winehq.Wine",
|
|
"base-version": "stable-21.08",
|
|
"runtime-version": "42",
|
|
"command": "bottles",
|
|
"finish-args": [
|
|
"--allow=devel",
|
|
"--allow=multiarch",
|
|
"--share=network",
|
|
"--share=ipc",
|
|
"--socket=x11",
|
|
"--socket=wayland",
|
|
"--socket=pulseaudio",
|
|
"--device=all",
|
|
"--system-talk-name=org.freedesktop.UDisks2",
|
|
"--talk-name=org.freedesktop.Notifications",
|
|
"--env=LD_LIBRARY_PATH=/app/lib:/app/lib32",
|
|
"--env=PATH=/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin/:/usr/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin/",
|
|
"--require-version=1.1.2"
|
|
],
|
|
"inherit-extensions": [
|
|
"org.freedesktop.Platform.GL32",
|
|
"org.freedesktop.Platform.ffmpeg-full",
|
|
"org.freedesktop.Platform.ffmpeg_full.i386",
|
|
"org.winehq.Wine.gecko",
|
|
"org.winehq.Wine.mono",
|
|
"org.winehq.Wine.DLLs"
|
|
],
|
|
"add-extensions": {
|
|
"org.gnome.Platform.Compat.i386": {
|
|
"directory": "lib/i386-linux-gnu",
|
|
"version": "42"
|
|
},
|
|
"org.gnome.Platform.Compat.i386.Debug": {
|
|
"directory": "lib/debug/lib/i386-linux-gnu",
|
|
"version": "42",
|
|
"no-autodownload": true
|
|
},
|
|
"com.valvesoftware.Steam.Utility": {
|
|
"subdirectories": true,
|
|
"directory": "utils",
|
|
"version": "stable",
|
|
"versions": "stable;beta;test",
|
|
"add-ld-path": "lib",
|
|
"merge-dirs": "bin",
|
|
"no-autodownload": true,
|
|
"autodelete": true
|
|
}
|
|
},
|
|
"x-compat-i386-opts": {
|
|
"prepend-pkg-config-path": "/app/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig",
|
|
"ldflags": "-L/app/lib32",
|
|
"append-path": "/usr/lib/sdk/toolchain-i386/bin",
|
|
"env": {
|
|
"CC": "i686-unknown-linux-gnu-gcc",
|
|
"CXX": "i686-unknown-linux-gnu-g++"
|
|
},
|
|
"libdir": "/app/lib32"
|
|
},
|
|
"sdk-extensions": [
|
|
"org.gnome.Sdk.Compat.i386",
|
|
"org.freedesktop.Sdk.Extension.toolchain-i386"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/man",
|
|
"/share/doc",
|
|
"/share/gtk-doc",
|
|
"/share/man",
|
|
"/share/pkgconfig",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"cleanup-commands": [
|
|
"mkdir -p /app/utils"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "PyYAML",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/yaml/pyyaml/archive/refs/tags/6.0.tar.gz",
|
|
"sha256": "f33eaba25d8e0c1a959bbf00655198c287dfc5868f5b7b01e401eaa1796cc778"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "python-requests",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/psf/requests/archive/refs/tags/v2.28.0.tar.gz",
|
|
"sha256": "6b757ca284d8dc192794010c960b0cf405fcc7aed9ed2e04a8269dc41b1231ad"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "python-urllib3",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/urllib3/urllib3/archive/refs/tags/1.26.9.tar.gz",
|
|
"sha256": "5860049db8811e7a26e5f228359522814dc8159e6ec4f352b1b596e0dee80503"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "python-chardet",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/chardet/chardet/archive/4.0.0.tar.gz",
|
|
"sha256": "67bbe3eb02691d38831ddf2719c40fe09381bc17f15321946f6cd71dc274e530"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "python-certifi",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/certifi/python-certifi/archive/refs/tags/2021.10.08.tar.gz",
|
|
"sha256": "51c2cf76f7f2582d9c4eb5440bb311ef523ba0b319d0a973450ecebfb6802a3a"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "python-idna",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/kjd/idna/archive/refs/tags/v3.3.tar.gz",
|
|
"sha256": "34b145ffe35b7872e9a3e0abc3a3a8330db90a0fd58db978725fd05c5c7d9f88"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "python-markdown",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/Python-Markdown/markdown/archive/refs/tags/3.3.7.tar.gz",
|
|
"sha256": "a1b7a818ca2dc6b34b9ec0bb73e3f4325e4ee949a8390a91a4df48c311069f65"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "python-icoextract",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/jlu5/icoextract/archive/refs/tags/0.1.2.tar.gz",
|
|
"sha256": "3818ad889160b33d360da4083da0a32df8d1955fb77a64bfbac49edc15d5ad3b"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "patool",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/wummel/patool/archive/refs/tags/upstream/1.12.tar.gz",
|
|
"sha256": "582fd4b87c263325958c1550400504799018c88bc3444f249bba304ae1747f1f"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "python-pefile",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/erocarrera/pefile/releases/download/v2021.9.3/pefile-2021.9.3.tar.gz",
|
|
"sha256": "344a49e40a94e10849f0fe34dddc80f773a12b40675bf2f7be4b8be578bdd94a"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "vulkan-tools",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DGLSLANG_INSTALL_DIR=/app",
|
|
"-DVULKAN_HEADERS_INSTALL_DIR=/app",
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/KhronosGroup/Vulkan-Tools/archive/refs/tags/v1.2.186.tar.gz",
|
|
"sha256": "8ba0e21e8de0b70d31985d251d11150efee71266875262798784e9d1ec9b717b"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gamemode",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dwith-systemd=false",
|
|
"-Dwith-daemon=false",
|
|
"-Dwith-examples=false",
|
|
"-Dwith-util=false",
|
|
"-Dwith-sd-bus-provider=no-daemon"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/FeralInteractive/gamemode/releases/download/1.6.1/gamemode-1.6.1.tar.xz",
|
|
"sha256": "10c2a3f142eae472f5a09e42616e38c666c05b25ca3e61e562a543bb3fda66c5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gamemode-32bit",
|
|
"build-options": {
|
|
"arch": {
|
|
"x86_64": {
|
|
"prepend-pkg-config-path": "/app/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig",
|
|
"ldflags": "-L/app/lib32",
|
|
"append-path": "/usr/lib/sdk/toolchain-i386/bin",
|
|
"env": {
|
|
"CC": "i686-unknown-linux-gnu-gcc",
|
|
"CXX": "i686-unknown-linux-gnu-g++"
|
|
},
|
|
"libdir": "/app/lib32"
|
|
}
|
|
}
|
|
},
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dwith-systemd=false",
|
|
"-Dwith-daemon=false",
|
|
"-Dwith-examples=false",
|
|
"-Dwith-util=false",
|
|
"-Dwith-sd-bus-provider=no-daemon"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/FeralInteractive/gamemode/releases/download/1.6.1/gamemode-1.6.1.tar.xz",
|
|
"sha256": "10c2a3f142eae472f5a09e42616e38c666c05b25ca3e61e562a543bb3fda66c5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gamemoderun",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"install -Dm755 data/gamemoderun -t /app/bin"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/FeralInteractive/gamemode/releases/download/1.6.1/gamemode-1.6.1.tar.xz",
|
|
"sha256": "10c2a3f142eae472f5a09e42616e38c666c05b25ca3e61e562a543bb3fda66c5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "xdpyinfo",
|
|
"buildsystem": "autotools",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/freedesktop/xdpyinfo/archive/refs/tags/xdpyinfo-1.3.2.tar.gz",
|
|
"sha256": "4c6942cb55e965f1192c0e2efc78429e2f4281cc2bc185d6ea09d609f32c51de"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "mesa-glu",
|
|
"config-opts": [
|
|
"--disable-static"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://mesa.freedesktop.org/archive/glu/glu-9.0.2.tar.xz",
|
|
"sha256": "6e7280ff585c6a1d9dfcdf2fca489251634b3377bfc33c29e4002466a38d02d4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "mesa-glu-32bit",
|
|
"build-options": {
|
|
"arch": {
|
|
"x86_64": {
|
|
"prepend-pkg-config-path": "/app/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig",
|
|
"ldflags": "-L/app/lib32",
|
|
"append-path": "/usr/lib/sdk/toolchain-i386/bin",
|
|
"env": {
|
|
"CC": "i686-unknown-linux-gnu-gcc",
|
|
"CXX": "i686-unknown-linux-gnu-g++"
|
|
},
|
|
"libdir": "/app/lib32"
|
|
}
|
|
}
|
|
},
|
|
"config-opts": [
|
|
"--disable-static"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://mesa.freedesktop.org/archive/glu/glu-9.0.2.tar.xz",
|
|
"sha256": "6e7280ff585c6a1d9dfcdf2fca489251634b3377bfc33c29e4002466a38d02d4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "rpcsvc-proto",
|
|
"buildsystem": "autotools",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/thkukuk/rpcsvc-proto/archive/v1.4.3.tar.gz",
|
|
"sha256": "6906e0f81bb016bd0216460fc879d3d9f2f6d743be7dfb0d8b32d140226d5ef8"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "parse-yapp",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"perl Makefile.PL",
|
|
"make install"
|
|
],
|
|
"build-options": {
|
|
"env": {
|
|
"PERL5LIB": "/app/lib/perl5/",
|
|
"PERL_MM_OPT": "INSTALL_BASE=/app"
|
|
}
|
|
},
|
|
"cleanup": [
|
|
"*"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-1.21.tar.gz",
|
|
"sha256": "3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "LatencyFleX",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"mkdir -p /app/lib/x86_64-linux-gnu/",
|
|
"mkdir -p /app/share/vulkan/implicit_layer.d/",
|
|
"cp layer/usr/lib/x86_64-linux-gnu/liblatencyflex_layer.so /app/lib/x86_64-linux-gnu/liblatencyflex_layer.so",
|
|
"cp layer/usr/share/vulkan/implicit_layer.d/latencyflex.json /app/share/vulkan/implicit_layer.d/latencyflex.json"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/ishitatsuyuki/LatencyFleX/releases/download/v0.1.0/latencyflex-v0.1.0.tar.xz",
|
|
"sha256": "9862c7608b85ac6bff018d5926c4692490ff84ca3e649119b7fc53680e64dd1a"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libadwaita",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dexamples=false",
|
|
"-Dtests=false"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/libadwaita.git",
|
|
"tag": "1.2.alpha",
|
|
"commit": "9150f4016a04064a00733b78391c8e6aad49bee8"
|
|
}
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libsass",
|
|
"buildsystem": "meson",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/lazka/libsass.git",
|
|
"branch": "meson"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sassc",
|
|
"buildsystem": "meson",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/lazka/sassc.git",
|
|
"branch": "meson"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "ImageMagick",
|
|
"config-opts": [
|
|
"--disable-static",
|
|
"--disable-docs",
|
|
"--with-hdri",
|
|
"--with-pic"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/ImageMagick/ImageMagick/archive/7.1.0-37.tar.gz",
|
|
"sha256": "a54888a1a46dbb808705a3e6c6b5ecb93ee30189a8ae6ea0f02300a0ab0d0996"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libportal",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Ddocs=false",
|
|
"-Dbackends=gtk4"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/flatpak/libportal/archive/refs/tags/0.6.tar.gz",
|
|
"sha256": "8ad326c4f53b7433645dc86d994fef0292bee8adda0fe67db9288ace19250a9c"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "EasyTerm",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/bottlesdevs/EasyTerm",
|
|
"tag": "0.2.0",
|
|
"commit": "6fbeab0470df55aeab141a45763147440b2f0290",
|
|
"x-checker-data": {
|
|
"type": "json",
|
|
"url": "https://api.github.com/repos/bottlesdevs/EasyTerm/releases/latest",
|
|
"tag-query": ".tag_name",
|
|
"version-query": ".tag_name",
|
|
"timestamp-query": ".published_at"
|
|
}
|
|
}
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "vte",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Ddocs=false",
|
|
"-Dvapi=false"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://gitlab.gnome.org/GNOME/vte/-/archive/0.66.2/vte-0.66.2.tar.gz",
|
|
"sha256": "a486e389e3d16f903ed6f27d9513c2a44bff5945a12af4fcfe48ce00992c42ab"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FVS",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/mirkobrombin/FVS",
|
|
"tag": 0.1,
|
|
"commit": "cecae479fff8d61ce9480fce067d6998bcb9d1d2",
|
|
"x-checker-data": {
|
|
"type": "json",
|
|
"url": "https://api.github.com/repos/mirkobrombin/FVS/releases/latest",
|
|
"tag-query": ".tag_name",
|
|
"version-query": ".tag_name",
|
|
"timestamp-query": ".published_at"
|
|
}
|
|
}
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "orjson",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python3 setup.py install --prefix=/app --root=/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/ijl/orjson/archive/refs/tags/3.7.8.tar.gz",
|
|
"sha256": "6ad913aa0490b6db67ebd6879cbef57f90a84c1fe611454aeaa99afa03dc8213"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "runtime",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"mkdir -p /app/etc/runtime",
|
|
"cp -a * /app/etc/runtime/"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/bottlesdevs/runtime/releases/download/0.5/runtime.tar.gz",
|
|
"sha256": "00f7e57f0b54057343cfe49de52690c7b3024771478fc75cfe55c2154e13834f"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "bottles",
|
|
"builddir": true,
|
|
"buildsystem": "meson",
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |