lagrange: update to 1.15.2

This commit is contained in:
John McQuah 2023-02-10 21:16:54 -05:00
parent 6348281de0
commit 0c22f7fa7c
5 changed files with 20 additions and 15 deletions

6
REPO
View File

@ -132,9 +132,9 @@ f:c1d50dffa63b8b9b704da2922a49aac4:wildmidi/.footprint
f:464dbf1dd0e4335360063c8dca1323d8:python3-agate-sql/.signature
f:3dcf84e1d49d8d064dc0cf79dce43015:python3-agate-sql/Pkgfile
f:b18830074835b32e5a95fb530bc6f5c7:python3-agate-sql/.footprint
f:3ebcb62dcdd7e1d2eaefa5282220240c:lagrange/.signature
f:aebed274a2481a4dc7a3309d82c21602:lagrange/Pkgfile
f:82a51d383223bf7fd9b96db8c25d63a9:lagrange/.footprint
f:220d3e1d2382b8918e98fb4abc1be727:lagrange/.signature
f:07be49ed426ea39770fcb4c5ef65f0a3:lagrange/Pkgfile
f:9c7e59eb32e7c3b4a2622ff6a6350889:lagrange/.footprint
f:8e3c19e166c153209c90892d73a21cbf:xxd-standalone/.signature
f:151e749ec56ccb2a84c06cf5b289505f:xxd-standalone/Pkgfile
f:6a56978029c881e1303af69dc05e95fb:xxd-standalone/.footprint

View File

@ -14,5 +14,3 @@ drwxr-xr-x root/root usr/share/lagrange/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/lagrange.1.gz
drwxr-xr-x root/root usr/share/metainfo/
-rw-r--r-- root/root usr/share/metainfo/fi.skyjake.Lagrange.appdata.xml

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxF/ccMJ/yG1D4rA8JShn00FbI5yOosSWXh2Py46Nv0hPQUS5tMLrvXVHKlxzTfpFyZMRYWbrwbiHCtM8dpwj6QQ=
SHA256 (Pkgfile) = 45428f374e305319ca9dff8f37c459adf399813792a21ca3fa3f84fa888aa44f
SHA256 (.footprint) = d60a5b7d38855f70b67d01943801b3946f0ca1d5a5c2e036a30d48a173842937
SHA256 (lagrange-1.14.1.tar.gz) = 56781fc948aa7d69ba76d59cbd666f79e154674255d9bb808eb21b7b0bb61e36
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36Q12+wJiT5v6LvTeVrHHf1B4nPZ1WP2dJCwrd/J+3a4SF1b7DV6J9vKH5gNXAcp/+FW5FE2In7yWokRpgBjygA=
SHA256 (Pkgfile) = 6b3b75ebe20ffa83992b0593b2a332fd29cd4b9a558228a52fee62f3b8bade05
SHA256 (.footprint) = 2acc0f5be562b2db993acd791c0b122176a943e588d94a9a8f40796ae3d5ff6f
SHA256 (lagrange-1.15.2.tar.gz) = 73b42a7b719793933a38fb7c7728dfac166b055b4dabc53259fc32c47856edf5

5
lagrange/.watch Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
curl -s "https://github.com/skyjake/lagrange/releases" \
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*v(.+)<.*/,"\\1",1); print;}' \
| head -n 1

View File

@ -5,7 +5,7 @@
# Nice to have: mpg123 fribidi harfbuzz libwebp
name=lagrange
version=1.14.1
version=1.15.2
release=1
source=(https://git.skyjake.fi/skyjake/$name/releases/download/v$version/$name-$version.tar.gz)
@ -14,12 +14,14 @@ build() {
prt-get isinst harfbuzz || PKGMK_LAGRANGE+=" -DENABLE_HARFBUZZ=OFF"
prt-get isinst libwebp || PKGMK_LAGRANGE+=" -DENABLE_WEBP=OFF"
prt-get isinst mpg123 || PKGMK_LAGRANGE+=" -DENABLE_MPG123=OFF"
cd $name-$version
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ${PKGMK_LAGRANGE} \
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ${PKGMK_LAGRANGE} \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_INSTALL_PREFIX="/usr" ..
cmake --build .
make DESTDIR=$PKG install
ninja -j ${JOBS:-1}
DESTDIR=$PKG ninja install
rm -rf $PKG/usr/share/metainfo
}