[Bug 278353] devel/sdl20: Convert to CMake

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 14 Apr 2024 10:27:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278353

            Bug ID: 278353
           Summary: devel/sdl20: Convert to CMake
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3@FreeBSD.org
          Reporter: diizzy@FreeBSD.org
          Assignee: amdmi3@FreeBSD.org
             Flags: maintainer-feedback?(amdmi3@FreeBSD.org)

Created attachment 249962
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249962&action=edit
Patch for sdl20

* Switch to CMake, Autotools is removed upstream and brings us closer to other
distros
* Use GITHUB as primary site and upstream website as fallback
* Use helpers for DISTNAME
* Remove i386/AMD optimization logic and rely on CPUTYPE from the framework
* Permanently disable NAS
* Always use on iconv from libc
* Always build with pthread support
* Sort _DESC and remove redundant entries
* Merge OPENGLES1 and 2 into one option (this is how upstream handles it)
* Make use of helpers whenever possible
* Drop _m_prefetch patch, merged with LLVM in 2015
  Reference: https://github.com/llvm/llvm-project/issues/24022

Note, modeled after multimedia/ffmpeg for readability and consistency

Poudriere testport OK 13.2-RELEASE, 14.0-RELEASE amd64
Poudriere testport OK 14.0-RELEASE i386
Poudriere bulk OK (list taken from freshports for devel/sdl20) on 13.2-RELEASE
amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.