wok-next annotate tint2/receipt @ rev 21037
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 06 16:35:54 2018 +0200 (2018-11-06) |
parents | f48456621a9d |
children | 5669e8b3be70 |
rev | line source |
---|---|
al@20900 | 1 # SliTaz package receipt v2. |
jozee@2766 | 2 |
jozee@2766 | 3 PACKAGE="tint2" |
al@20900 | 4 VERSION="16.4" |
al@20900 | 5 CATEGORY="x-window" |
al@18538 | 6 SHORT_DESC="Lightweight panel/taskbar for Linux" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@18538 | 9 WEB_SITE="https://gitlab.com/o9000/tint2" |
jozee@2766 | 10 |
al@20900 | 11 TARBALL="$PACKAGE-v$VERSION.tar.bz2" |
al@20900 | 12 WGET_URL="https://gitlab.com/o9000/tint2/-/archive/v$VERSION/$TARBALL" |
pankso@9854 | 13 |
al@20900 | 14 BUILD_DEPENDS="cmake xorg-libX11-dev xorg-libXcomposite-dev \ |
al@20900 | 15 xorg-libXdamage-dev xorg-libXinerama-dev xorg-libXext-dev xorg-libXrender-dev \ |
al@20900 | 16 xorg-libXrandr-dev pango-dev imlib2-dev librsvg-dev startup-notification-dev \ |
al@21020 | 17 gtk2-dev gettext-dev" |
al@18538 | 18 |
al@20900 | 19 compile_rules() { |
al@20900 | 20 mkdir build |
al@20900 | 21 cd build |
al@18538 | 22 cmake \ |
pankso@16169 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20900 | 24 -DCMAKE_INSTALL_SYSCONFDIR=/etc \ |
al@20900 | 25 -DCMAKE_INSTALL_LIBDIR=lib \ |
al@20900 | 26 -DCMAKE_BUILD_TYPE=Release \ |
al@20900 | 27 -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ |
al@20900 | 28 -DCMAKE_C_FLAGS="$CFLAGS" \ |
al@20900 | 29 .. && |
al@20900 | 30 make && |
al@20900 | 31 make install || return 1 |
al@20900 | 32 |
al@20900 | 33 # Use custom configured theme instead |
al@20900 | 34 # (but I'm unsure config from v.0 will be OK for v.16) |
al@20900 | 35 mv $install/etc/xdg/tint2/tint2rc $install/etc/xdg/tint2/tint2rc.orig |
al@20900 | 36 install -Dm644 $stuff/tint2rc $install/etc/xdg/tint2/tint2rc |
jozee@2766 | 37 } |
jozee@2766 | 38 |
al@20900 | 39 genpkg_rules() { |
al@20900 | 40 copy @std |
al@21017 | 41 DEPENDS="cairo gdk-pixbuf glib gtk2 imlib2 librsvg pango \ |
al@20900 | 42 startup-notification xorg-libX11 xorg-libXcomposite xorg-libXdamage \ |
al@20900 | 43 xorg-libXext xorg-libXinerama xorg-libXrandr xorg-libXrender" |
al@20900 | 44 CONFIG_FILES="/etc/xdg/tint2/tint2rc" |
al@20900 | 45 TAGS="desktop panel taskbar" |
jozee@2766 | 46 } |