summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-07-12 18:22:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2022-07-12 18:22:47 +0200
commitb0879a48065192e43008784e5fc9a690cdd7c889 (patch)
tree5997adee4926802759c3495cbc5de89c14fe2870 /freebsd
parent8db8455459c1e71181c6e93ad1aa9189fcad29c8 (diff)
downloadtde-packaging-b0879a48065192e43008784e5fc9a690cdd7c889.tar.gz
tde-packaging-b0879a48065192e43008784e5fc9a690cdd7c889.zip
FreeBSD akode: Add a check for a pkg-config package named libmad next to mad.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/dependencies/akode/Makefile2
-rw-r--r--freebsd/dependencies/akode/files/patch-bp000-check-for-libmad.diff21
2 files changed, 22 insertions, 1 deletions
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 <slavek.banko@axis.cz>
+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 <slavek.banko@axis.cz>
+
+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 )