update to 6.2.4

This commit is contained in:
Just_A_Pony 2025-11-24 04:58:24 +08:00
parent 5859416d7c
commit f945a21875
No known key found for this signature in database
GPG key ID: A23BA9923379FD48
2 changed files with 28 additions and 30 deletions

View file

@ -1,6 +1,6 @@
pkgbase = yukigram-desktop
pkgdesc = A Fork of 64Gram,A Telegram Desktop fork
pkgver = 6.0.2
pkgver = 6.2.4
pkgrel = 0
url = https://github.com/yukigram/yukigram/
arch = x86_64
@ -46,12 +46,10 @@ pkgbase = yukigram-desktop
depends = xxhash
optdepends = geoclue: geoinformation support
optdepends = geocode-glib-2: geocoding support
optdepends = geocode-glib: geocoding support
optdepends = webkit2gtk-4.1: embedded browser features provided by webkit2gtk-4.1
optdepends = webkit2gtk: embedded browser features provided by webkit2gtk
optdepends = webkitgtk-6.0: embedded browser features provided by webkitgtk-6.0 (Wayland only)
optdepends = xdg-desktop-portal: desktop integration
source = yukigram::git+https://github.com/yukigram/yukigram.git#tag=yukigram-6.0.2
source = yukigram::git+https://github.com/yukigram/yukigram.git#tag=f4dabf3858a7e4aad107ae400e8386fc2bcaeb2e
source = git+https://github.com/tdlib/td.git#tag=6d74326c5ce53aeb52496f157f0080d9b8515970
sha512sums = SKIP
sha512sums = SKIP

View file

@ -2,7 +2,7 @@
##If you spot any issues, please don't hesitate to email me.
##Email: pony at just-a-pony dot net
pkgname=yukigram-desktop
pkgver=6.0.2
pkgver=6.2.4
pkgrel=0
pkgdesc='A Fork of 64Gram,A Telegram Desktop fork'
arch=('x86_64')
@ -55,46 +55,46 @@ makedepends=(
optdepends=(
'geoclue: geoinformation support'
'geocode-glib-2: geocoding support'
'geocode-glib: geocoding support'
'webkit2gtk-4.1: embedded browser features provided by webkit2gtk-4.1'
'webkit2gtk: embedded browser features provided by webkit2gtk'
'webkitgtk-6.0: embedded browser features provided by webkitgtk-6.0 (Wayland only)'
'xdg-desktop-portal: desktop integration'
)
_td_commit=6d74326c5ce53aeb52496f157f0080d9b8515970
source=("yukigram::git+https://github.com/yukigram/yukigram.git#tag=yukigram-${pkgver}"
"git+https://github.com/tdlib/td.git#tag=${_td_commit}")
_yukigram_commit=f4dabf3858a7e4aad107ae400e8386fc2bcaeb2e
source=("yukigram::git+https://github.com/yukigram/yukigram.git#tag=${_yukigram_commit}"
"git+https://github.com/tdlib/td.git#tag=${_td_commit}")
sha512sums=( SKIP
SKIP )
prepare() {
cd yukigram
git submodule update --init --recursive
}
build() {
CXXFLAGS+=' -ffat-lto-objects'
cmake -S td -B td/build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX="$PWD/td/install" \
-Wno-dev \
-DTD_E2E_ONLY=ON
cmake --build td/build
cmake --install td/build
CXXFLAGS+=' -ffat-lto-objects'
export CMAKE_BUILD_PARALLEL_LEVEL=${MAKEFLAGS#-j}
cmake -S td -B td/build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX="$PWD/td/install" \
-Wno-dev \
-DTD_E2E_ONLY=ON
cmake --build td/build
cmake --install td/build
cmake -B build -S yukigram -G Ninja \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX="/usr" \
-Dtde2e_DIR="$PWD/td/install/lib/cmake/tde2e" \
-DCMAKE_BUILD_TYPE=Release \
-DTDESKTOP_API_ID=611335 \
-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
cmake --build build
cmake -B build -S yukigram -G Ninja \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX="/usr" \
-Dtde2e_DIR="$PWD/td/install/lib/cmake/tde2e" \
-DCMAKE_BUILD_TYPE=Release \
-DTDESKTOP_API_ID=611335 \
-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
DESTDIR="$pkgdir" cmake --install build
}