misc: simplify PLUGIN_NO_ABI and use it for themes

This commit is contained in:
Franco Fichtner 2021-05-31 16:48:06 +02:00
parent b0ad36d2ca
commit ea03e161a6
6 changed files with 8 additions and 2 deletions

View File

@ -23,6 +23,8 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
OSABIPREFIX= FreeBSD
LOCALBASE?= /usr/local
PAGER?= less

View File

@ -104,8 +104,8 @@ manifest: check
@echo "licenselogic: \"single\""
@echo "licenses: [ \"BSD2CLAUSE\" ]"
.if defined(PLUGIN_NO_ABI)
@echo "arch: `pkg config abi | tr '[:upper:]' '[:lower:]' | cut -d: -f1`:*:*"
@echo "abi: `pkg config abi | cut -d: -f1`:*:*"
@echo "arch: \"${OSABIPREFIX:tl}:*:*\""
@echo "abi: \"${OSABIPREFIX}:*:*\""
.endif
.if defined(PLUGIN_DEPENDS)
@echo "deps: {"

View File

@ -2,5 +2,6 @@ PLUGIN_NAME= theme-cicada
PLUGIN_VERSION= 1.28
PLUGIN_COMMENT= The cicada theme - dark grey
PLUGIN_MAINTAINER= rene@team-rebellion.net
PLUGIN_NO_ABI= yes
.include "../../Mk/plugins.mk"

View File

@ -2,5 +2,6 @@ PLUGIN_NAME= theme-rebellion
PLUGIN_VERSION= 1.8.7
PLUGIN_COMMENT= A suitably dark theme
PLUGIN_MAINTAINER= team-rebellion@queens-park.com
PLUGIN_NO_ABI= yes
.include "../../Mk/plugins.mk"

View File

@ -2,5 +2,6 @@ PLUGIN_NAME= theme-tukan
PLUGIN_VERSION= 1.25
PLUGIN_COMMENT= The tukan theme - blue/white
PLUGIN_MAINTAINER= rene@team-rebellion.net
PLUGIN_NO_ABI= yes
.include "../../Mk/plugins.mk"

View File

@ -2,5 +2,6 @@ PLUGIN_NAME= theme-vicuna
PLUGIN_VERSION= 1.4
PLUGIN_COMMENT= The vicuna theme - dark anthrazit
PLUGIN_MAINTAINER= rene@team-rebellion.net
PLUGIN_NO_ABI= yes
.include "../../Mk/plugins.mk"