Add gnome-common for eds-dbus

git-svn-id: https://svn.o-hand.com/repos/poky@57 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2005-09-28 22:53:51 +00:00
parent 3fab5dd14e
commit 71c9c36c48
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- gnome-common-2.4.0/doc-build/omf.make 2003-05-24 08:16:25.000000000 -0700
+++ gnome-common-2.4.0.new/doc-build/omf.make 2004-11-15 14:01:12.185155192 -0700
@@ -43,7 +43,9 @@
install-data-hook-omf:
$(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
for file in $(omffile); do \
- $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
+ if [ -f $$file.out ]; then \
+ $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
+ fi; \
done
-scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)

View File

@ -0,0 +1,28 @@
LICENSE = "GPL"
SECTION = "x11/gnome"
PR = "r0"
DESCRIPTION = "Common macros for building GNOME applications"
inherit gnome
# The omf.make file failed if scrollkeeper doesn't happen to be
# installed
SRC_URI += "file://omf.patch;patch=1"
EXTRA_AUTORECONF = ""
DEPENDS = ""
FILES_${PN} += "${datadir}/aclocal"
FILES_${PN}-dev = ""
do_stage () {
rm -rf ${STAGE_TEMP}
mkdir -p ${STAGE_TEMP}
make DESTDIR="${STAGE_TEMP}" install
cp -pPR ${STAGE_TEMP}${bindir}/* ${STAGING_DIR}/${BUILD_SYS}/bin
install -d ${STAGING_DATADIR}/gnome-common
install -d ${STAGING_DATADIR}/aclocal
cp -pPR ${STAGE_TEMP}${datadir}/gnome-common/* ${STAGING_DATADIR}/gnome-common
cp -pPR ${STAGE_TEMP}${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
rm -rf ${STAGE_TEMP}
}