Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: gamescope-git #6270

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f53b7b3
add: gamescope-git
Jul 22, 2024
803285b
Merge branch 'master' into gamescope
Xdavius Jul 22, 2024
6010e1f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 22, 2024
1e583be
add pacdeps
Jul 22, 2024
ccf626b
Merge branch 'master' into gamescope
oklopfer Jul 23, 2024
c70138f
add DISTRO/CDISTRO if
Xdavius Jul 24, 2024
842bd22
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 24, 2024
079062c
changes to base:codename CDISTRO
Xdavius Jul 24, 2024
b3b0f1a
changed != to =
Xdavius Jul 24, 2024
7bfc916
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 24, 2024
e80b1ad
changed ubuntu:* to ubuntu
Xdavius Jul 24, 2024
9b340d9
changed ubuntu:* to ubuntu
Xdavius Jul 24, 2024
5c94235
changed == to =~
Xdavius Jul 24, 2024
7dc482d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 24, 2024
9db2985
modified IF
Xdavius Jul 24, 2024
49ce822
changed bookwrom pacdeps
Xdavius Jul 24, 2024
0a3f683
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 24, 2024
9d3e62f
fix depping
oklopfer Aug 10, 2024
14889ef
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 10, 2024
b7c84ce
Merge branch 'master' into gamescope
oklopfer Aug 11, 2024
0227408
Merge branch 'master' into gamescope
Xdavius Aug 22, 2024
ef8d21d
Update gamescope-git.pacscript
oklopfer Aug 22, 2024
3e32269
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 22, 2024
2f92fea
Update gamescope-git.pacscript
oklopfer Aug 22, 2024
f366a03
add wayland pacdeps
Xdavius Sep 4, 2024
b8e4163
Merge branch 'master' into gamescope
Xdavius Sep 4, 2024
da679d4
Merge branch 'master' into gamescope
Xdavius Sep 10, 2024
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
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ fsearch-git
fselect-git
fzf-bin
galaxybudsclient-bin
gamescope-git
geekbench-bin
genymotion-bin
gfn-electron-bin
Expand Down
86 changes: 86 additions & 0 deletions packages/gamescope-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
pkgbase = gamescope-git
gives = gamescope
pkgver = 3.14.22
pkgdesc = SteamOS session compositing window manager
url = https://github.com/ValveSoftware/gamescope
arch = amd64
depends = hwdata
depends = seatd
depends = mesa-vulkan-drivers
depends = xwayland
depends = libglm-dev
depends = libavif-dev
depends = libcap-dev
depends = libdecor-0-dev
depends = libdrm-dev
depends = libinput-dev
depends = libpipewire-0.3-dev
depends = libx11-dev
depends = libxcb1-dev
depends = libxcomposite-dev
depends = libxdamage-dev
depends = libxext-dev
depends = libxfixes-dev
depends = libxkbcommon-dev
depends = libxmu-dev
depends = libxrender-dev
depends = libxres-dev
depends = libxtst-dev
depends = libxxf86vm-dev
depends = libsdl2-dev
depends = libwayland-dev
depends = libxcb-ewmh-dev
depends = libxcb-errors-dev
makedepends = meson
makedepends = pkg-config
makedepends = libx11-dev
makedepends = libxdamage-dev
makedepends = libxcomposite-dev
makedepends = libxrender-dev
makedepends = libxext-dev
makedepends = libxfixes-dev
makedepends = libxxf86vm-dev
makedepends = libxtst-dev
makedepends = libxres-dev
makedepends = libxcb1-dev
makedepends = libdrm-dev
makedepends = libvulkan-dev
makedepends = libwayland-dev
makedepends = libpipewire-0.3-dev
makedepends = wayland-protocols
makedepends = libxkbcommon-dev
makedepends = libcap-dev
makedepends = libsdl2-dev
makedepends = libstb-dev
makedepends = libwlroots-dev
makedepends = libliftoff-dev
makedepends = glslang-tools
makedepends = hwdata
makedepends = vkroots-headers
makedepends = libglm-dev
makedepends = libxmu-dev
makedepends = libdisplay-info-dev
makedepends = libbenchmark-dev
makedepends = libwayland-dev
makedepends = xwayland
pacdeps = openvr
provides = gamescope
maintainer = xdavius <[email protected]>
source = git+https://github.com/ValveSoftware/gamescope.git
source = git+https://github.com/Joshua-Ashton/wlroots.git
source = git+https://gitlab.freedesktop.org/emersion/libliftoff.git
source = git+https://github.com/Joshua-Ashton/vkroots.git
source = git+https://gitlab.freedesktop.org/emersion/libdisplay-info.git
source = git+https://github.com/ValveSoftware/openvr.git
source = git+https://github.com/Joshua-Ashton/reshade.git
source = git+https://github.com/KhronosGroup/SPIRV-Headers.git
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP

