From 2f8b3ad7dd69d61d8f3b2ccea32b7265118a1bd8 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Thu, 25 Aug 2022 18:04:28 +0200 Subject: Lagrange build that works with CPUs without SSE 4.1 new file: lagrange-nosse41/.SRCINFO new file: lagrange-nosse41/PKGBUILD new file: lagrange-nosse41/lagrange.install --- lagrange-nosse41/.SRCINFO | 28 +++++++++++++++++++++ lagrange-nosse41/PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++ lagrange-nosse41/lagrange.install | 15 +++++++++++ 3 files changed, 96 insertions(+) create mode 100644 lagrange-nosse41/.SRCINFO create mode 100644 lagrange-nosse41/PKGBUILD create mode 100644 lagrange-nosse41/lagrange.install (limited to 'lagrange-nosse41') diff --git a/lagrange-nosse41/.SRCINFO b/lagrange-nosse41/.SRCINFO new file mode 100644 index 0000000..beea050 --- /dev/null +++ b/lagrange-nosse41/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = lagrange-nosse41 + pkgdesc = Beautiful Gemini Client (compiled without SSE) + pkgver = 1.13.6 + pkgrel = 1 + url = https://git.skyjake.fi/skyjake/lagrange + install = lagrange.install + arch = x86_64 + arch = i686 + arch = aarch64 + arch = armv7h + license = BSD + makedepends = cmake + makedepends = zip + depends = fribidi + depends = harfbuzz + depends = hicolor-icon-theme + depends = libunistring + depends = openssl + depends = pcre + depends = sdl2 + depends = zlib + depends = mpg123 + provides = lagrange + conflicts = lagrange + source = https://git.skyjake.fi/gemini/lagrange/releases/download/v1.13.6/lagrange-1.13.6.tar.gz + sha256sums = 7a89e4e950d14cfebd2806de07c49eeeb79368091a68ca439795d0aba9e1aaa7 + +pkgname = lagrange-nosse41 diff --git a/lagrange-nosse41/PKGBUILD b/lagrange-nosse41/PKGBUILD new file mode 100644 index 0000000..52f7f95 --- /dev/null +++ b/lagrange-nosse41/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Deposite Pirate +# +# Based on PKGBUILD by Roshless +# +# Upstream: https://git.metalpunks.info/arch-ports + +_pkgname=lagrange +pkgname=$_pkgname-nosse41 +pkgrel=1 +pkgver=1.13.6 +pkgdesc='Beautiful Gemini Client (compiled without SSE)' +url='https://git.skyjake.fi/skyjake/lagrange' +arch=('x86_64' 'i686' 'aarch64' 'armv7h') +license=('BSD') +install="$_pkgname.install" +source=("https://git.skyjake.fi/gemini/$_pkgname/releases/download/v$pkgver/$_pkgname-$pkgver.tar.gz") +depends=( + 'fribidi' + 'harfbuzz' + 'hicolor-icon-theme' + 'libunistring' + 'openssl' + 'pcre' + 'sdl2' + 'zlib' + 'mpg123' +) +makedepends=( + 'cmake' + 'zip' +) +conflicts=("$_pkgname") +provides=("$_pkgname") +sha256sums=('7a89e4e950d14cfebd2806de07c49eeeb79368091a68ca439795d0aba9e1aaa7') + +build() { + cmake -B build -S "${_pkgname}-${pkgver}" \ + -DCMAKE_BUILD_TYPE='Release' \ + -DCMAKE_INSTALL_PREFIX='/usr' \ + -DENABLE_KERNING=OFF \ + -DTFDN_ENABLE_WARN_ERROR=OFF \ + -DTFDN_ENABLE_SSE41=OFF \ + -Wno-dev + make -C build +} + +package() { + install -Dm644 "${_pkgname}-${pkgver}/LICENSE.md" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" + + cd build + make DESTDIR="${pkgdir}" install +} diff --git a/lagrange-nosse41/lagrange.install b/lagrange-nosse41/lagrange.install new file mode 100644 index 0000000..4e359db --- /dev/null +++ b/lagrange-nosse41/lagrange.install @@ -0,0 +1,15 @@ +post_upgrade() { + if [[ $1 = 1.6.0-1 ]] || [[ $1 = 1.6.1-1 ]]; then + echo "" + echo "Notes for update 1.6.0:" + echo "A new TOFU trust store will be created. The old one is kept around but ignored." + echo "App state serialization format has been updated. Downgrading to a previous release will cause app state to be reset (e.g., tabs closed, navigation history cleared)." + echo "" + elif [[ $1 = 1.7.0-3 ]]; then + echo "" + echo "Notes for update 1.7.0:" + echo "Bookmarks file format has changed. Your existing bookmarks will be imported to the new format. The old bookmarks.txt file can be found in the config directory and is writable only by v1.6 and earlier versions." + echo "Saved UI state format has changed. Downgrading will reset window state, close all tabs, and clear the navigation cache." + echo "" + fi +} -- cgit v1.2.3-70-g09d2