From b0879a48065192e43008784e5fc9a690cdd7c889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 12 Jul 2022 18:22:47 +0200 Subject: FreeBSD akode: Add a check for a pkg-config package named libmad next to mad. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- freebsd/dependencies/akode/Makefile | 2 +- .../akode/files/patch-bp000-check-for-libmad.diff | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 freebsd/dependencies/akode/files/patch-bp000-check-for-libmad.diff (limited to 'freebsd') diff --git a/freebsd/dependencies/akode/Makefile b/freebsd/dependencies/akode/Makefile index 0f3a38842..a4f70dd72 100644 --- a/freebsd/dependencies/akode/Makefile +++ b/freebsd/dependencies/akode/Makefile @@ -9,7 +9,7 @@ PORTNAME= akode COMMENT= akode plugin for aRts TDE_PREVERSION= MASTER_SITE_SUBDIR= a/${PORTNAME} -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= audio DISTSRC= ${PORTNAME}-trinity-${TDE_VERSION}${TDE_PREVERSION} DIST_SUBDIR= TDE/dependencies diff --git a/freebsd/dependencies/akode/files/patch-bp000-check-for-libmad.diff b/freebsd/dependencies/akode/files/patch-bp000-check-for-libmad.diff new file mode 100644 index 000000000..45cc50be0 --- /dev/null +++ b/freebsd/dependencies/akode/files/patch-bp000-check-for-libmad.diff @@ -0,0 +1,21 @@ +commit b17ef87b7a06f73ff91fb611cedbabfbf935ec88 +Author: Slávek Banko +Date: Mon Jul 11 20:01:54 2022 +0200 + + Add a check for a pkg-config package named libmad next to mad. + + Signed-off-by: Slávek Banko + +diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake +index dd50162..9867c04 100644 +--- a/ConfigureChecks.cmake ++++ b/ConfigureChecks.cmake +@@ -195,7 +195,7 @@ endif( WITH_FFMPEG_DECODER ) + + if( WITH_MPEG_DECODER ) + +- pkg_search_module( MAD mad ) ++ pkg_search_module( MAD libmad mad ) + + if( NOT MAD_FOUND ) + find_library( MAD_LIBRARIES NAMES mad ) -- cgit v1.2.1