wok-next view tint2/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 5669e8b3be70 |
children |
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="devel@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 libx11-dev libxcomposite-dev \
15 libxdamage-dev libxinerama-dev libxext-dev libxrender-dev \
16 libxrandr-dev pango-dev imlib2-dev librsvg-dev startup-notification-dev \
17 gtk2-dev gettext-dev"
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="libcairo gdk-pixbuf glib gtk2 imlib2 librsvg pango \
42 startup-notification libx11 libxcomposite libxdamage \
43 libxext libxinerama libxrandr libxrender"
44 CONFIG_FILES="/etc/xdg/tint2/tint2rc"
45 TAGS="desktop panel taskbar"
46 }