Add desktop file from Fedora to be able to directly mount archives for
browsing (uses libarchive).
This commit is contained in:
parent
2ec29de8e9
commit
53a77365d8
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2009/10/11 13:32:27 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2009/10/14 09:01:39 ajacoutot Exp $
|
||||
|
||||
COMMENT-main= GNOME virtual file system
|
||||
COMMENT-smb= samba module for GVFS
|
||||
@ -6,7 +6,7 @@ COMMENT-smb= samba module for GVFS
|
||||
GNOME_PROJECT= gvfs
|
||||
GNOME_VERSION= 1.4.0
|
||||
|
||||
PKGNAME-main= ${DISTNAME}
|
||||
PKGNAME-main= ${DISTNAME}p0
|
||||
PKGNAME-smb= ${GNOME_PROJECT}-smb-${GNOME_VERSION}
|
||||
|
||||
SHARED_LIBS += gvfscommon 2.0 # .0.0
|
||||
@ -32,6 +32,8 @@ WANTLIB-main += ${WANTLIB}
|
||||
WANTLIB-main += bz2 crypto gcrypt gnutls gpg-error lzma m proxy soup-2.4
|
||||
WANTLIB-main += sqlite3 tasn1 xml2 z
|
||||
|
||||
DESKTOP_FILES= Yes
|
||||
|
||||
LIB_DEPENDS-main= ${LIB_DEPENDS} \
|
||||
archive::archivers/libarchive \
|
||||
soup-gnome-2.4.>=1::devel/libsoup,-gnome \
|
||||
@ -60,4 +62,13 @@ CONFIGURE_ARGS= --disable-gtk-doc \
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
SUBST_VARS+= GNOME_VERSION
|
||||
|
||||
post-install:
|
||||
${SUBST_CMD} -c ${FILESDIR}/mount-archive.desktop.in \
|
||||
${WRKSRC}/mount-archive.desktop
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
|
||||
${INSTALL_DATA} ${WRKSRC}/mount-archive.desktop \
|
||||
${PREFIX}/share/applications/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
14
x11/gnome/gvfs/files/mount-archive.desktop.in
Normal file
14
x11/gnome/gvfs/files/mount-archive.desktop.in
Normal file
@ -0,0 +1,14 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
_Name=Archive Mounter
|
||||
Exec=${TRUEPREFIX}/libexec/gvfsd-archive file=%u
|
||||
X-Gnome-Vfs-System=gio
|
||||
MimeType=application/x-cd-image;application/x-bzip-compressed-tar;application/x-compressed-tar;application/x-tar;application/x-cpio;application/x-zip;application/zip;application/x-lzma-compressed-tar;application/x-xz-compressed-tar;
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
||||
X-GNOME-Bugzilla-Product=gvfs
|
||||
X-GNOME-Bugzilla-Component=archive-backend
|
||||
X-GNOME-Bugzilla-Version=${GNOME_VERSION}
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.6 2009/10/11 13:32:28 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.7 2009/10/14 09:01:39 ajacoutot Exp $
|
||||
@pkgpath ${BASE_PKGPATH}
|
||||
%%SHARED%%
|
||||
@bin bin/gvfs-cat
|
||||
@ -47,6 +47,8 @@ lib/libgvfscommon.la
|
||||
@bin libexec/gvfsd-network
|
||||
@bin libexec/gvfsd-sftp
|
||||
@bin libexec/gvfsd-trash
|
||||
share/applications/
|
||||
share/applications/mount-archive.desktop
|
||||
share/dbus-1/
|
||||
share/dbus-1/services/
|
||||
share/dbus-1/services/gvfs-daemon.service
|
||||
@ -175,3 +177,5 @@ share/locale/vi/LC_MESSAGES/gvfs.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/gvfs.mo
|
||||
share/locale/zh_HK/LC_MESSAGES/gvfs.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/gvfs.mo
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec %D/bin/update-desktop-database
|
||||
|
Loading…
x
Reference in New Issue
Block a user