Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | # nautilus OE build file |
| 2 | # Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved |
| 3 | # Released under the MIT license (see packages/COPYING) |
| 4 | |
| 5 | LICENSE="GPLv2 & LGPLv2" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=7c0048536e43642a1f3a724c2909872b \ |
| 7 | file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a" |
| 8 | |
| 9 | PR = "r6" |
| 10 | |
| 11 | DEPENDS = "gdk-pixbuf gtk+ libunique gvfs librsvg libexif esound gnome-desktop orbit2-native" |
| 12 | # optional: tracker |
| 13 | |
| 14 | inherit gnome gobject-introspection |
| 15 | |
| 16 | SRC_URI[archive.md5sum] = "51565aa10d1625dff56e381228346911" |
| 17 | SRC_URI[archive.sha256sum] = "2d4ff28c7a7aa5d40eb2468149954a564c257a305183773057584d22d15347a2" |
| 18 | GNOME_COMPRESS_TYPE="bz2" |
| 19 | |
| 20 | SRC_URI += "file://idl-sysroot.patch \ |
| 21 | file://no-try-run-strftime.diff \ |
| 22 | file://no-G_DISABLE_DEPRECATED.patch \ |
| 23 | " |
| 24 | |
| 25 | |
| 26 | EXTRA_OECONF = " --disable-gtk-doc --disable-update-mimedb " |
| 27 | export SYSROOT = "${STAGING_DIR_HOST}" |
| 28 | |
| 29 | do_configure() { |
| 30 | sed -i -e /docs/d ${S}/Makefile.am |
| 31 | autotools_do_configure |
| 32 | # We need native orbit-idl with target idl files. No way to say it in a clean way: |
| 33 | find ${B} -name Makefile -exec sed -i '/\/usr\/bin\/orbit-idl-2/{s:/usr/bin:${STAGING_BINDIR_NATIVE}:;s:/usr/share:${STAGING_DATADIR}:g}' {} \; |
| 34 | } |
| 35 | |
| 36 | RDEPENDS_${PN} = "gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash glib-networking" |
| 37 | FILES_${PN} += "${datadir}/icons" |
| 38 | |
| 39 | # Don't make nautils3 drag us in |
| 40 | PRIVATE_LIBS = "libnautilus-extension.so.1" |
| 41 | |