summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-08-09 20:37:55 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-08-09 20:37:55 +0000
commit624b58aa198e6f60d5dc7efef0129934e3133433 (patch)
tree28fa9b97ca988ec723c3b521d4dbc19bdd52731d /packages
parent3f9c67e87e6ca7fb19a5a308757ef1523a00a40a (diff)
add hsetroot, yet another X wallpaper utility
Diffstat (limited to 'packages')
-rw-r--r--packages/hsetroot/.mtn2git_empty0
-rw-r--r--packages/hsetroot/files/.mtn2git_empty0
-rw-r--r--packages/hsetroot/files/pkgconfigize-imlib.patch22
-rw-r--r--packages/hsetroot/hsetroot_1.0.2.bb10
4 files changed, 32 insertions, 0 deletions
diff --git a/packages/hsetroot/.mtn2git_empty b/packages/hsetroot/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/hsetroot/.mtn2git_empty
diff --git a/packages/hsetroot/files/.mtn2git_empty b/packages/hsetroot/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/hsetroot/files/.mtn2git_empty
diff --git a/packages/hsetroot/files/pkgconfigize-imlib.patch b/packages/hsetroot/files/pkgconfigize-imlib.patch
new file mode 100644
index 0000000000..862b74fad2
--- /dev/null
+++ b/packages/hsetroot/files/pkgconfigize-imlib.patch
@@ -0,0 +1,22 @@
+Index: hsetroot-1.0.2/configure.ac
+===================================================================
+--- hsetroot-1.0.2.orig/configure.ac 2003-09-05 21:41:38.000000000 +0000
++++ hsetroot-1.0.2/configure.ac 2007-08-09 21:14:09.000000000 +0000
+@@ -39,16 +39,7 @@
+ AC_C_CONST
+
+ # Check for imlib2
+-AC_CHECK_PROGS(imlib2config_cmd, imlib2-config)
+-if test x$imlib2config_cmd = "x"; then
+- AC_MSG_ERROR([error. Imlib2 is required to compile.])
+-fi
+-
+-IMLIB2_CFLAGS=`$imlib2config_cmd --cflags`
+-AC_SUBST(IMLIB2_CFLAGS)
+-
+-IMLIB2_LIBS=`$imlib2config_cmd --libs`
+-AC_SUBST(IMLIB2_LIBS)
++PKG_CHECK_MODULES(IMLIB2, imlib2)
+
+ # Some extra definitions for config.h
+ AC_DEFINE(DESCRIPTION, "yet another wallpaper application", [single line package description])
diff --git a/packages/hsetroot/hsetroot_1.0.2.bb b/packages/hsetroot/hsetroot_1.0.2.bb
new file mode 100644
index 0000000000..64ff997b50
--- /dev/null
+++ b/packages/hsetroot/hsetroot_1.0.2.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "Yet another X Wallpaper Utility"
+DEPENDS += "imlib2 freetype zlib virtual/libx11 libxext"
+RDEPENDS += "imlib2-loaders"
+LICENSE = "GPL"
+
+SRC_URI = "http://thegraveyard.org/files/hsetroot-${PV}.tar.gz \
+ file://pkgconfigize-imlib.patch;patch=1"
+
+inherit autotools
+