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=f08a446809913fc9b3c718f0eaea0426 \ |
| 7 | file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a" |
| 8 | |
| 9 | PR = "r4" |
| 10 | |
| 11 | DEPENDS = "libnotify gtk+3 libunique gvfs librsvg libexif gnome-desktop3" |
| 12 | # optional: tracker |
| 13 | |
| 14 | # to include nautilus3/no-try-run-strftime.diff before the rest |
| 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" |
| 16 | BPN = "nautilus" |
| 17 | inherit gnome |
| 18 | |
| 19 | SRC_URI += "file://no-try-run-strftime.diff" |
| 20 | SRC_URI[archive.md5sum] = "12314328b59aa1dfd83619f718b81bd5" |
| 21 | SRC_URI[archive.sha256sum] = "c482d6e7babcc238304cf55586cdf7e2b2806025214a143ed355f0d89b33b154" |
| 22 | |
| 23 | EXTRA_OECONF = " --disable-gtk-doc --disable-update-mimedb --enable-nst-extension" |
| 24 | export SYSROOT = "${STAGING_DIR_HOST}" |
| 25 | |
| 26 | do_configure() { |
| 27 | sed -i -e /docs/d ${S}/Makefile.am |
| 28 | autotools_do_configure |
| 29 | } |
| 30 | |
| 31 | RDEPENDS_${PN} = "gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash glib-2.0-utils" |
| 32 | FILES_${PN} += "${datadir}/icons \ |
| 33 | /usr/libexec/ \ |
| 34 | ${datadir}/nautilus* \ |
| 35 | ${datadir}/dbus-1 \ |
| 36 | ${libdir}/nautilus/extensions*/*.so \ |
| 37 | " |
| 38 | FILES_${PN}-dbg += "/usr/libexec/.debug \ |
| 39 | ${libdir}/nautilus/extensions*/.debug" |
| 40 | |
| 41 | # Don't make nautils drag us in |
| 42 | PRIVATE_LIBS = "libnautilus-extension.so.1" |
| 43 | |
| 44 | pkg_postinst_${PN} () { |
| 45 | if [ -n "$D" ]; then |
| 46 | exit 1 |
| 47 | fi |
| 48 | |
| 49 | glib-compile-schemas ${datadir}/glib-2.0/schemas |
| 50 | } |
| 51 | |
| 52 | # 3.2.1-r4/nautilus-3.2.1/eel/eel-gnome-extensions.c:34:50: fatal error: libgnome-desktop/gnome-desktop-utils.h: No such file or directory |
| 53 | # 3.2.1-r4/nautilus-3.2.1/eel/eel-editable-label.c:3105:55: error: 'GTK_STOCK_CUT' undeclared (first use in this function) |
| 54 | PNBLACKLIST[nautilus3] ?= "BROKEN: fails to build, maybe missing dependency on gnome-desktop-utils.h provider" |