# HG changeset patch # User Pascal Bellard # Date 1320353422 -3600 # Node ID 7df05207d343a5591bcace41f8cfd5421894b1c7 # Parent 6b4a47136bff84c3409edbabb24e4b2045635915 Add from wok-undigest: Qt4-qca-ossl alarm-clock apcupsd avant-window-navigator avant-window-navigator-dev diff -r 6b4a47136bff -r 7df05207d343 Qt4-qca-ossl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Qt4-qca-ossl/receipt Thu Nov 03 21:50:22 2011 +0100 @@ -0,0 +1,80 @@ +# SliTaz package receipt. + +NAME="qca-ossl" +PACKAGE="Qt4-$NAME" +MAJORVERSION="2.0" +VERSION="2.0.0-beta3" +CATEGORY="development" +SHORT_DESC="OpenSSL plug-in for the Qt Cryptographic Architecture (QCA)." +MAINTAINER="ben@seawolfsanctuary.com" +DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \ +libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \ +libQtOpenGL libQtSql libQtWebkit qca openssl" +BUILD_DEPENDS="qmake xorg-libX11-dev dbus-dev openssl-dev Qt4-dev qca-dev" +TARBALL="$NAME-$VERSION.tar.bz2" +WEB_SITE="http://delta.affinix.com/$NAME" +WGET_URL="http://delta.affinix.com/download/qca/$MAJORVERSION/plugins/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + + patch -u < $fs/usr/bin/awn-autostart << _EOT_ +#!/bin/sh +xcompmgr & +sleep 4 && avant-window-navigator +_EOT_ + + # split awn-manager + rm -f $fs/usr/bin/awn-manager + rm -rf $fs/usr/share/$PACKAGE/awn-manager + rm -f $fs/usr/share/applications/awn-manager.desktop + + # fix permissions + chmod +x $fs/usr/bin/* + + # Fix missing icon + cd $fs/usr/share/pixmaps + ln -s avant-window-navigator.png awn-manager.png + + +} + +post_install() +{ + # ln missing icons + ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-up.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-ascending.png + ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-down.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-descending.png +}