sdl2_ttf: updated url

This commit is contained in:
John McQuah 2023-10-15 11:53:14 +00:00
parent 29658f499e
commit b69d293285
3 changed files with 18 additions and 17 deletions

View File

@ -10,8 +10,8 @@ drwxr-xr-x root/root usr/lib/cmake/SDL2_ttf/
-rw-r--r-- root/root usr/lib/cmake/SDL2_ttf/SDL2_ttfConfig.cmake
-rw-r--r-- root/root usr/lib/cmake/SDL2_ttf/SDL2_ttfConfigVersion.cmake
lrwxrwxrwx root/root usr/lib/libSDL2_ttf-2.0.so -> libSDL2_ttf-2.0.so.0
lrwxrwxrwx root/root usr/lib/libSDL2_ttf-2.0.so.0 -> libSDL2_ttf-2.0.so.0.2000.2
-rwxr-xr-x root/root usr/lib/libSDL2_ttf-2.0.so.0.2000.2
lrwxrwxrwx root/root usr/lib/libSDL2_ttf-2.0.so.0 -> libSDL2_ttf-2.0.so.0.2100.0
-rwxr-xr-x root/root usr/lib/libSDL2_ttf-2.0.so.0.2100.0
lrwxrwxrwx root/root usr/lib/libSDL2_ttf.so -> libSDL2_ttf-2.0.so.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/SDL2_ttf.pc

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yJpKRyeNs0NXK9L3EjKyWl9xGMGasePE4gQhQT6E0eGw6Mm9Roz+VhhvflZej8iaggeIQUWYSv3jyyW7zLIFgM=
SHA256 (Pkgfile) = 4738256a5eafe2a48b9e5b7b00fa01c2e03861e26fe322b66480c59c954279fb
SHA256 (.footprint) = d7363868d903b08b17d33ab8d735e17c5d7e0fb3b1a0e1752a22d3014109087c
SHA256 (SDL2_ttf-2.20.2.tar.gz) = 9dc71ed93487521b107a2c4a9ca6bf43fb62f6bddd5c26b055e6b91418a22053
RWSagIOpLGJF3yeMSwzB6h359DzGr9izI8XocuOWFYPUFAsRd4eIQBwvEZJshJDrdunMbqYsmk0k+AGi5H96KhlHw639paob6AA=
SHA256 (Pkgfile) = 43d32791d24c25418f623a9c70e9b2a98ab9e0d15ecd0db413921dc8decd4389
SHA256 (.footprint) = 8370f3d034ead8b4f7b16b0b0af0937ceef4cdfb227892566922ee5cf432302b
SHA256 (sdl2_ttf-2.20.2.tar.gz) = 34497c41f2a5a3d3a9edcf5d60974c79e54dd69daf7cc6f4c9c781ba714998d1

View File

@ -5,19 +5,20 @@
name=sdl2_ttf
version=2.20.2
release=2
source=(https://github.com/libsdl-org/SDL_ttf/releases/download/release-$version/SDL2_ttf-$version.tar.gz)
_commit=3a51231c98ab0ca728bba6eb5f743da5dcfedf5a
release=3
source=(https://github.com/libsdl-org/SDL_ttf/archive/$_commit/$name-$version.tar.gz)
build() {
cmake -S SDL2_ttf-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS"
cmake -S SDL_ttf-$_commit -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS"
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
# delete installed license.txt
rm -rf $PKG/usr/share
# delete installed license.txt
rm -rf $PKG/usr/share
}