Commit 4a53089d authored by Fredrik Andersson's avatar Fredrik Andersson
Browse files

testing/{glfw-wayland,raylib-wayland}: new aport

https://www.glfw.org
Multi-platform library for OpenGL and Vulkan application development targeting Wayland instead of X11

https://www.raylib.com
Raylib game programming library targeting Wayland instead of X11
parent 11bca711
Pipeline #15318 failed with stages
in 1 minute and 20 seconds
# Maintainer: rfaa <rfaa@rfaa.se>
pkgname=glfw-wayland
pkgver=3.3.2
pkgrel=1
pkgdesc="Multi-platform library for OpenGL and Vulkan application development targeting Wayland instead of X11"
url="https://www.glfw.org/"
arch="all"
license="Zlib"
depends_dev="linux-headers mesa-dev extra-cmake-modules"
makedepends="$depends_dev cmake"
subpackages="glfw-wayland-dev"
source="glfw-$pkgver.tar.gz::https://github.com/glfw/glfw/archive/$pkgver.tar.gz"
builddir="$srcdir/glfw-$pkgver"
options="!check"
build() {
cmake . \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=ON \
-DGLFW_USE_WAYLAND=ON
make
}
package() {
make DESTDIR="$pkgdir/" install
}
sha512sums="f5af749d33b5b900ccf07988ad0bf51bd766a18e4cf2bc2a76020c88e98a2528ff1b965224184fe0d290cfe34b1af1e6f633600660d81194fe354078e2f35c56 glfw-3.3.2.tar.gz"
# Maintainer: rfaa <rfaa@rfaa.se>
pkgname=raylib-wayland
pkgver=3.0.0
pkgrel=1
pkgdesc="Raylib game programming library targeting Wayland instead of X11"
url="https://www.raylib.com/"
arch="all"
license="Zlib"
depends="glfw-wayland musl"
depends_dev="cmake"
makedepends="$depends_dev cmake glfw-wayland-dev"
subpackages="raylib-wayland-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/raysan5/raylib/archive/$pkgver.tar.gz"
builddir="$srcdir/raylib-$pkgver"
options="!check"
build() {
cmake . \
-Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DUSE_EXTERNAL_GLFW=ON \
-DSTATIC=OFF \
-DSHARED=ON \
-DWITH_PIC=ON \
-DBUILD_EXAMPLES=OFF \
-DBUILD_GAMES=OFF \
-DUSE_WAYLAND=ON
make
}
package() {
make DESTDIR="$pkgdir/" install
}
sha512sums="f6e78a923b139907b81a544632e5fc574cd7b029a56e42b91e4b8df1be450a393fb421ab84c2e4c933051bb6ef6f526749e647008cad2f4198601f96797de4b8 raylib-wayland-3.0.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment