git: 415a9dadf000 - main - audio/fooyin: Backport build fixes

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Thu, 05 Sep 2024 05:34:10 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=415a9dadf000fa35bfc3921cece0612924c7c3f8

commit 415a9dadf000fa35bfc3921cece0612924c7c3f8
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-09-04 16:50:20 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-09-05 05:33:31 +0000

    audio/fooyin: Backport build fixes
    
    Backport upstream commits a7388331090465ae9c22600bee4769d4c00bbc53 and
    318f2e00952f37e1d237789d7b2605f05639c687
    
    References:
    https://github.com/fooyin/fooyin/commit/a7388331090465ae9c22600bee4769d4c00bbc53
    https://github.com/fooyin/fooyin/commit/318f2e00952f37e1d237789d7b2605f05639c687
---
 audio/fooyin/Makefile                                   |  4 ++++
 audio/fooyin/distinfo                                   |  6 +++++-
 audio/fooyin/files/patch-src_plugins_gme_CMakeLists.txt | 13 -------------
 3 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/audio/fooyin/Makefile b/audio/fooyin/Makefile
index a67795d4001f..5e2d6dada5a8 100644
--- a/audio/fooyin/Makefile
+++ b/audio/fooyin/Makefile
@@ -3,6 +3,10 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	0.6.2
 CATEGORIES=	audio multimedia
 
+PATCH_SITES=	https://github.com/fooyin/fooyin/commit/
+PATCHFILES=	a7388331090465ae9c22600bee4769d4c00bbc53.patch:-p1 \
+		318f2e00952f37e1d237789d7b2605f05639c687.patch:-p1
+
 MAINTAINER=	diizzy@FreeBSD.org
 COMMENT=	foobar2000 inspired audio player
 WWW=		https://github.com/fooyin/fooyin
diff --git a/audio/fooyin/distinfo b/audio/fooyin/distinfo
index c8758f82ab7e..d3be61c45630 100644
--- a/audio/fooyin/distinfo
+++ b/audio/fooyin/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1725140610
+TIMESTAMP = 1725468089
 SHA256 (fooyin-fooyin-v0.6.2_GH0.tar.gz) = ea1e128820becb70c9c2b1c648cd6c9c8816818709284cfebbdf99cce232af4f
 SIZE (fooyin-fooyin-v0.6.2_GH0.tar.gz) = 4598582
+SHA256 (a7388331090465ae9c22600bee4769d4c00bbc53.patch) = f9b47961914b69d3b4ede077712f868aa7801ff6da5476b1ab7a7e2f3bacf848
+SIZE (a7388331090465ae9c22600bee4769d4c00bbc53.patch) = 715
+SHA256 (318f2e00952f37e1d237789d7b2605f05639c687.patch) = 1e79bb05c43ce9234d4104695ce7a95eb76061ca13c1f8a07b1a06bb8011ecc3
+SIZE (318f2e00952f37e1d237789d7b2605f05639c687.patch) = 602
diff --git a/audio/fooyin/files/patch-src_plugins_gme_CMakeLists.txt b/audio/fooyin/files/patch-src_plugins_gme_CMakeLists.txt
deleted file mode 100644
index 74b4c96801de..000000000000
--- a/audio/fooyin/files/patch-src_plugins_gme_CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/plugins/gme/CMakeLists.txt.orig	2024-08-27 22:28:57 UTC
-+++ src/plugins/gme/CMakeLists.txt
-@@ -22,6 +22,10 @@ target_include_directories(
-     gmeinput
-     PRIVATE ${LIBGME_INCLUDE_DIRS}
- )
-+target_link_directories(
-+    gmeinput
-+    PRIVATE ${LIBGME_LIBRARY_DIRS}
-+)
- 
- fooyin_append_mimes(
-     audio/x-ay