2016-03-31 00:59:44 +11:00
|
|
|
# Description: Lightweight panel/taskbar.
|
|
|
|
# URL: https://gitlab.com/o9000/tint2
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
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
|
2021-06-05 22:21:50 +10:00
|
|
|
version=17.0.1
|
2016-03-31 00:59:44 +11:00
|
|
|
release=1
|
2018-08-15 21:57:35 +10:00
|
|
|
source=(https://gitlab.com/o9000/$name/-/archive/v$version/$name-v$version.tar.bz2)
|
2009-12-30 09:04:51 +01:00
|
|
|
|
|
|
|
build() {
|
2020-11-08 12:47:13 +00:00
|
|
|
cmake -S $name-v$version -B build -G Ninja \
|
|
|
|
-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
|
|
|
|
2020-11-07 17:01:12 +00:00
|
|
|
cmake --build build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG cmake --install build
|
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
|
|
|
}
|