pkgname = gamescope-git
139 changes: 139 additions & 0 deletions packages/gamescope-git/gamescope-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
pkgname="gamescope-git"
gives="gamescope"
provides=("${gives}")
replace=("${gives}")
pkgver="3.14.22"
pkgdesc='SteamOS session compositing window manager'
arch=("amd64")
url='https://github.com/ValveSoftware/gamescope'
pacdeps=("openvr")
depends=(hwdata
seatd
mesa-vulkan-drivers
xwayland
libglm-dev
libavif-dev
libcap-dev
libdecor-0-dev
libdrm-dev
libinput-dev
libpipewire-0.3-dev
libx11-dev
libxcb1-dev
libxcomposite-dev
libxdamage-dev
libxext-dev
libxfixes-dev
libxkbcommon-dev
libxmu-dev
libxrender-dev
libxres-dev
libxtst-dev
libxxf86vm-dev
libsdl2-dev
libwayland-dev
libxcb-ewmh-dev
libxcb-errors-dev)
makedepends=("meson"
"pkg-config"
"libx11-dev"
"libxdamage-dev"
"libxcomposite-dev"
"libxrender-dev"
"libxext-dev"
"libxfixes-dev"
"libxxf86vm-dev"
"libxtst-dev"
"libxres-dev"
"libxcb1-dev"
"libdrm-dev"
"libvulkan-dev"
"libwayland-dev"
"libpipewire-0.3-dev"
"wayland-protocols"
"libxkbcommon-dev"
"libcap-dev"
"libsdl2-dev"
"libstb-dev"
"libwlroots-dev"
"libliftoff-dev"
"glslang-tools"
"hwdata"
"vkroots-headers"
"libglm-dev"
"libxmu-dev"
"libdisplay-info-dev"
"libbenchmark-dev"
"libwayland-dev"
"xwayland")
# "libopenvr-dev"
source=('git+https://github.com/ValveSoftware/gamescope.git'
'git+https://github.com/Joshua-Ashton/wlroots.git'
'git+https://gitlab.freedesktop.org/emersion/libliftoff.git'
'git+https://github.com/Joshua-Ashton/vkroots.git'
'git+https://gitlab.freedesktop.org/emersion/libdisplay-info.git'
'git+https://github.com/ValveSoftware/openvr.git'
'git+https://github.com/Joshua-Ashton/reshade.git'
'git+https://github.com/KhronosGroup/SPIRV-Headers.git')
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
external_connection=true
maintainer=("xdavius <[email protected]>")

prepare() {
cd "${gives}"

# Add custom patches if needed
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ ${src} == *.patch ]] || continue
echo "Applying patch ${src}..."
git apply -v "../${src}"
done

meson subprojects download

git submodule init subprojects/wlroots
git config submodule.subprojects/wlroots.url ../wlroots

git submodule init subprojects/libliftoff
git config submodule.subprojects/libliftoff.url ../libliftoff

