[oe-commits] Vladimir Zapolskiy : feh: add a bb recipe for the recent version on feh

git version control git at git.openembedded.org
Mon Jun 21 20:26:14 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 213e66e9ca111c562558ffb5e19c940597d6e270
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=213e66e9ca111c562558ffb5e19c940597d6e270

Author: Vladimir Zapolskiy <vzapolskiy at gmail.com>
Date:   Mon Jun 21 01:55:56 2010 +0400

feh: add a bb recipe for the recent version on feh

This adds a recipe for feh 1.7. Note that xinerama support is disabled
by default.

Signed-off-by: Vladimir Zapolskiy <vzapolskiy at gmail.com>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>

---

 recipes/feh/feh-1.7/noxinerama.patch |   13 +++++++++++++
 recipes/feh/feh_1.7.bb               |   17 +++++++++++++++++
 2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/recipes/feh/feh-1.7/noxinerama.patch b/recipes/feh/feh-1.7/noxinerama.patch
new file mode 100644
index 0000000..d84d9d5
--- /dev/null
+++ b/recipes/feh/feh-1.7/noxinerama.patch
@@ -0,0 +1,13 @@
+--- a/config.mk	2010-06-10 14:16:09.000000000 +0400
++++ b/config.mk	2010-06-21 01:30:35.615419264 +0400
+@@ -17,8 +17,8 @@
+ CFLAGS += -Wall -Wextra -pedantic
+ 
+ # Comment these out if you don't have libxinerama
+-xinerama = -DHAVE_LIBXINERAMA
+-xinerama_ld = -lXinerama
++# xinerama = -DHAVE_LIBXINERAMA
++# xinerama_ld = -lXinerama
+ 
+ debug = -DDEBUG
+ # Uncomment this for debug mode
diff --git a/recipes/feh/feh_1.7.bb b/recipes/feh/feh_1.7.bb
new file mode 100644
index 0000000..b01e0f1
--- /dev/null
+++ b/recipes/feh/feh_1.7.bb
@@ -0,0 +1,17 @@
+SECTION = "x11/utils"
+DESCRIPTION = "feh is a fast, lightweight image viewer which uses imlib2."
+LICENSE = "MIT"
+DEPENDS = "virtual/imlib2 giblib jpeg virtual/libx11 libxext libxt"
+
+SRC_URI = "https://derf.homelinux.org/projects/feh/feh-${PV}.tar.bz2 \
+	   file://noxinerama.patch"
+S = "${WORKDIR}/feh-${PV}"
+
+inherit autotools
+
+do_install() {
+    oe_runmake 'DESTDIR=${D}' PREFIX=/usr install-bin
+}
+
+SRC_URI[md5sum] = "59181976384d1f5bddae016b39334e2e"
+SRC_URI[sha256sum] = "13cd57ac8e97430ea7875d9e5d642166df4f1fb5884cc4523da84bcfe4fa6c56"





More information about the Openembedded-commits mailing list