wok-6.x diff midori/receipt @ rev 14330
Up: connman-dev (1.12)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Apr 12 19:57:58 2013 +0200 (2013-04-12) |
parents | 0ce92f0f1b66 |
children | cb9ac999a97d |
line diff
1.1 --- a/midori/receipt Fri Feb 08 18:12:00 2013 +0000 1.2 +++ b/midori/receipt Fri Apr 12 19:57:58 2013 +0200 1.3 @@ -1,51 +1,63 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="midori" 1.7 -VERSION="0.4.8" 1.8 +VERSION="0.4.9" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Light Web Browse using GTK+/WebKit." 1.11 +SHORT_DESC="Lightweight web browser based on GTK+/WebKit" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 -WEB_SITE="http://software.twotoasts.de/?page=midori" 1.15 +WEB_SITE="http://twotoasts.de/index.php/midori/" 1.16 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION:0:3}/$TARBALL" 1.17 +GENERIC_MENUS="no" 1.18 1.19 -DEPENDS="libsexy libwebkit libsoup sqlite xorg-libXdamage xorg-libXss \ 1.20 -gcc-lib-base libgnutls" 1.21 -BUILD_DEPENDS="python libsexy-dev libwebkit-dev libsoup-dev sqlite-dev \ 1.22 -intltool libgio-dev dbus-dev dbus-glib-dev pkg-config xorg-libXss-dev \ 1.23 -xorg-libXdamage-dev xorg-libX11-dev gtk+-dev vala" 1.24 +DEPENDS="libnotify libunique libwebkit xorg-libXss" 1.25 +BUILD_DEPENDS="python vala glib-dev librsvg-apps libnotify-dev gtk+-dev \ 1.26 +xorg-libXss-dev libwebkit-dev libunique-dev desktop-file-utils-extra" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 - cd $src 1.32 ./configure \ 1.33 + --jobs=4 \ 1.34 --prefix=/usr \ 1.35 - --jobs=4 \ 1.36 - --enable-addons \ 1.37 - --disable-libnotify \ 1.38 - --disable-unique \ 1.39 --disable-zeitgeist && 1.40 - make && make install 1.41 + make && 1.42 + make install 1.43 } 1.44 1.45 # Rules to gen a SliTaz package suitable for Tazpkg. 1.46 genpkg_rules() 1.47 { 1.48 mkdir -p \ 1.49 + $fs/usr/share/doc/midori \ 1.50 $fs/usr/share/pixmaps \ 1.51 - $fs/usr/share/icons 1.52 + 1.53 cp -a $install/etc $fs 1.54 cp $stuff/config $fs/etc/xdg/midori 1.55 - cp $stuff/search $fs/etc/xdg/midori 1.56 + # add SliTaz token to DDG, add Twitter search 1.57 + cd $fs && patch -p1 < $stuff/search.patch && status 1.58 + 1.59 # Midori use sqlite to store bookmarks 1.60 #cp $stuff/bookmarks.xbel $fs/etc/xdg/midori 1.61 + 1.62 cp -a $install/usr/bin $fs/usr 1.63 cp -a $install/usr/lib $fs/usr 1.64 - cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.65 + 1.66 + # desktop files 1.67 + cp -a $install/usr/share/applications $fs/usr/share 1.68 + find $fs -name '*.desktop' -exec sed -i \ 1.69 + '/^Version/d; /^GenericName/d; /^X-/d; /^Name\[.*\]=Midori/d; \ 1.70 + /^Actions=/d' \{\} \; 1.71 + desktop=$fs/usr/share/applications/midori.desktop 1.72 + lastline=$(expr $(grep -n '^\[Desktop Action TabNew\]' $desktop | \ 1.73 + cut -d: -f1) - 2) 1.74 + head -n $lastline $desktop > $desktop.new 1.75 + mv -f $desktop.new $desktop 1.76 + 1.77 + cp -a $install/usr/share/doc/midori/faq* $fs/usr/share/doc/midori 1.78 + cp -a $install/usr/share/midori $fs/usr/share 1.79 + 1.80 # Icons 1.81 - cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons 1.82 + cp -a $install/usr/share/icons $fs/usr/share 1.83 rm -rf $fs/usr/share/icons/hicolor/scalable 1.84 - cd $fs/usr/share/pixmaps 1.85 - ln -sf ../icons/hicolor/22x22/apps/midori.png . 1.86 }