diff options
| author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
| commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
| tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/packages/libxsettings-client | |
| download | poky-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz | |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/libxsettings-client')
| -rw-r--r-- | openembedded/packages/libxsettings-client/libxsettings-client_0.14.bb | 20 | ||||
| -rw-r--r-- | openembedded/packages/libxsettings-client/make_pkgconfig_x11.patch | 21 |
2 files changed, 41 insertions, 0 deletions
diff --git a/openembedded/packages/libxsettings-client/libxsettings-client_0.14.bb b/openembedded/packages/libxsettings-client/libxsettings-client_0.14.bb new file mode 100644 index 0000000000..11d0d3497b --- /dev/null +++ b/openembedded/packages/libxsettings-client/libxsettings-client_0.14.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | SECTION = "gpe/libs" | ||
| 2 | LICENSE = "BSD-X" | ||
| 3 | PRIORITY = "optional" | ||
| 4 | DEPENDS = "libxsettings x11" | ||
| 5 | |||
| 6 | inherit autotools pkgconfig gpe | ||
| 7 | |||
| 8 | SRC_URI = "${GPE_MIRROR}/xsettings-client-${PV}.tar.bz2" | ||
| 9 | S = ${WORKDIR}/xsettings-client-${PV} | ||
| 10 | |||
| 11 | |||
| 12 | headers = "xsettings-client.h xsettings-common.h" | ||
| 13 | do_stage () { | ||
| 14 | oe_libinstall -so libXsettings-client ${STAGING_LIBDIR} | ||
| 15 | mkdir -p ${STAGING_INCDIR} | ||
| 16 | for h in ${headers}; do | ||
| 17 | install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h | ||
| 18 | done | ||
| 19 | } | ||
| 20 | |||
diff --git a/openembedded/packages/libxsettings-client/make_pkgconfig_x11.patch b/openembedded/packages/libxsettings-client/make_pkgconfig_x11.patch new file mode 100644 index 0000000000..3a386672d2 --- /dev/null +++ b/openembedded/packages/libxsettings-client/make_pkgconfig_x11.patch | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | --- libxsettings-client0-0.12/Makefile.old 2004-04-20 16:48:18.000000000 +1000 | ||
| 2 | +++ libxsettings-client0-0.12/Makefile 2004-04-20 16:58:07.000000000 +1000 | ||
| 3 | @@ -20,6 +20,9 @@ | ||
| 4 | CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" | ||
| 5 | CPPFLAGS += -I../libxsettings | ||
| 6 | |||
| 7 | +CFLAGS += `pkg-config --cflags x11` | ||
| 8 | +LDFLAGS += `pkg-config --ldflags x11` | ||
| 9 | + | ||
| 10 | XSETTINGS_OBJS = $(patsubst %,%.os,$(XSETTINGS_MEMBERS)) | ||
| 11 | DEPS = $(patsubst %,%.d,$(MEMBERS) $(XSETTINGS_MEMBERS)) | ||
| 12 | SOURCES = $(patsubst %,%.c,$(MEMBERS) $(XSETTINGS_MEMBERS)) | ||
| 13 | @@ -39,7 +42,7 @@ | ||
| 14 | ln -sf $^ $@ | ||
| 15 | |||
| 16 | $(LIBXSETTINGS_SO): $(XSETTINGS_OBJS) | ||
| 17 | - $(CC) -o $@ $^ -shared -Wl,-soname -Wl,$(LIBXSETTINGS_SO) -nostartfiles -L/usr/X11R6/lib -lX11 -L../libxsettings -lXsettings | ||
| 18 | + $(CC) -o $@ $^ -shared -Wl,-soname -Wl,$(LIBXSETTINGS_SO) -nostartfiles $(LDFLAGS) -L../libxsettings -lXsettings | ||
| 19 | |||
| 20 | install-program: $(LIBXSETTINGS_SO) | ||
| 21 | install -d $(DESTDIR)$(PREFIX)/lib | ||
