-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
wlroots0.17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Template file for 'wlroots0.17' | ||
pkgname=wlroots0.17 | ||
version=0.17.0 | ||
revision=1 | ||
build_style=meson | ||
# Follow upstream packaging recommendations: | ||
# https://gitlab.freedesktop.org/wlroots/wlroots/-/wikis/Packaging-recommendations | ||
configure_args="--auto-features=enabled -Dexamples=false -Dwerror=false | ||
-Db_ndebug=false" | ||
hostmakedepends="pkg-config wayland-devel glslang hwids" | ||
_devel_depends="libgbm-devel libglvnd-devel libseat-devel eudev-libudev-devel | ||
libdrm-devel libinput-devel libxkbcommon-devel pixman-devel wayland-devel | ||
wayland-protocols vulkan-loader Vulkan-Headers xcb-util-errors-devel | ||
xcb-util-wm-devel xcb-util-renderutil-devel libdisplay-info-devel" | ||
makedepends="${_devel_depends} | ||
libxcb-devel xcb-util-cursor-devel xcb-util-devel xcb-util-image-devel | ||
xcb-util-keysyms-devel xcb-util-xrm-devel xorg-server-xwayland" | ||
short_desc="Modular Wayland compositor library ${pkgname#wlroots}" | ||
maintainer="Andrew J. Hesford <ajh@sideband.org>" | ||
license="MIT" | ||
homepage="https://gitlab.freedesktop.org/wlroots/wlroots" | ||
distfiles="${homepage}/-/releases/${version}/downloads/wlroots-${version}.tar.gz" | ||
checksum=9da3475a6834a6a9a8fd93de84f4ef91f9ee48ff70c305aa9522bf0db9e61128 | ||
|
||
post_install() { | ||
vlicense LICENSE | ||
} | ||
|
||
wlroots0.17-devel_package() { | ||
depends="${sourcepkg}>=${version}_${revision} ${_devel_depends}" | ||
conflicts="wlroots0.16-devel wlroots0.15-devel wlroots0.14-devel" | ||
short_desc+=" - development files" | ||
pkg_install() { | ||
vmove usr/include | ||
vmove usr/lib/pkgconfig | ||
vmove "usr/lib/*.so" | ||
} | ||
} |