add compton for lxqt
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
34
recipes-graphics/compton/compton_git.bb
Normal file
34
recipes-graphics/compton/compton_git.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "Compton is a compositor for X"
|
||||
LICENSE = "NTP & MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=51f8a6ef7a22968bea284609c6093146"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
inherit autotools-brokensep
|
||||
|
||||
DEPENDS = " \
|
||||
virtual/libx11 \
|
||||
libxcomposite \
|
||||
libxdamage \
|
||||
libxfixes \
|
||||
libxext \
|
||||
libxrender \
|
||||
libxrandr \
|
||||
libpcre \
|
||||
libconfig \
|
||||
libxinerama \
|
||||
dbus \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/chjj/compton.git \
|
||||
file://0001-Makefile-use-pkgconfig-to-find-libpcre.patch \
|
||||
file://0002-Makefile-don-t-build-manpages.patch \
|
||||
"
|
||||
SRCREV = "86266e00e2bdac46d0a8dabfc1db3e29af91640e"
|
||||
PV = "v0.1-beta2+git${SRCPV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# there are not many machines around supporting gl
|
||||
EXTRA_OEMAKE = "NO_VSYNC_OPENGL=1"
|
||||
@@ -0,0 +1,33 @@
|
||||
From 40fff6e760920d6b31dc98dbcbde081845ac26b0 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Wed, 26 Aug 2015 22:31:35 +0200
|
||||
Subject: [PATCH 1/2] Makefile: use pkgconfig to find libpcre
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index e66f322..d9737f7 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -39,8 +39,8 @@ endif
|
||||
# Enables support for PCRE regular expression pattern in window conditions
|
||||
ifeq "$(NO_REGEX_PCRE)" ""
|
||||
CFG += -DCONFIG_REGEX_PCRE
|
||||
- LIBS += $(shell pcre-config --libs)
|
||||
- INCS += $(shell pcre-config --cflags)
|
||||
+ LIBS += $(shell pkg-config --libs libpcre)
|
||||
+ INCS += $(shell pkg-config --cflags libpcre)
|
||||
# Enables JIT support in libpcre
|
||||
ifeq "$(NO_REGEX_PCRE_JIT)" ""
|
||||
CFG += -DCONFIG_REGEX_PCRE_JIT
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From c5fbed297f765b222d92c4eca15743c8f8b4741d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Wed, 26 Aug 2015 23:04:41 +0200
|
||||
Subject: [PATCH 2/2] Makefile: don't build manpages
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
we don't have all these tools neccessary in oe
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
Makefile | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index e66f322..94d595c 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -126,8 +126,6 @@ INCS += $(shell pkg-config --cflags $(PACKAGES))
|
||||
CFLAGS += -Wall
|
||||
|
||||
BINS = compton bin/compton-trans
|
||||
-MANPAGES = man/compton.1 man/compton-trans.1
|
||||
-MANPAGES_HTML = $(addsuffix .html,$(MANPAGES))
|
||||
|
||||
# === Recipes ===
|
||||
.DEFAULT_GOAL := compton
|
||||
--
|
||||
2.1.0
|
||||
|
||||
Reference in New Issue
Block a user