2016-03-31 00:59:44 +11:00
|
|
|
# Description: Lightweight panel/taskbar.
|
2022-12-15 10:02:04 +00:00
|
|
|
# URL: https://gitlab.com/nick87720z/tint2
|
2023-03-04 21:55:06 -05:00
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2019-10-05 19:27:33 +10:00
|
|
|
# Depends on: imlib2 librsvg startup-notification xorg-libxcomposite xorg-libxdamage xorg-libxinerama xorg-libxrandr
|
2009-12-30 09:04:51 +01:00
|
|
|
|
|
|
|
name=tint2
|
2022-12-15 10:02:04 +00:00
|
|
|
version=17.1.3
|
2023-07-24 12:58:25 -04:00
|
|
|
release=2
|
|
|
|
source=(https://gitlab.com/nick87720z/$name/-/archive/$version/$name-$version.tar.bz2 $name-glib.patch)
|
2009-12-30 09:04:51 +01:00
|
|
|
|
|
|
|
build() {
|
2023-07-24 12:58:25 -04:00
|
|
|
patch -p1 -d $name-$version -i $SRC/$name-glib.patch
|
|
|
|
|
2023-03-04 21:55:06 -05:00
|
|
|
cmake -S $name-$version -B build -G Ninja \
|
2020-11-08 12:47:13 +00:00
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
2020-12-07 00:07:37 +00:00
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
2020-11-08 12:47:13 +00:00
|
|
|
-D ENABLE_TINT2CONF=OFF \
|
|
|
|
-Wno-dev
|
2013-08-07 23:55:02 +02:00
|
|
|
|
2023-03-04 21:55:06 -05:00
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
2009-12-30 09:04:51 +01:00
|
|
|
|
2017-08-16 21:45:47 +10:00
|
|
|
rm -r $PKG/{etc,usr/share/doc}
|
2009-12-30 09:04:51 +01:00
|
|
|
}
|