Balló György pushed to branch main at Arch Linux / Packaging / Packages / gmtk


Commits:
734c79fd by Balló György at 2026-08-19T18:03:40+02:00
upgpkg: 1.0.9-8: Switch to git source, add transivite deps, specify SPDX license

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,20 @@
 pkgbase = gmtk
        pkgdesc = Common functions for gnome-mplayer and gecko-mediaplayer
        pkgver = 1.0.9
-       pkgrel = 7
-       url = https://sites.google.com/site/kdekorte2/gmtk
+       pkgrel = 8
+       url = https://github.com/kdekorte/gmtk
        arch = x86_64
-       license = GPL
+       license = GPL-2.0-or-later
+       makedepends = git
        makedepends = intltool
+       depends = alsa-lib
+       depends = cairo
+       depends = glib2
+       depends = glibc
        depends = gtk3
+       depends = libpulse
        depends = mplayer
-       source = 
https://github.com/kdekorte/gmtk/archive/v1.0.9/gmtk-1.0.9.tar.gz
-       sha256sums = 
fc23c853deb35ee35db06dd3da5069ce3dc64faf3a0053324616fadf81a415db
+       source = git+https://github.com/kdekorte/gmtk.git#tag=v1.0.9
+       b2sums = 
c1f70a77b256a30a18c425cb9c1139b54ca2f5c015bed35c7f1e8bd3a0ebad860370bb2a0375642bf3800f0cf71fff6e9cdd92f30e29ac57843ffee2ffe75769
 
 pkgname = gmtk


=====================================
PKGBUILD
=====================================
@@ -3,24 +3,43 @@
 
 pkgname=gmtk
 pkgver=1.0.9
-pkgrel=7
+pkgrel=8
 pkgdesc='Common functions for gnome-mplayer and gecko-mediaplayer'
-arch=('x86_64')
-url='https://sites.google.com/site/kdekorte2/gmtk'
-license=('GPL')
-depends=('gtk3' 'mplayer')
-makedepends=('intltool')
-source=("https://github.com/kdekorte/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha256sums=('fc23c853deb35ee35db06dd3da5069ce3dc64faf3a0053324616fadf81a415db')
+arch=(x86_64)
+url='https://github.com/kdekorte/gmtk'
+license=(GPL-2.0-or-later)
+depends=(
+  alsa-lib
+  cairo
+  glib2
+  glibc
+  gtk3
+  libpulse
+  mplayer
+)
+makedepends=(
+  git
+  intltool
+)
+source=("git+https://github.com/kdekorte/gmtk.git#tag=v$pkgver";)
+b2sums=(c1f70a77b256a30a18c425cb9c1139b54ca2f5c015bed35c7f1e8bd3a0ebad860370bb2a0375642bf3800f0cf71fff6e9cdd92f30e29ac57843ffee2ffe75769)
+
+prepare() {
+  cd $pkgname
+  sed -i '/AM_GCONF_SOURCE_2/d' configure.ac
+  autoreconf -fiv
+}
 
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  cd $pkgname
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gmtk/-/commit/734c79fd5e2c71baf9795bcb607a71c40779f367

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gmtk/-/commit/734c79fd5e2c71baf9795bcb607a71c40779f367
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