David Runge pushed to branch main at Arch Linux / Packaging / Packages / librime


Commits:
02b3a145 by David Runge at 2024-02-20T19:26:03+01:00
Add pkgver() function as we are building from git sources

Signed-off-by: David Runge <[email protected]>

- - - - -
dfb1cbd9 by David Runge at 2024-02-20T19:32:41+01:00
Add all direct dependencies

Signed-off-by: David Runge <[email protected]>

- - - - -
e26d194d by David Runge at 2024-02-20T19:33:26+01:00
upgpkg: 1:1.10.0-3

Rebuild against capnproto 1.0.2

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = librime
        pkgdesc = Rime input method engine
        pkgver = 1.10.0
-       pkgrel = 2
+       pkgrel = 3
        epoch = 1
        url = https://github.com/rime/librime
        arch = x86_64
@@ -13,6 +13,8 @@ pkgbase = librime
        makedepends = ninja
        depends = boost-libs
        depends = capnproto
+       depends = gcc-libs
+       depends = glibc
        depends = opencc
        depends = yaml-cpp
        depends = leveldb


=====================================
PKGBUILD
=====================================
@@ -9,13 +9,13 @@ _octagramcommit=bd12863f45fbbd5c7db06d5ec8be8987b10253bf
 _luacommit=7f3eca2ce659fc2401b8acb52bd2182b433e12b1
 _charcodecommit=3709ca7a39a7c14f9e02fa00489a9850fd5a907b
 _protocommit=657a923cd4c333e681dc943e6894e6f6d42d25b4
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc="Rime input method engine"
 arch=('x86_64')
 url="https://github.com/rime/librime";
 license=('BSD-3-Clause')
-depends=('boost-libs' 'capnproto' 'opencc' 'yaml-cpp' 'leveldb' 'librime-data' 
'lua' 'google-glog' 'marisa')
+depends=('boost-libs' 'capnproto' 'gcc-libs' 'glibc' 'opencc' 'yaml-cpp' 
'leveldb' 'librime-data' 'lua' 'google-glog' 'marisa')
 makedepends=('git' 'cmake' 'boost' 'gtest' 'ninja')
 source=("git+https://github.com/rime/librime.git#commit=$_commit";
         
"git+https://github.com/lotem/librime-octagram.git#commit=$_octagramcommit";
@@ -30,6 +30,11 @@ sha512sums=('SKIP'
             'SKIP'
             
'3319b861c520abd68359f3e6e19db7e7d35464911c7b3798298de71fa920215b621e1cb2668ed35d68d7bfd0814e24604860a3ed3b071496943f00919b99473e')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
 prepare() {
   cd librime/plugins
   ln -sf "$srcdir"/librime-octagram



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/librime/-/compare/2d18cefe00f68d8e6b82e4fee80ae3dbf77ca097...e26d194daba1a7973a2d6bf4cecb517adc36a9f3

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/librime/-/compare/2d18cefe00f68d8e6b82e4fee80ae3dbf77ca097...e26d194daba1a7973a2d6bf4cecb517adc36a9f3
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to