Brett Cornwall pushed to branch main at Arch Linux / Packaging / Packages / 
valabind


Commits:
7afcf441 by Brett Cornwall at 2026-05-20T00:33:01-07:00
Adopt, update license to spdx, shorten pkgdesc

- - - - -
49a8f5bd by Brett Cornwall at 2026-05-20T00:34:47-07:00
upgpkg: 2.1.0, rm build patch, switch to git

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- − fix-build.diff


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
 pkgbase = valabind
-       pkgdesc = Tool to parse vala or vapi files to transform them into swig 
interface files, C++, NodeJS-ffi or GIR
-       pkgver = 1.8.0
-       pkgrel = 4
+       pkgdesc = Create bindings from vapi to nodejs, python, swig, c++
+       pkgver = 2.1.0
+       pkgrel = 1
        url = https://github.com/radare/valabind
        arch = x86_64
-       license = GPL3
+       license = GPL-3.0-only
+       makedepends = git
        makedepends = meson
        depends = sh
        depends = glibc
@@ -12,11 +13,7 @@ pkgbase = valabind
        depends = vala
        depends = swig
        depends = libvala-0.56.so
-       source = 
valabind-1.8.0.tar.gz::https://github.com/radare/valabind/archive/1.8.0.tar.gz
-       source = fix-build.diff
-       sha256sums = 
3eba8c36c923eda932a95b8d0c16b7b30e8cdda442252431990436519cf87cdd
-       sha256sums = 
760cbcc4cdd3da1d64973bcbd78c8b72479c89fcdf83f8748cacce6976cb2acf
-       sha512sums = 
50a32b080e1f55b88ce65facd8df948e77938a74b800658cadd9874ff4f78fa3d11cee97b5fe19d69c0fc664af8ab1750bbc2a4163c89546ee2cc4e82034f7e4
-       sha512sums = 
5673af12844b4ab81a6dbb4c921e0e16593bc50280202b04f8fa9d71c5a2ecda93b617e50a48643a3054fb8bc72104254326a93ee839319d2c2f731edd7a12d9
+       source = git+https://github.com/radare/valabind.git#tag=2.1.0
+       sha256sums = 
736185af3746a39ebd3a9c3ef28f23ee3d636f78a4a51225d9e10f251d8d01de
 
 pkgname = valabind


=====================================
PKGBUILD
=====================================
@@ -1,30 +1,20 @@
+# Maintainer: Brett Cornwall <[email protected]>
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=valabind
-pkgver=1.8.0
-pkgrel=4
-pkgdesc='Tool to parse vala or vapi files to transform them into swig 
interface files, C++, NodeJS-ffi or GIR'
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='Create bindings from vapi to nodejs, python, swig, c++'
 url='https://github.com/radare/valabind'
 arch=('x86_64')
-license=('GPL3')
+license=('GPL-3.0-only')
 depends=('sh' 'glibc' 'glib2' 'vala' 'swig' 'libvala-0.56.so')
-makedepends=('meson')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/radare/${pkgname}/archive/${pkgver}.tar.gz
-        fix-build.diff)
-sha256sums=('3eba8c36c923eda932a95b8d0c16b7b30e8cdda442252431990436519cf87cdd'
-            '760cbcc4cdd3da1d64973bcbd78c8b72479c89fcdf83f8748cacce6976cb2acf')
-sha512sums=('50a32b080e1f55b88ce65facd8df948e77938a74b800658cadd9874ff4f78fa3d11cee97b5fe19d69c0fc664af8ab1750bbc2a4163c89546ee2cc4e82034f7e4'
-            
'5673af12844b4ab81a6dbb4c921e0e16593bc50280202b04f8fa9d71c5a2ecda93b617e50a48643a3054fb8bc72104254326a93ee839319d2c2f731edd7a12d9')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-
-  # Fix build outside source dir
-  patch -Np1 -i ../fix-build.diff
-}
+makedepends=('git' 'meson')
+source=("git+https://github.com/radare/valabind.git#tag=$pkgver";)
+sha256sums=('736185af3746a39ebd3a9c3ef28f23ee3d636f78a4a51225d9e10f251d8d01de')
 
 build() {
-  arch-meson ${pkgname}-${pkgver} build
+  arch-meson "$pkgname" build
   meson compile -C build
 }
 


=====================================
fix-build.diff deleted
=====================================
@@ -1,17 +0,0 @@
-diff --git i/meson.build w/meson.build
-index b816dd7..af0c6a9 100644
---- i/meson.build
-+++ w/meson.build
-@@ -34,9 +34,9 @@ executable(
-   'valabind',
-   files,
-   dependencies: [glib_dep, gobject_dep, libvala_dep, valaccodegen_dep],
--  vala_args: ['--pkg', 'posix', '--includedir', '../private',
--    '--vapidir', '../private', '--pkg', 'codegen'],
--  include_directories: include_directories('../private'),
-+  vala_args: ['--pkg', 'posix', '--pkg', 'codegen',
-+    '--vapidir', meson.current_source_dir() / 'private'],
-+  include_directories: include_directories('private'),
-   install: true,
-   install_rpath: libvala_dep.get_pkgconfig_variable('pkglibdir')
- )



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/valabind/-/compare/f92da213c8824aca9277f50d0e7706e7cb9033ec...49a8f5bd5c4dbf646c371ee63c493b6c4b63a8e9

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/valabind/-/compare/f92da213c8824aca9277f50d0e7706e7cb9033ec...49a8f5bd5c4dbf646c371ee63c493b6c4b63a8e9
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to