summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/xdg-user-dirs
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-27 23:16:25 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-27 23:16:25 +0100
commita47ba316463b8ee98a8a649f953e9d4a0866e8ba (patch)
treed67a441a301c10ccbb5fb29bf7f51ad5cfabd9aa /meta-moblin/packages/xdg-user-dirs
parentb63ec221132a43fa5fd80518b9cbf2624975b9c0 (diff)
downloadopenembedded-core-a47ba316463b8ee98a8a649f953e9d4a0866e8ba.tar.gz
openembedded-core-a47ba316463b8ee98a8a649f953e9d4a0866e8ba.tar.bz2
openembedded-core-a47ba316463b8ee98a8a649f953e9d4a0866e8ba.tar.xz
openembedded-core-a47ba316463b8ee98a8a649f953e9d4a0866e8ba.zip
Add recipe for xdg-user-dirs
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-moblin/packages/xdg-user-dirs')
-rw-r--r--meta-moblin/packages/xdg-user-dirs/xdg-user-dirs/configurefix.patch18
-rw-r--r--meta-moblin/packages/xdg-user-dirs/xdg-user-dirs_0.10.bb11
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs/configurefix.patch b/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs/configurefix.patch
new file mode 100644
index 000000000..576cdde75
--- /dev/null
+++ b/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs/configurefix.patch
@@ -0,0 +1,18 @@
+The AM_DISABLE_STATIC appears to pull in strange libtool junk so just remove it.
+
+RP - 27/5/09
+
+Index: xdg-user-dirs-0.10/configure.ac
+===================================================================
+--- xdg-user-dirs-0.10.orig/configure.ac 2009-05-27 22:27:20.000000000 +0100
++++ xdg-user-dirs-0.10/configure.ac 2009-05-27 22:27:28.000000000 +0100
+@@ -13,8 +13,7 @@
+ AC_PROG_INSTALL
+ AC_PROG_LN_S
+ AC_PROG_MAKE_SET
+-AM_PROG_MKDIR_P
+-AM_DISABLE_STATIC
++AM_PROG_MKDIR_P
+ AM_ICONV
+
+ GETTEXT_PACKAGE=xdg-user-dirs
diff --git a/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs_0.10.bb b/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs_0.10.bb
new file mode 100644
index 000000000..2ea08b6b0
--- /dev/null
+++ b/meta-moblin/packages/xdg-user-dirs/xdg-user-dirs_0.10.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "xdg-user-dirs is a tool to help manage user directories like the desktop folder and the music folder"
+SRC_URI = "http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.10.tar.gz \
+ file://configurefix.patch;patch=1 "
+PR = "r1"
+
+inherit autotools_stage
+
+do_install_append () {
+ install -d ${D}${sysconfdir}/skel/.config/
+ mv ${D}${sysconfdir}/xdg/user-dirs.defaults ${D}${sysconfdir}/skel/.config/user-dirs.dirs
+}