diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/libxsettings-client | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.bz2 openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.zip |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libxsettings-client')
-rw-r--r-- | meta/packages/libxsettings-client/libxsettings-client_0.14.bb | 21 | ||||
-rw-r--r-- | meta/packages/libxsettings-client/make_pkgconfig_x11.patch | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta/packages/libxsettings-client/libxsettings-client_0.14.bb b/meta/packages/libxsettings-client/libxsettings-client_0.14.bb new file mode 100644 index 0000000000..f2e77735f9 --- /dev/null +++ b/meta/packages/libxsettings-client/libxsettings-client_0.14.bb @@ -0,0 +1,21 @@ +SECTION = "gpe/libs" +LICENSE = "BSD-X" +PRIORITY = "optional" +DEPENDS = "libxsettings libx11 libxt" +# libxt is required to stop configure breaking builds by +# including system paths to find it if it isn't present. + +inherit autotools pkgconfig gpe + +SRC_URI = "${GPE_MIRROR}/xsettings-client-${PV}.tar.bz2" +S = ${WORKDIR}/xsettings-client-${PV} + + +headers = "xsettings-client.h xsettings-common.h" +do_stage () { + oe_libinstall -so libXsettings-client ${STAGING_LIBDIR} + mkdir -p ${STAGING_INCDIR} + for h in ${headers}; do + install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h + done +} diff --git a/meta/packages/libxsettings-client/make_pkgconfig_x11.patch b/meta/packages/libxsettings-client/make_pkgconfig_x11.patch new file mode 100644 index 0000000000..3a386672d2 --- /dev/null +++ b/meta/packages/libxsettings-client/make_pkgconfig_x11.patch @@ -0,0 +1,21 @@ +--- libxsettings-client0-0.12/Makefile.old 2004-04-20 16:48:18.000000000 +1000 ++++ libxsettings-client0-0.12/Makefile 2004-04-20 16:58:07.000000000 +1000 +@@ -20,6 +20,9 @@ + CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" + CPPFLAGS += -I../libxsettings + ++CFLAGS += `pkg-config --cflags x11` ++LDFLAGS += `pkg-config --ldflags x11` ++ + XSETTINGS_OBJS = $(patsubst %,%.os,$(XSETTINGS_MEMBERS)) + DEPS = $(patsubst %,%.d,$(MEMBERS) $(XSETTINGS_MEMBERS)) + SOURCES = $(patsubst %,%.c,$(MEMBERS) $(XSETTINGS_MEMBERS)) +@@ -39,7 +42,7 @@ + ln -sf $^ $@ + + $(LIBXSETTINGS_SO): $(XSETTINGS_OBJS) +- $(CC) -o $@ $^ -shared -Wl,-soname -Wl,$(LIBXSETTINGS_SO) -nostartfiles -L/usr/X11R6/lib -lX11 -L../libxsettings -lXsettings ++ $(CC) -o $@ $^ -shared -Wl,-soname -Wl,$(LIBXSETTINGS_SO) -nostartfiles $(LDFLAGS) -L../libxsettings -lXsettings + + install-program: $(LIBXSETTINGS_SO) + install -d $(DESTDIR)$(PREFIX)/lib |