diff options
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/evisum/evisum-0.2.2.ebuild | 32 | ||||
-rw-r--r-- | sys-process/evisum/files/evisum-0.2.2-respect-cflags-ldflags.patch | 13 |
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-process/evisum/evisum-0.2.2.ebuild b/sys-process/evisum/evisum-0.2.2.ebuild new file mode 100644 index 000000000000..5df0392e17bf --- /dev/null +++ b/sys-process/evisum/evisum-0.2.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit xdg-utils + +DESCRIPTION="System and process monitor written with EFL" +HOMEPAGE="https://www.enlightenment.org/" +SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-libs/efl" +RDEPEND="|| ( dev-libs/efl[X] dev-libs/efl[wayland] )" + +PATCHES=( "${FILESDIR}/${P}-respect-cflags-ldflags.patch" ) + +src_install() { + emake PREFIX="${D}"/usr install + einstalldocs +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/sys-process/evisum/files/evisum-0.2.2-respect-cflags-ldflags.patch b/sys-process/evisum/files/evisum-0.2.2-respect-cflags-ldflags.patch new file mode 100644 index 000000000000..5884fb201fea --- /dev/null +++ b/sys-process/evisum/files/evisum-0.2.2-respect-cflags-ldflags.patch @@ -0,0 +1,13 @@ +diff -Naur a/src/tingle/makefile b/src/tingle/makefile +--- a/src/tingle/makefile 2019-06-09 21:09:50.677101222 +0300 ++++ b/src/tingle/makefile 2019-06-19 05:57:15.196603384 +0300 +@@ -1,7 +1,7 @@ + PROGRAM=tingle + SOURCES=tingle.c +-CFLAGS=-O2 -Wall -pedantic -std=c99 -lpthread +-LDFLAGS=-lm -pthread ++CFLAGS+=-Wall -pedantic -std=c99 -lpthread ++LDFLAGS+=-lm -pthread + HAVE_ALSA := 0 + + ALSA_TEST := $(shell pkg-config --exists alsa 1>&2 2>/dev/null; echo $$?) |