wok-next view qtwitter/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 7d6089953592
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qtwitter"
4 VERSION="0.10.0"
5 CATEGORY="network"
6 SHORT_DESC="A Qt-based, cross-network microblogging client"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL3"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="http://blog.ayoy.net/qtwitter"
11 WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL"
13 BUILD_DEPENDS="qmake xorg-dev dbus-dev Qt4-dev qoauth qca-dev"
15 compile_rules() {
16 sed -i 's|-Wl,-rpath|-Wl,--copy-dt-needed-entries -lX11 &|' \
17 qtwitter-app/qtwitter-app.pro
19 qmake PREFIX="/usr" &&
20 make &&
21 make DESTDIR=$install install
22 }
24 genpkg_rules() {
25 mkdir -p $fs/usr/lib $fs/usr/bin \
26 $fs/usr/share/applications $fs/usr/share/pixmaps
28 # Binaries
29 cp -a $src/build/qtwitter $fs/usr/bin
30 # Libraries
31 cp -a $src/build/lib* $fs/usr/lib
32 # Copy .desktop file:
33 cp -a $src/qtwitter-app/x11/*.desktop $fs/usr/share/applications
34 cp -a $src/qtwitter-app/x11/icons/32x32/*.png $fs/usr/share/pixmaps
35 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
36 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
37 libQtOpenGL libQtSql libQtWebkit qoauth qca"
38 }