FreeBSD Bugzilla – Attachment 222382 Details for
Bug 253448
Uses=kodi for kodi addons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for Mk/Uses/kodi.mk
kodi.mk.patch (text/plain), 1.48 KB, created by
Bernhard Froehlich
on 2021-02-12 07:49:06 UTC
(
hide
)
Description:
Patch for Mk/Uses/kodi.mk
Filename:
MIME Type:
Creator:
Bernhard Froehlich
Created:
2021-02-12 07:49:06 UTC
Size:
1.48 KB
patch
obsolete
>Index: Mk/Uses/kodi.mk >=================================================================== >--- Mk/Uses/kodi.mk (nonexistent) >+++ Mk/Uses/kodi.mk (working copy) >@@ -0,0 +1,46 @@ >+# $FreeBSD$ >+# >+# Support Kodi Home Theater Addons >+# >+# Feature: kodi >+# Usage: USES=kodi[:noautoplist] >+# Valid args: noautoplist Don't generate the plist automatically >+# >+# MAINTAINER: portmgr@FreeBSD.org >+ >+.if !defined(_INCLUDE_USES_KODI_MK) >+ >+_INCLUDE_USES_KODI_MK= yes >+ >+_valid_ARGS= noautoplist >+ >+# Sanity check >+.for arg in ${kodi_ARGS} >+. if empty(_valid_ARGS:M${arg}) >+IGNORE= Incorrect 'USES+= kodi:${kodi_ARGS}' usage: argument [${arg}] is not recognized >+. endif >+.endfor >+ >+BUILD_DEPENDS+= ${LOCALBASE}/include/kodi/AddonBase.h:multimedia/kodi >+LIB_DEPENDS+= libp8-platform.so:devel/p8-platform \ >+ libkodiplatform.so:devel/kodi-platform >+RUN_DEPENDS+= kodi:multimedia/kodi >+ >+PKGNAMEPREFIX?= kodi-addon- >+KODI_ADDON?= ${PORTNAME} >+ >+PLIST_SUB+= DISTVERSION="${DISTVERSION}" >+ >+.if empty(kodi_ARGS:Mnoautoplist) >+_USES_install+= 820:kodi-autoplist >+kodi-autoplist: >+ @${FIND} -ds ${STAGEDIR}${PREFIX}/lib/kodi/addons/${KODI_ADDON} \( -type f -or -type l \) -print | ${SED} -E -e \ >+ 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} >+ >+ @if [ -d ${STAGEDIR}${PREFIX}/share/kodi/addons/${KODI_ADDON} ]; then \ >+ ${FIND} -ds ${STAGEDIR}${PREFIX}/share/kodi/addons/${KODI_ADDON} -type f -print | ${SED} -E -e \ >+ 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} ; \ >+ fi >+.endif >+ >+.endif # !defined(_INCLUDE_USES_KODI_MK)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 253448
: 222382