wok-current diff tint2/receipt @ rev 23639
updated serd and serd-dev (0.30.0 -> 0.30.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 10:25:57 2020 +0100 (2020-04-20) |
parents | d504756dc474 |
children | dc0f7fd1ff7d |
line diff
1.1 --- a/tint2/receipt Sun Mar 30 00:47:31 2014 +0100 1.2 +++ b/tint2/receipt Mon Apr 20 10:25:57 2020 +0100 1.3 @@ -1,42 +1,42 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="tint2" 1.7 -VERSION="0.11" 1.8 +VERSION="0.12.2" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="taskbar and panel" 1.11 +SHORT_DESC="Lightweight panel/taskbar for Linux" 1.12 MAINTAINER="jozee@slitaz.org" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 LICENSE="GPL2" 1.15 -WEB_SITE="http://tint2.googlecode.com/files/" 1.16 -WGET_URL="$WEB_SITE/$TARBALL" 1.17 +WEB_SITE="https://gitlab.com/o9000/tint2" 1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 +WGET_URL="$WEB_SITE/repository/archive.tar.gz?ref=$VERSION" 1.20 +BRANCH="$VERSION" 1.21 CONFIG_FILES="/etc/xdg/tint2/tint2rc" 1.22 TAGS="desktop panel taskbar" 1.23 -HOST_ARCH="i486 arm" 1.24 +#HOST_ARCH="i486 arm" 1.25 1.26 -DEPENDS="gtk+ cairo pango glib imlib2 xorg-libXinerama xcb-util freetype" 1.27 -BUILD_DEPENDS="cairo-dev pango-dev glib-dev imlib2-dev xorg-libXinerama-dev \ 1.28 -xcb-util-dev freetype-dev" 1.29 - 1.30 -# Handle cross compilation 1.31 -case "$ARCH" in 1.32 - i?86) BUILD_DEPENDS="$BUILD_DEPENDS pygtk-dev cmake pkg-config" ;; 1.33 - arm*) ARCH_ARGS="-DENABLE_TINT2CONF=OFF" ;; 1.34 -esac 1.35 +DEPENDS="gtk+ imlib2 librsvg startup-notification" 1.36 +BUILD_DEPENDS="cmake pango-dev imlib2-dev gtk+-dev startup-notification-dev \ 1.37 +librsvg-dev" 1.38 1.39 # Rules to configure and make the package. 1.40 compile_rules() 1.41 { 1.42 - mkdir build && cd build 1.43 - cmake \ 1.44 + cp -af $stuff/get_version.sh $src 1.45 + export VERSION 1.46 + 1.47 + mkdir build && cd build && 1.48 + cmake \ 1.49 -DCMAKE_INSTALL_PREFIX=/usr \ 1.50 $ARCH_ARGS .. && 1.51 - make && make install 1.52 + make && make install 1.53 } 1.54 1.55 # Rules to gen a SliTaz package suitable for Tazpkg. 1.56 genpkg_rules() 1.57 { 1.58 - mkdir -p $fs/usr 1.59 - cp -a $install/etc $fs 1.60 - cp -a $install/usr/bin $fs/usr 1.61 + cp -a $install/* $fs 1.62 + # Use custom configured theme instead 1.63 + cp -f $stuff/tint2rc $fs/etc/xdg/tint2/tint2rc 1.64 + 1.65 + rm -r $fs/usr/share/doc $fs/usr/share/locale $fs/usr/share/man 1.66 }