mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/conky to 1.19.7-2
This commit is contained in:
parent
1fdef6af7b
commit
75258a559b
2 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = conky
|
pkgbase = conky
|
||||||
pkgdesc = Light-weight system monitor for X, Wayland, and other things, too
|
pkgdesc = Light-weight system monitor for X, Wayland, and other things, too
|
||||||
pkgver = 1.19.7
|
pkgver = 1.19.7
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/brndnmtthws/conky
|
url = https://github.com/brndnmtthws/conky
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = BSD-3-Clause
|
license = BSD-3-Clause
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
pkgname=conky
|
pkgname=conky
|
||||||
pkgver=1.19.7
|
pkgver=1.19.7
|
||||||
_gitcommit=70ef89411aa0a70c5b25318d0329e1d9e57838d2 # refs/tags/v1.19.7
|
_gitcommit=70ef89411aa0a70c5b25318d0329e1d9e57838d2 # refs/tags/v1.19.7
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Light-weight system monitor for X, Wayland, and other things, too'
|
pkgdesc='Light-weight system monitor for X, Wayland, and other things, too'
|
||||||
url='https://github.com/brndnmtthws/conky'
|
url='https://github.com/brndnmtthws/conky'
|
||||||
license=(
|
license=(
|
||||||
|
@ -73,13 +73,17 @@ prepare() {
|
||||||
# Unbundle catch2 to fix build with glibc 2.35
|
# Unbundle catch2 to fix build with glibc 2.35
|
||||||
rm -r tests/catch2
|
rm -r tests/catch2
|
||||||
ln -s /usr/include/catch2 tests
|
ln -s /usr/include/catch2 tests
|
||||||
|
|
||||||
|
# Fix buffer overflow
|
||||||
|
git cherry-pick -n 8dae420bc8d29ef8b77b1c60c6456233d952f98a
|
||||||
|
git cherry-pick -n 27d64fe834589815a4067ca13f2214b7119037e1
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${pkgname}
|
cd ${pkgname}
|
||||||
cmake \
|
cmake \
|
||||||
-B build \
|
-B build \
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-D CMAKE_BUILD_TYPE=None \
|
||||||
-D CMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects" \
|
-D CMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects" \
|
||||||
-D MAINTAINER_MODE=OFF \
|
-D MAINTAINER_MODE=OFF \
|
||||||
-D BUILD_TESTS=ON \
|
-D BUILD_TESTS=ON \
|
||||||
|
|
Loading…
Reference in a new issue