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