From nobody Wed Jan 12 16:06:53 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 73E191965341; Wed, 12 Jan 2022 16:06:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYsrZ1MtCz3ryP; Wed, 12 Jan 2022 16:06:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0E28E7C3F; Wed, 12 Jan 2022 16:06:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20CG6rc6078445; Wed, 12 Jan 2022 16:06:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20CG6rJa078444; Wed, 12 Jan 2022 16:06:53 GMT (envelope-from git) Date: Wed, 12 Jan 2022 16:06:53 GMT Message-Id: <202201121606.20CG6rJa078444@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: b1845ea75cfd - main - devel/sdl20: options cleanup List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b1845ea75cfde6b1f256c306cd1a9327c866b049 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642003614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q9z49JuyLzigZ1WIkXyJwcdTdCtzPDf4ND9eS05fjBw=; b=EXM7JXAw3SCzN5hQ0DEkksahfyte49hSbVzGcKauzJL+p0MyVlOZSYudhEGbyb/Dk/pObm YNBM8KTzV0lzDbEzC6P1i5inLonv87ZcLY+3RNWbmMPEU6dG3S8KvQ3H84Tz0A8PLYVDUR gbe7VrIY7RAfRWApeZetUdO24MSXpHvoTWpo42O3ljHvSKTZwrfTQerME/+T3Uv8sXaJfW lxRv4K5Xru2XRvqFAGtiOP8hIM3CZzbXIRMamkiyEzRmv2M+IDnZY/rn08+0PYWtMgHhmg 6YwjUUWkeJUvCfrxp9YmV7tRXu4LSRIwCtNav2MSFj6MvDlQ+IaDtsji44DuPg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642003614; a=rsa-sha256; cv=none; b=iMRJ5hqIiayD7xdnSbczNDgYwPeLi3ClAK72uR7vr/tnrdZf95xOmnOltqk8OIm6jCnFPn 0ZSYLN5534F2R8Kh1sMoO1HbLARN96b2/zOufSYfNBPLfJpHrkYB8p736+9SUXTmMYoGL5 f/Mvq1ZHcNr9hKMBrlx7UpGowm8saGVpabalCtA1vsNcsERNZuFyFuqX/4BIhtsb+/+CnV 1f7sFsZZEpreiX38J9BH6HBRO3p7gUwzKPnKwM52uu8FlGMKxMoKjzIeEALrLqUZSsVxVw Ohig5LffncenfSZRHmn4xHL2l2bX+CTw5TJKl423uNaKltMirtL08TmtN64xGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1845ea75cfde6b1f256c306cd1a9327c866b049 commit b1845ea75cfde6b1f256c306cd1a9327c866b049 Author: Dmitry Marakasov AuthorDate: 2022-01-12 15:39:43 +0000 Commit: Dmitry Marakasov CommitDate: 2022-01-12 16:04:20 +0000 devel/sdl20: options cleanup Options cleanup pass 1: - Introduce groups for audio, video drives and subsystems - Reuse options descriptions from options.mk, where available --- devel/sdl20/Makefile | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/devel/sdl20/Makefile b/devel/sdl20/Makefile index 349d216db61f..45a608e662f6 100644 --- a/devel/sdl20/Makefile +++ b/devel/sdl20/Makefile @@ -50,15 +50,17 @@ CONFIGURE_ARGS+= --disable-sse3 MAKE_ENV= V=1 -OPTIONS_DEFINE= ALSA ASM HIDAPI JACK NAS OSS PIPEWIRE PTHREADS \ - PULSEAUDIO SAMPLERATE SDL_ATOMIC SDL_AUDIO \ - SDL_CPUINFO SDL_EVENTS SDL_FILE SDL_HAPTIC \ - SDL_JOYSTICK SDL_LOADSO SDL_POWER SDL_RENDER \ - SDL_THREADS SDL_TIMERS SDL_VIDEO SNDIO UDEV \ - VIDEO_KMSDRM VIDEO_OPENGL VIDEO_OPENGLES1 \ - VIDEO_OPENGLES2 VIDEO_VULKAN VIDEO_WAYLAND \ +OPTIONS_DEFINE= ASM HIDAPI PTHREADS SAMPLERATE UDEV +OPTIONS_GROUP= AUDIO VIDEO SUBSYSTEM +OPTIONS_GROUP_AUDIO= ALSA JACK NAS OSS PIPEWIRE PULSEAUDIO SNDIO +OPTIONS_GROUP_VIDEO= VIDEO_KMSDRM VIDEO_OPENGL VIDEO_OPENGLES1 \ + VIDEO_OPENGLES2 VIDEO_VULKAN VIDEO_WAYLAND \ VIDEO_X11 -OPTIONS_DEFAULT= ASM OSS PTHREADS SDL_ATOMIC SDL_AUDIO \ +OPTIONS_GROUP_SUBSYSTEM=SDL_ATOMIC SDL_AUDIO SDL_CPUINFO SDL_EVENTS \ + SDL_FILE SDL_HAPTIC SDL_JOYSTICK SDL_LOADSO \ + SDL_POWER SDL_RENDER SDL_THREADS SDL_TIMERS \ + SDL_VIDEO +OPTIONS_DEFAULT= ASM OSS PTHREADS SDL_ATOMIC SDL_AUDIO \ SDL_CPUINFO SDL_EVENTS SDL_FILE SDL_HAPTIC \ SDL_JOYSTICK SDL_LOADSO SDL_POWER SDL_RENDER \ SDL_THREADS SDL_TIMERS SDL_VIDEO VIDEO_KMSDRM \ @@ -69,15 +71,13 @@ OPTIONS_DEFINE_powerpc64= ALTIVEC OPTIONS_DEFAULT_powerpc= ALTIVEC OPTIONS_DEFAULT_powerpc64= ALTIVEC -ALSA_DESC= Audio output via the ALSA audio architecture +AUDIO_DESC= Audio drivers +VIDEO_DESC= Video drivers +SUBSYSTEM_DESC= SDL subsystems support + HIDAPI_DESC= Use HIDAPI for low level joystick drivers -JACK_DESC= Audio output via the JackD sound server -NAS_DESC= Audio output via the Network Audio System -OSS_DESC= Audio output via the Open Sound System -PIPEWIRE_DESC= Audio output via the Pipewire sound server +PIPEWIRE_DESC= Pipewire sound server support PTHREADS_DESC= Use POSIX threads for multi-threading -PULSEAUDIO_DESC= Audio output via the PulseAudio sound server -SAMPLERATE_DESC= Audio rate conversion via libsamplerate SDL_ATOMIC_DESC= Enable the SDL Atomic subsystem SDL_AUDIO_DESC= Enable the SDL Audio subsystem SDL_CPUINFO_DESC= Enable the SDL CPUinfo subsystem