Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4959edbc5afd36dd18416e6c991f206265c9eb70

commit 4959edbc5afd36dd18416e6c991f206265c9eb70
Author: gholafox <ghola...@free.fr>
Date:   Fri Oct 2 23:04:24 2009 +0200

emelfm2-0.6.2-1-i686

* Version bump
* Use Fsed instead of making a patch to specify options

diff --git a/source/xapps-extra/emelfm2/FrugalBuild 
b/source/xapps-extra/emelfm2/FrugalBuild
index b656329..01868c3 100644
--- a/source/xapps-extra/emelfm2/FrugalBuild
+++ b/source/xapps-extra/emelfm2/FrugalBuild
@@ -3,32 +3,33 @@
# Contributor: BMH1980 <bmh1...@frugalware.org>

pkgname=emelfm2
-pkgver=0.4.1
-pkgrel=2
+pkgver=0.6.2
+pkgrel=1
pkgdesc="emelFM2 is a file manager that implements the popular two-pane design."
-url="http://www.emelfm2.net/";
-license="GPL2"
-up2date="lynx -dump $url|grep -m 1 -o $pkgname.*tar.gz|grep -o 
'[0-9\.]\+[0-9]\+'"
-source=(http://emelfm2.net/rel/$pkgname-$pkgver.tar.gz options.patch)
+url="http://www.emelfm2.net";
+up2date="lynx -dump $url |grep -o $pkgname.*tar.bz2 |grep -o -m1 
'[0-9\.]\+[0-9]\+'"
+source=(http://emelfm2.net/rel/$pkgname-$pkgver.tar.bz2)
groups=('xapps-extra')
archs=('i686' 'x86_64')
-depends=('gtk+2>=2.16.2-2' 'freetype2' 'libxau>=1.0.4' 'libxdmcp' 'gamin' 
'libxdamage' 'libxext' 'libxml2')
+depends=('gtk+2' 'freetype2' 'libxau' 'libxdmcp' 'gamin' 'libxdamage' 
'libxext' 'libxml2')
+makedepends=('gimp')
options=('scriptlet')
-
+sha1sums=('f3af350411c9edb4b83b80816706ddd4e7309605')
build()
{
-       Fcd
-       Fpatchall
-       #Fsed "DUMMY" "-Wall ${CFLAGS} -fno-strict-aliasing" Makefile.config
+       Fsed "PREFIX ?= /usr/local" "PREFIX = /usr" Makefile.config
+       Fsed "WITH_ASSIST ?= 0" "WITH_ASSIST = 1" Makefile.config
+       Fsed "WITH_KERNELFAM ?= 0" "WITH_KERNELFAM = 1" Makefile.config
+       Fsed "USE_GAMIN ?= 0" "USE_GAMIN = 1" Makefile.config
+       Fsed "WITH_THUMBS ?= 0" "WITH_THUMBS = 1" Makefile.config
+       Fsed "CFLAGS ?= -O2" "CFLAGS = ${CFLAGS}" Makefile.config
Fmake
Fmakeinstall PREFIX=$Fdestdir/usr
Fsed 'Categories=.*' 'Categories=Qt;Gtk;Utility;Application;' \
$Fdestdir/usr/share/applications/emelfm2.desktop
# This files must be removed, else we have broken symlinks
rm -f INSTALL README WARNING
-
Fmv /usr/share/doc/$pkgname /usr/share/doc/$pkgname-$pkgver
}

-sha1sums=('e06a70905a3110f99d4cfddf605f65b4a7b59ccf' \
-          'c090dadc6a5a920870b77d812ca745267b11374d')
+
diff --git a/source/xapps-extra/emelfm2/options.patch 
b/source/xapps-extra/emelfm2/options.patch
deleted file mode 100644
index 6b4a6cd..0000000
--- a/source/xapps-extra/emelfm2/options.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -Naur emelfm2-0.3.6/Makefile.config emelfm2-0.3.6-p/Makefile.config
---- emelfm2-0.3.6/Makefile.config      2007-11-29 01:37:49.000000000 +0100
-+++ emelfm2-0.3.6-p/Makefile.config    2007-12-04 19:26:32.000000000 +0100
-@@ -7,7 +7,7 @@
- ### installation (where) ###
- ############################
-
--PREFIX ?= /usr/local
-+PREFIX ?= /usr
- #BIN_DIR, PLUGINS_DIR, DOC_DIR, ICON_DIR, LOCALE_DIR, MAN_DIR
- #are set in Makefile, based on PREFIX
-
-@@ -31,8 +31,8 @@
- XDG_INTEGRATION ?= 1
- #where to install emelfm2.desktop and emelfm2.applications
- #for desktop environment integration
--XDG_DESKTOP_DIR ?= $(PREFIX)/share/applications
--XDG_APPLICATION_DIR ?= $(PREFIX)/share/application-registry
-+XDG_DESKTOP_DIR = $(PREFIX)/share/applications
-+XDG_APPLICATION_DIR = $(PREFIX)/share/application-registry
-
- # gettext/internationalisation support
- # (is automatically turned off if you don't have gettext)
-@@ -73,7 +73,7 @@
- # (volunteer needed to test and finalise)
- # portevent-usage (on solaris) is a TODO
- # (volunteer needed to work on that)
--WITH_KERNELFAM ?= 0
-+WITH_KERNELFAM ?= 1
-
- # Enable NO MORE THAN ONE of these monitors.
-
-@@ -97,7 +97,7 @@
-
- # setting this to 1 provides support for file-change monitoring
- # using gamin if that's available, or normal polling if not available
--USE_GAMIN ?= 0
-+USE_GAMIN = 1
-
- # Setting EDITOR_SPELLCHECK to 0/1 dis/enables spell-checking (using GtkSpell)
- # in the internal editor.
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to