wok view midori/receipt @ rev 23203

updated multitail (5.2.9 -> 6.5.0)
author Hans-G?nter Theisgen
date Fri Mar 20 17:40:15 2020 +0100 (2020-03-20)
parents 07eb3c946dea
children ee53899c6189
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.5.2"
5 CATEGORY="network"
6 SHORT_DESC="Lightweight web browser based on GTK+/WebKit"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 #TARBALL="${PACKAGE}_${VERSION}_all_.tar.bz2"
11 WEB_SITE="http://twotoasts.de/index.php/midori/"
12 #WGET_URL="http://midori-browser.org/downloads/$TARBALL"
13 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION:0:3}/$TARBALL"
14 TAGS="web-browser"
15 #HOST_ARCH="i486 arm"
17 GENERIC_MENUS="no"
18 DEPENDS="libnotify libunique libsoup libwebkit xorg-libXss libxslt"
19 BUILD_DEPENDS="glib-dev libnotify-dev gtk+-dev xorg-libXss-dev \
20 libwebkit-dev libunique-dev libsoup-dev libxslt-dev"
22 # Handle cross compilation
23 case "$ARCH" in
24 i?86)
25 BUILD_DEPENDS="$BUILD_DEPENDS cmake desktop-file-utils-extra
26 librsvg-apps python vala"
27 esac
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 sed -i 's|[^\.]ListStore| Gtk.ListStore|' extensions/history-list.vala
33 sed -i 's|store.remove (iter)|store.remove (ref iter)|' extensions/transfers.vala
34 #mkdir -p build && cd build
35 #cmake \
36 #-DCMAKE_INSTALL_PREFIX=/usr \
37 #-DCMAKE_INSTALL_LIBDIR=lib \
38 #-DUSE_ZEITGEIST=0 .. &&
39 ./configure \
40 --jobs=4 \
41 --prefix=/usr \
42 --disable-zeitgeist &&
43 make &&
44 make install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p \
51 $fs/usr/share/doc/midori \
52 $fs/usr/share/pixmaps
54 cp -a $install/etc $fs
55 cp $stuff/config $fs/etc/xdg/midori
56 # add SliTaz token to DDG, add Twitter search
57 cd $fs; patch -p1 < $stuff/search.patch; status
59 # Midori use sqlite to store bookmarks
60 #cp $stuff/bookmarks.xbel $fs/etc/xdg/midori
62 cp -a $install/usr/bin $fs/usr
63 cp -a $install/usr/lib $fs/usr
65 # desktop files
66 cp -a $install/usr/share/applications $fs/usr/share
68 cp -a $install/usr/share/doc/midori/faq* $fs/usr/share/doc/midori
69 cp -a $install/usr/share/midori $fs/usr/share
71 # Icons
72 cp -a $install/usr/share/icons $fs/usr/share
73 rm -rf $fs/usr/share/icons/hicolor/scalable
74 }