summaryrefslogtreecommitdiff
path: root/community/libfm
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-13 04:08:22 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-13 04:08:22 +0000
commitaf87d2873bcaaf5a93ccf25da80aa670f89fbe96 (patch)
tree42180666994be8f497d5312e8bcc44bd9c690f7e /community/libfm
parent00b75e94fdb3eedea225ff1192972db1a46c09bd (diff)
Tue May 13 04:03:53 UTC 2014
Diffstat (limited to 'community/libfm')
-rw-r--r--community/libfm/PKGBUILD24
-rw-r--r--community/libfm/hide-lxshortcut.patch22
-rw-r--r--community/libfm/libfm.install1
3 files changed, 38 insertions, 9 deletions
diff --git a/community/libfm/PKGBUILD b/community/libfm/PKGBUILD
index 8e7fff94f..54961036a 100644
--- a/community/libfm/PKGBUILD
+++ b/community/libfm/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 105979 2014-02-20 12:14:35Z bpiotrowski $
+# $Id: PKGBUILD 111071 2014-05-12 20:48:03Z bgyorgy $
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Unknown47 <unknown47r@gmail.com>
# Contributor: Angel Velasquez <angvp@archlinux.org>
@@ -6,20 +6,28 @@
pkgname=libfm
pkgver=1.2.0
-pkgrel=3
+pkgrel=5
pkgdesc='Library for file management'
url='http://pcmanfm.sourceforge.net/'
arch=('i686' 'x86_64')
license=('GPL')
-groups=('lxde')
-depends=('gtk2' 'menu-cache' 'udisks' 'desktop-file-utils' 'libexif')
-makedepends=('intltool' 'gtk-doc')
+depends=('gtk2' 'menu-cache' 'desktop-file-utils' 'libexif' 'dbus-glib')
+makedepends=('udisks' 'intltool' 'gtk-doc')
replaces=('lxshortcut')
provides=('lxshortcut')
conflicts=('lxshortcut')
install=libfm.install
-source=(http://downloads.sourceforge.net/pcmanfm/libfm-$pkgver.tar.xz)
-md5sums=('07d1361bc008db46b0fd4c775f5696de')
+source=(http://downloads.sourceforge.net/pcmanfm/libfm-$pkgver.tar.xz
+ hide-lxshortcut.patch)
+md5sums=('07d1361bc008db46b0fd4c775f5696de'
+ '49f7f47a3c59c83d1e7a7691eb1cccfe')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # Hide desktop entry of lxshortcut
+ patch -Np1 -i ../hide-lxshortcut.patch
+}
build() {
cd $pkgname-$pkgver
@@ -27,7 +35,7 @@ build() {
--sysconfdir=/etc \
--enable-udisks \
--with-gnu-ld
- make LDFLAGS+=' -lgobject-2.0 -lglib-2.0'
+ make
}
package() {
diff --git a/community/libfm/hide-lxshortcut.patch b/community/libfm/hide-lxshortcut.patch
new file mode 100644
index 000000000..fc7ba62dd
--- /dev/null
+++ b/community/libfm/hide-lxshortcut.patch
@@ -0,0 +1,22 @@
+From 4d2b79048573dd2fa1dee853230ccc45b1d9c8df Mon Sep 17 00:00:00 2001
+From: Andriy Grytsenko <andrej@rep.kiev.ua>
+Date: Tue, 25 Feb 2014 15:24:59 +0200
+Subject: [PATCH] [LP#1284401]The lxshortcut should not be present in the
+ menus.
+
+---
+ data/lxshortcut.desktop.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/data/lxshortcut.desktop.in b/data/lxshortcut.desktop.in
+index 8ef7bca..f60a63e 100644
+--- a/data/lxshortcut.desktop.in
++++ b/data/lxshortcut.desktop.in
+@@ -8,3 +8,4 @@ Exec=lxshortcut -i %f
+ StartupNotify=true
+ Terminal=false
+ MimeType=application/x-desktop;
++NoDisplay=true
+--
+1.7.10.4
+
diff --git a/community/libfm/libfm.install b/community/libfm/libfm.install
index e83eccb55..5329d70d8 100644
--- a/community/libfm/libfm.install
+++ b/community/libfm/libfm.install
@@ -1,7 +1,6 @@
post_install() {
update-mime-database /usr/share/mime > /dev/null
update-desktop-database -q
- #[ -d /usr/lib/gio/modules ] && gio-querymodules /usr/lib/gio/modules
}
post_upgrade() {