summaryrefslogtreecommitdiff
path: root/packages/maemo4/osso-gnome-vfs2_2.16.3.bb
blob: 45a373fd11cbadc033c95a3c2126840409e79baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
LICENSE = "GPL"
DEPENDS = "libxml2 gconf gnutls avahi dbus bzip2 gnome-mime-data zlib"
RRECOMMENDS = "gnome-vfs-plugin-file gnome-mime-data shared-mime-info"

DESCRIPTION = "gnomevfs - osso variant"

PR = "r0"

inherit gnome

SRC_URI = "\
  http://repository.maemo.org/pool/maemo4.0/free/source/o/${PN}/${PN}_${PV}-1osso31.tar.gz \
  file://gnome-vfs-no-kerberos.patch;patch=1;pnum=0 \
  "


EXTRA_OECONF = " \
	--disable-openssl \
	--enable-gnutls \
	--enable-avahi \
	--with-samba-includes=${STAGING_INCDIR} \
	--enable-more-warnings=no \
	"

do_configure_prepend() {
	# remove Werror from VFS_CFLAGS
	sed -i s:-Werror::g configure.in

	touch gtk-doc.make
}

do_stage() {
  autotools_stage_all
}

PACKAGES_DYNAMIC = "osso-gnome-vfs-plugin-*"

python populate_packages_prepend () {
	print bb.data.getVar('FILES_osso-gnome-vfs', d, 1)

	plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d)
	do_split_packages(d, plugindir, '^lib(.*)\.so$', 'osso-gnome-vfs-plugin-%s', 'OSSO GNOME VFS plugin for %s')
}

FILES_${PN} += "${datadir}/dbus-1"
FILES_${PN}-dbg += " ${libdir}/gnome-vfs-2.0/modules/.debug/lib*.so"
FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/include ${libdir}/gnome-vfs-2.0/modules/lib*.a ${libdir}/gnome-vfs-2.0/modules/lib*.la"
FILES_${PN}-doc += " ${datadir}/gtk-doc"