mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 09:52:57 +02:00
New package: yabar-0.4.0
This commit is contained in:
parent
ab75b8bfe6
commit
747bfb08ce
2 changed files with 45 additions and 0 deletions
22
srcpkgs/yabar/patches/gcc7.patch
Normal file
22
srcpkgs/yabar/patches/gcc7.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
From 9779a5e04bd6e8cdc1c9fcf5d7ac31416af85a53 Mon Sep 17 00:00:00 2001
|
||||||
|
From: NBonaparte <98007b33@opayq.com>
|
||||||
|
Date: Wed, 28 Jun 2017 17:47:16 -0700
|
||||||
|
Subject: [PATCH] Fix GCC 7 inline error from #154
|
||||||
|
|
||||||
|
---
|
||||||
|
src/intern_blks/ya_intern.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/intern_blks/ya_intern.c b/src/intern_blks/ya_intern.c
|
||||||
|
index 187e62d..2e6095f 100644
|
||||||
|
--- src/intern_blks/ya_intern.c
|
||||||
|
+++ src/intern_blks/ya_intern.c
|
||||||
|
@@ -116,7 +116,7 @@ int ya_fscanf(char* fpath, ya_block_t *blk, char *fmt, ...) {
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
-inline void ya_setup_prefix_suffix(ya_block_t *blk, size_t * prflen, size_t *suflen, char **startstr) {
|
||||||
|
+__attribute__ ((gnu_inline)) inline void ya_setup_prefix_suffix(ya_block_t *blk, size_t * prflen, size_t *suflen, char **startstr) {
|
||||||
|
if(blk->internal->prefix) {
|
||||||
|
*prflen = strlen(blk->internal->prefix);
|
||||||
|
if(*prflen) {
|
23
srcpkgs/yabar/template
Normal file
23
srcpkgs/yabar/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'yabar'
|
||||||
|
pkgname=yabar
|
||||||
|
version=0.4.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_use_env=yes
|
||||||
|
make_build_args="VERSION=$version"
|
||||||
|
hostmakedepends="pkg-config glib-devel asciidoc"
|
||||||
|
makedepends="alsa-lib-devel gdk-pixbuf-devel libconfig-devel pango-devel xcb-util-wm-devel"
|
||||||
|
short_desc="Modern and lightweight status bar for X window managers"
|
||||||
|
maintainer='shizonic <realtiaz@gmail.com>'
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/geommer/yabar"
|
||||||
|
distfiles="https://github.com/geommer/${pkgname}/archive/${version}.tar.gz"
|
||||||
|
checksum=f8cc613413328af78944ccb8063a5ba8e6be11797a883c419876e973e102fed0
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vdoc README.md
|
||||||
|
vsconf examples/example.config
|
||||||
|
vsconf examples/internal1.config
|
||||||
|
vman doc/yabar.1
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue