diff options
| -rwxr-xr-x | openembedded/packages/contacts/contacts_0.1.bb (renamed from openembedded/packages/contacts/contacts_0.0.bb) | 5 | ||||
| -rwxr-xr-x | openembedded/packages/contacts/contacts_svn.bb | 36 |
2 files changed, 39 insertions, 2 deletions
diff --git a/openembedded/packages/contacts/contacts_0.0.bb b/openembedded/packages/contacts/contacts_0.1.bb index ef2d1b1b93..aff86a1c65 100755 --- a/openembedded/packages/contacts/contacts_0.0.bb +++ b/openembedded/packages/contacts/contacts_0.1.bb | |||
| @@ -3,15 +3,16 @@ SECTION = "x11" | |||
| 3 | DEPENDS = "glib-2.0 gtk+ libglade eds-dbus" | 3 | DEPENDS = "glib-2.0 gtk+ libglade eds-dbus" |
| 4 | MAINTAINER = "Chris Lord <chris@openedhand.com>" | 4 | MAINTAINER = "Chris Lord <chris@openedhand.com>" |
| 5 | DESCRIPTION = "Contacts is an address-book application." | 5 | DESCRIPTION = "Contacts is an address-book application." |
| 6 | PR = "r5" | ||
| 7 | 6 | ||
| 8 | SRC_URI = "file:///tmp/${PN}-${PV}.tar.gz \ | 7 | SRC_URI = "svn://svn.o-hand.com/repos/${PN}/tags;module=release-0.1;proto=http \ |
| 9 | file://stock_contact.png \ | 8 | file://stock_contact.png \ |
| 10 | file://stock_person.png \ | 9 | file://stock_person.png \ |
| 11 | file://index.theme" | 10 | file://index.theme" |
| 12 | 11 | ||
| 13 | inherit autotools pkgconfig | 12 | inherit autotools pkgconfig |
| 14 | 13 | ||
| 14 | S = "${WORKDIR}/release-0.1" | ||
| 15 | |||
| 15 | do_install_append () { | 16 | do_install_append () { |
| 16 | install -d ${D}/${datadir}/icons/hicolor/48x48/stock/net | 17 | install -d ${D}/${datadir}/icons/hicolor/48x48/stock/net |
| 17 | install -d ${D}/${datadir}/icons/hicolor/48x48/stock/generic | 18 | install -d ${D}/${datadir}/icons/hicolor/48x48/stock/generic |
diff --git a/openembedded/packages/contacts/contacts_svn.bb b/openembedded/packages/contacts/contacts_svn.bb new file mode 100755 index 0000000000..121f256a43 --- /dev/null +++ b/openembedded/packages/contacts/contacts_svn.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | LICENSE = "LGPL" | ||
| 2 | SECTION = "x11" | ||
| 3 | DEPENDS = "glib-2.0 gtk+ libglade eds-dbus gnome-vfs" | ||
| 4 | RDEPENDS = "gnome-vfs-plugin-file" | ||
| 5 | RRECOMMENDS = "gnome-vfs-plugin-http" | ||
| 6 | MAINTAINER = "Chris Lord <chris@openedhand.com>" | ||
| 7 | DESCRIPTION = "Contacts is an address-book application." | ||
| 8 | |||
| 9 | SRC_URI = "svn://svn.o-hand.com/repos/${PN};module=trunk;proto=http \ | ||
| 10 | file://stock_contact.png \ | ||
| 11 | file://stock_person.png \ | ||
| 12 | file://index.theme" | ||
| 13 | |||
| 14 | inherit autotools pkgconfig | ||
| 15 | |||
| 16 | S = "${WORKDIR}/trunk" | ||
| 17 | |||
| 18 | EXTRA_OECONF = "--enable-gnome-vfs" | ||
| 19 | |||
| 20 | do_install_append () { | ||
| 21 | install -d ${D}/${datadir}/icons/hicolor/48x48/stock/net | ||
| 22 | install -d ${D}/${datadir}/icons/hicolor/48x48/stock/generic | ||
| 23 | |||
| 24 | install -m 0644 ${WORKDIR}/stock_contact.png ${D}/${datadir}/icons/hicolor/48x48/stock/net | ||
| 25 | install -m 0644 ${WORKDIR}/stock_person.png ${D}/${datadir}/icons/hicolor/48x48/stock/generic | ||
| 26 | install -m 0644 ${WORKDIR}/index.theme ${D}/${datadir}/icons/hicolor | ||
| 27 | } | ||
| 28 | |||
| 29 | FILES_${PN} += "${datadir}/icons/hicolor/48x48/apps/oh-contacts.png \ | ||
| 30 | ${datadir}/icons/hicolor/48x48/stock/*/*.png \ | ||
| 31 | ${datadir}/icons/hicolor/index.theme" | ||
| 32 | |||
| 33 | pkg_postinst_${PN} () { | ||
| 34 | gtk-update-icon-cache /usr/share/icons/hicolor | ||
| 35 | } | ||
| 36 | |||
