aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-07 07:09:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-07 07:09:59 +0000
commit5148cbd0de93c5c38b71dd3255f333ae375bbf82 (patch)
treeed0e4ebccece8a8a55fc3a104e95b733acc8d957
parentcb7cfc2b741aa327fb8dea652fc9b7c192dbccc9 (diff)
downloadaports-5148cbd0de93c5c38b71dd3255f333ae375bbf82.tar.bz2
aports-5148cbd0de93c5c38b71dd3255f333ae375bbf82.tar.xz
main/gvfs: enable gphoto2 support
-rw-r--r--main/gvfs/APKBUILD20
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"