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


Commits:
27acee32 by David Runge at 2023-09-04T03:13:15+02:00
Switch to correct SPDX license identifier for the project (GPL-2.0-only).

- - - - -
d05bcb2e by David Runge at 2023-09-04T03:16:57+02:00
Use alphabetically sorted bash arrays with one entry per line for better 
handling

- - - - -
f79a42b2 by David Runge at 2023-09-04T03:20:40+02:00
upgpkg: 0.95-4

Rebuild to add jansson as dependency for JSON output:
https://bugs.archlinux.org/task/68237

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -5,12 +5,19 @@
 pkgbase=mtr
 pkgname=('mtr' 'mtr-gtk')
 pkgver=0.95
-pkgrel=3
+pkgrel=4
 pkgdesc='Combines the functionality of traceroute and ping into one tool'
 url='https://www.bitwizard.nl/mtr/'
 arch=('x86_64')
-license=('GPL2')
-makedepends=('ncurses' 'gtk3' 'libcap' 'gdk-pixbuf2')
+license=('GPL-2.0-only')
+makedepends=(
+  'gdk-pixbuf2'
+  'glibc'
+  'gtk3'
+  'jansson'
+  'libcap'
+  'ncurses'
+)
 install=mtr.install
 
source=(https://github.com/traviscross/mtr/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
 
sha512sums=('a7d69e0c551a10ae80a650a34588119e6c6b124a8c2c93d3de29e5daa6ef99f9217d875529d443c3760cd6fd7bd04d1e9abe33ef12635826c66a98bd776c1690')
@@ -42,7 +49,12 @@ build() {
 
 package_mtr() {
   pkgdesc='Combines the functionality of traceroute and ping into one tool 
(CLI version)'
-  depends=('ncurses' 'libcap' libncursesw.so)
+  depends=(
+    'glibc'
+    'jansson'
+    'libcap'
+    'ncurses' libncursesw.so
+  )
   optdepends=('bash-completion: bash completion support')
   cd ${pkgbase}-${pkgver}-cli
   make DESTDIR="${pkgdir}" install
@@ -50,8 +62,15 @@ package_mtr() {
 
 package_mtr-gtk() {
   pkgdesc='Combines the functionality of traceroute and ping into one tool 
(GTK version)'
-  depends=('ncurses' 'libcap' 'gtk3' 'gdk-pixbuf2'
-           libgtk-3.so libgobject-2.0.so libgdk_pixbuf-2.0.so 
libgobject-2.0.so libglib-2.0.so libncursesw.so)
+  depends=(
+    'gdk-pixbuf2' libgdk_pixbuf-2.0.so
+    'glib2' libglib-2.0.so libgobject-2.0.so
+    'glibc'
+    'gtk3' libgtk-3.so
+    'jansson'
+    'libcap'
+    'ncurses' libncursesw.so
+  )
   optdepends=('bash-completion: bash completion support')
   conflicts=('mtr')
   provides=("mtr=${pkgver}")



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mtr/-/compare/ec5b2c2003b5ea1198e9a20c6f027d7071997b4c...f79a42b2dba6f533bf1fdc28b8c92b846752e8ff

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mtr/-/compare/ec5b2c2003b5ea1198e9a20c6f027d7071997b4c...f79a42b2dba6f533bf1fdc28b8c92b846752e8ff
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to