git submodule init subprojects/vkroots
git config submodule.subprojects/vkroots.url ../vkroots

git submodule init subprojects/libdisplay-info
git config submodule.subprojects/libdisplay-info.url ../libdisplay-info

git submodule init subprojects/openvr
git config submodule.subprojects/openvr.url ../openvr

git submodule init src/reshade
git config submodule.src/reshade.url ../reshade

git submodule init thirdparty/SPIRV-Headers
git config submodule.thirdparty/SPIRV-Headers.url ../SPIRV-Headers

git -c protocol.file.allow=always submodule update
}

build() {
meson --prefix=/usr "${gives}" build \
-Dforce_fallback_for=stb,wlroots,vkroots,libliftoff,glm,libdisplay-info \
-Dpipewire=enabled
ninja -C build
}

package() {
meson install -C build --skip-subprojects --destdir="${pkgdir}"

cd "${srcdir}/${gives}"
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${gives}/"
}
87 changes: 87 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -2900,6 +2900,93 @@ pkgbase = galaxybudsclient-bin

pkgname = galaxybudsclient-bin
---
pkgbase = gamescope-git
gives = gamescope
pkgver = 3.14.22
pkgdesc = SteamOS session compositing window manager
url = https://github.com/ValveSoftware/gamescope
arch = amd64
depends = hwdata
depends = seatd
depends = mesa-vulkan-drivers
depends = xwayland
depends = libglm-dev
depends = libavif-dev
depends = libcap-dev
depends = libdecor-0-dev
depends = libdrm-dev
depends = libinput-dev
depends = libpipewire-0.3-dev
depends = libx11-dev
depends = libxcb1-dev
depends = libxcomposite-dev
depends = libxdamage-dev
depends = libxext-dev
depends = libxfixes-dev
depends = libxkbcommon-dev
depends = libxmu-dev
depends = libxrender-dev
depends = libxres-dev
depends = libxtst-dev
depends = libxxf86vm-dev
depends = libsdl2-dev
depends = libwayland-dev
depends = libxcb-ewmh-dev
depends = libxcb-errors-dev
makedepends = meson
makedepends = pkg-config
makedepends = libx11-dev
makedepends = libxdamage-dev
makedepends = libxcomposite-dev
makedepends = libxrender-dev
makedepends = libxext-dev
makedepends = libxfixes-dev
makedepends = libxxf86vm-dev
makedepends = libxtst-dev
makedepends = libxres-dev
makedepends = libxcb1-dev
makedepends = libdrm-dev
makedepends = libvulkan-dev
makedepends = libwayland-dev
makedepends = libpipewire-0.3-dev
makedepends = wayland-protocols
makedepends = libxkbcommon-dev
makedepends = libcap-dev
makedepends = libsdl2-dev
makedepends = libstb-dev
makedepends = libwlroots-dev
makedepends = libliftoff-dev
makedepends = glslang-tools
makedepends = hwdata
makedepends = vkroots-headers
makedepends = libglm-dev
makedepends = libxmu-dev
makedepends = libdisplay-info-dev
makedepends = libbenchmark-dev
makedepends = libwayland-dev
makedepends = xwayland
pacdeps = openvr
provides = gamescope
maintainer = xdavius <[email protected]>
source = git+https://github.com/ValveSoftware/gamescope.git
source = git+https://github.com/Joshua-Ashton/wlroots.git
source = git+https://gitlab.freedesktop.org/emersion/libliftoff.git
source = git+https://github.com/Joshua-Ashton/vkroots.git
source = git+https://gitlab.freedesktop.org/emersion/libdisplay-info.git
source = git+https://github.com/ValveSoftware/openvr.git
source = git+https://github.com/Joshua-Ashton/reshade.git
source = git+https://github.com/KhronosGroup/SPIRV-Headers.git
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP

pkgname = gamescope-git
---
pkgbase = geekbench-bin
gives = geekbench
pkgver = 5.4.5
Expand Down
Loading