wok-current rev 20113
netsurf-sdl, qedit, mupdf : add desktop files
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Oct 12 11:08:12 2017 +0200 (2017-10-12) |
parents | 9e45f21b3946 |
children | 1d426143c715 |
files | avrdude/receipt mupdf/stuff/mupdf.desktop netsurf-sdl/stuff/netsurf-sdl.desktop ponyprog-qt/receipt qedit/stuff/qedit.desktop |
line diff
1.1 --- a/avrdude/receipt Wed Oct 11 21:57:55 2017 +0200 1.2 +++ b/avrdude/receipt Thu Oct 12 11:08:12 2017 +0200 1.3 @@ -11,7 +11,7 @@ 1.4 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" 1.5 1.6 DEPENDS="libftdi libusb-compat libusb readline elfutils" 1.7 -BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev" 1.8 +BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev elfutils-dev" 1.9 1.10 # Rules to configure and make the package. 1.11 compile_rules()
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/mupdf/stuff/mupdf.desktop Thu Oct 12 11:08:12 2017 +0200 2.3 @@ -0,0 +1,7 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Name=Mupdf-x11 2.7 +Exec=sh -c '[ -z %f ] && ( fi=$(yad --file --height=600 --width=800 --center --file-filter="*.pdf" ) ; mupdf-x11 $fi ) || mupdf-x11 %f ' 2.8 +Icon=epdfview 2.9 +Categories=Office;Viewer; 2.10 +MimeType=application/pdf;
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/netsurf-sdl/stuff/netsurf-sdl.desktop Thu Oct 12 11:08:12 2017 +0200 3.3 @@ -0,0 +1,7 @@ 3.4 +[Desktop Entry] 3.5 +Name=NetSurf SDL 3.6 +Type=Application 3.7 +Categories=Network; 3.8 +MimeType=text/html;application/xhtml+xml; 3.9 +Exec=netsurf %u 3.10 +Icon=netsurf
4.1 --- a/ponyprog-qt/receipt Wed Oct 11 21:57:55 2017 +0200 4.2 +++ b/ponyprog-qt/receipt Thu Oct 12 11:08:12 2017 +0200 4.3 @@ -10,21 +10,30 @@ 4.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 4.5 WGET_URL="https://github.com/lancos/ponyprog/archive/v${VERSION}.tar.gz" 4.6 4.7 -DEPENDS="libQtGui gcc49-lib-base" 4.8 -BUILD_DEPENDS="Qt4-dev qmake cmake gcc49" 4.9 +EXTRA_SOURCE_FILES="qhexedit2-5f3ca79.tar.gz" 4.10 +WGET_URL2="https://github.com/lancos/qhexedit2/archive/5f3ca79.tar.gz" 4.11 + 4.12 +DEPENDS="libQtGui" 4.13 +BUILD_DEPENDS="Qt4-dev qmake cmake" 4.14 4.15 # Rules to configure and make the package. 4.16 compile_rules() 4.17 { 4.18 - export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" 4.19 - export CXX=/usr/bin/i486-slitaz-linux-g++-49 4.20 - export CC=/usr/bin/i486-slitaz-linux-gcc-49 4.21 + [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \ 4.22 + wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 4.23 + busybox tar -xf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES 4.24 + rm -rf qhexedit2 4.25 + mv -f qhexedit2-* qhexedit2 4.26 + sed 's|c++11|c++0x|g' -i ponyprog.pro Makefile CMakeLists.txt 4.27 4.28 - qmake && make && make install 4.29 + qmake && make && make DESTDIR=$DESTDIR install 4.30 } 4.31 4.32 # Rules to gen a SliTaz package suitable for Tazpkg. 4.33 genpkg_rules() 4.34 { 4.35 - cp -a $install/* $fs 4.36 + mkdir -p $fs/usr/bin $fs/usr/share/applications 4.37 + cp -a $src/build/ponyprog $fs/usr/bin 4.38 + cp -a $src/desktop/*.desktop $fs/usr/share/applications 4.39 + chown -r root:root $fs 4.40 }