Explicitly decativate wayland support

This commit is contained in:
rsadowski 2021-11-15 20:02:44 +00:00
parent b572f6c28d
commit aa11325dcb
2 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2021/11/02 00:02:59 sthen Exp $
# $OpenBSD: Makefile,v 1.10 2021/11/15 20:02:44 rsadowski Exp $
# Requires OpenGL>=3.3
ONLY_FOR_ARCHS = aarch64 amd64 i386
@ -10,7 +10,7 @@ DISTNAME = kitty-${MODPY_EGG_VERSION}
CATEGORIES = x11
HOMEPAGE = https://sw.kovidgoyal.net/kitty/
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
REVISION = 0
REVISION = 1
# GPLv3+
PERMIT_PACKAGE = Yes

View File

@ -1,7 +1,8 @@
$OpenBSD: patch-setup_py,v 1.4 2021/08/23 17:58:45 thfr Exp $
$OpenBSD: patch-setup_py,v 1.5 2021/11/15 20:02:44 rsadowski Exp $
remove -O3 and -march=native optimizations
fix man directory
disable wayland
Index: setup.py
--- setup.py.orig
@ -38,6 +39,15 @@ Index: setup.py
)
ldflags = shlex.split(ldflags_)
ldflags.append('-shared')
@@ -700,7 +698,7 @@ def find_c_files() -> Tuple[List[str], List[str]]:
def compile_glfw(compilation_database: CompilationDatabase) -> None:
- modules = 'cocoa' if is_macos else 'x11 wayland'
+ modules = 'cocoa' if is_macos else 'x11'
for module in modules.split():
try:
genv = glfw.init_env(env, pkg_config, pkg_version, at_least_version, test_compile, module)
@@ -805,8 +803,6 @@ def build_launcher(args: Options, launcher_dir: str =
cflags.append('-g')
if args.profile: