diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-07 07:09:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-07 07:09:59 +0000 |
commit | 5148cbd0de93c5c38b71dd3255f333ae375bbf82 (patch) | |
tree | ed0e4ebccece8a8a55fc3a104e95b733acc8d957 /main/gvfs/APKBUILD | |
parent | cb7cfc2b741aa327fb8dea652fc9b7c192dbccc9 (diff) | |
download | aports-5148cbd0de93c5c38b71dd3255f333ae375bbf82.tar.bz2 aports-5148cbd0de93c5c38b71dd3255f333ae375bbf82.tar.xz |
main/gvfs: enable gphoto2 support
Diffstat (limited to 'main/gvfs/APKBUILD')
-rw-r--r-- | main/gvfs/APKBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/main/gvfs/APKBUILD b/main/gvfs/APKBUILD index b57676e085..2ea0420762 100644 --- a/main/gvfs/APKBUILD +++ b/main/gvfs/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gvfs pkgver=1.8.2 -pkgrel=0 +pkgrel=1 pkgdesc="Backends for the gio framework in GLib" url="http://ftp.gnome.org/pub/gnome/sources/gvfs/${pkgver%.*}/" arch="all" @@ -10,10 +10,11 @@ license="GPL" depends= triggers="$pkgname.trigger:/usr/lib/gvfs" makedepends="dbus-glib-dev intltool fuse-dev udev-dev bluez-dev expat-dev - samba-dev libsoup-dev avahi-dev libarchive-dev gnome-disk-utility-dev" + samba-dev libsoup-dev avahi-dev libarchive-dev gnome-disk-utility-dev + libgphoto2-dev" install= subpackages="$pkgname-dev $pkgname-fuse $pkgname-smb $pkgname-archive - $pkgname-obexftp" + $pkgname-obexftp $pkgname-gphoto2" source="http://ftp.gnome.org/pub/gnome/sources/gvfs/${pkgver%.*}/gvfs-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver @@ -81,9 +82,16 @@ obexftp() { usr/share/gvfs/mounts/obex* } -#gphoto2() { -# pkgdesc="gphoto2 support for gvfs" -#} +gphoto2() { + pkgdesc="gphoto2 support for gvfs" + triggers= + cd "$pkgdir" + _mv_files \ + usr/lib/gvfs/gvfs*gphoto* \ + usr/share/gvfs/*/gphoto* \ + usr/share/dbus*/services/*GPhoto* +} + # #afc() { # pkgdesc="AFC support for gvfs" |