Skip to content

Commit

Permalink
add: wayland (#6389)
Browse files Browse the repository at this point in the history
Merge needed for gamescope-git

---------

Co-authored-by: root <[email protected]>
Co-authored-by: xdavius <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: V. <[email protected]>
  • Loading branch information
5 people authored Sep 10, 2024
1 parent eb05ede commit 9dbeb88
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ warp
warpinator-deb
watchexec-bin
wavey-launcher-bin
wayland
waynergy
webapp-manager
webapp-manager-deb
Expand Down
52 changes: 52 additions & 0 deletions packages/wayland/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
pkgbase = wayland
gives = wayland
pkgver = 1.23.0
pkgdesc = A computer display server protocol
url = https://wayland.freedesktop.org/
arch = x86_64
arch = i686
depends = libglib2.0-0
depends = libffi8
depends = libexpat1
depends = libxml2
makedepends = meson
makedepends = pkg-config
makedepends = cmake
makedepends = libxslt1-dev
makedepends = doxygen
makedepends = xmlto
makedepends = graphviz
makedepends = docbook-xsl
makedepends = libglib2.0-dev
makedepends = libffi-dev
makedepends = libexpat1-dev
makedepends = libxml2-dev
breaks = libwayland-client0
breaks = libwayland-egl1
breaks = libwayland-server0
breaks = libwayland-cursor0
breaks = libwayland-dev
breaks = libwayland-egl-backend-dev
breaks = libwayland-doc
breaks = libwayland-bin
replaces = libwayland-client0
replaces = libwayland-egl1
replaces = libwayland-server0
replaces = libwayland-cursor0
replaces = libwayland-dev
replaces = libwayland-egl-backend-dev
replaces = libwayland-doc
replaces = libwayland-bin
provides = libwayland-client0=1.23.0
provides = libwayland-egl1=1.23.0
provides = libwayland-server0=1.23.0
provides = libwayland-cursor0=1.23.0
provides = libwayland-dev=1.23.0
provides = libwayland-egl-backend-dev=1.23.0
provides = libwayland-doc=1.23.0
provides = libwayland-bin=1.23.0
maintainer = xdavius <[email protected]>
source = https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.23.0/downloads/wayland-1.23.0.tar.xz
sha256sums = 05b3e1574d3e67626b5974f862f36b5b427c7ceeb965cb36a4e6c2d342e45ab2

pkgname = wayland
39 changes: 39 additions & 0 deletions packages/wayland/wayland.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
pkgname=wayland
gives="wayland"
pkgver=1.23.0
pkgdesc='A computer display server protocol'
arch=('x86_64' 'i686')
url='https://wayland.freedesktop.org/'
source=("https://gitlab.freedesktop.org/wayland/wayland/-/releases/${pkgver}/downloads/wayland-${pkgver}.tar.xz")
sha256sums=('05b3e1574d3e67626b5974f862f36b5b427c7ceeb965cb36a4e6c2d342e45ab2')
depends=('libglib2.0-0' 'libffi8' 'libexpat1' 'libxml2')
makedepends=('meson' 'pkg-config' 'cmake' 'libxslt1-dev' 'doxygen' 'xmlto' 'graphviz' 'docbook-xsl' 'libglib2.0-dev' 'libffi-dev' 'libexpat1-dev' 'libxml2-dev')
provides=(libwayland-client0="${pkgver}"
libwayland-egl1="${pkgver}"
libwayland-server0="${pkgver}"
libwayland-cursor0="${pkgver}"
libwayland-dev="${pkgver}"
libwayland-egl-backend-dev="${pkgver}"
libwayland-doc="${pkgver}"
libwayland-bin="${pkgver}")
replaces=(libwayland-client0 libwayland-egl1 libwayland-server0 libwayland-cursor0 libwayland-dev libwayland-egl-backend-dev libwayland-doc libwayland-bin)
breaks=("${replaces[@]}")

maintainer=("xdavius <[email protected]>")

build() {
cd "${pkgname}-${pkgver}"
meson --prefix=/usr build
meson compile -C build
}

check() {
cd "${pkgname}-${pkgver}"
meson test -C build --print-errorlogs
}

package() {
cd "${pkgname}-${pkgver}"
meson install -C build --destdir "${pkgdir}"
install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
53 changes: 53 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -10874,6 +10874,59 @@ pkgbase = wavey-launcher-bin

pkgname = wavey-launcher-bin
---
pkgbase = wayland
gives = wayland
pkgver = 1.23.0
pkgdesc = A computer display server protocol
url = https://wayland.freedesktop.org/
arch = x86_64
arch = i686
depends = libglib2.0-0
depends = libffi8
depends = libexpat1
depends = libxml2
makedepends = meson
makedepends = pkg-config
makedepends = cmake
makedepends = libxslt1-dev
makedepends = doxygen
makedepends = xmlto
makedepends = graphviz
makedepends = docbook-xsl
makedepends = libglib2.0-dev
makedepends = libffi-dev
makedepends = libexpat1-dev
makedepends = libxml2-dev
breaks = libwayland-client0
breaks = libwayland-egl1
breaks = libwayland-server0
breaks = libwayland-cursor0
breaks = libwayland-dev
breaks = libwayland-egl-backend-dev
breaks = libwayland-doc
breaks = libwayland-bin
replaces = libwayland-client0
replaces = libwayland-egl1
replaces = libwayland-server0
replaces = libwayland-cursor0
replaces = libwayland-dev
replaces = libwayland-egl-backend-dev
replaces = libwayland-doc
replaces = libwayland-bin
provides = libwayland-client0=1.23.0
provides = libwayland-egl1=1.23.0
provides = libwayland-server0=1.23.0
provides = libwayland-cursor0=1.23.0
provides = libwayland-dev=1.23.0
provides = libwayland-egl-backend-dev=1.23.0
provides = libwayland-doc=1.23.0
provides = libwayland-bin=1.23.0
maintainer = xdavius <[email protected]>
source = https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.23.0/downloads/wayland-1.23.0.tar.xz
sha256sums = 05b3e1574d3e67626b5974f862f36b5b427c7ceeb965cb36a4e6c2d342e45ab2

pkgname = wayland
---
pkgbase = waynergy
pkgver = 0.0.17
pkgdesc = Synergy client for wayland compositors
Expand Down

0 comments on commit 9dbeb88

Please sign in to comment.