[arch-commits] Commit in patchage/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Apr 9 23:04:35 UTC 2020


    Date: Thursday, April 9, 2020 @ 23:04:35
  Author: dvzrv
Revision: 613061

upgpkg: patchage 1.0.2-1: Upgrading to 1.0.2.

Moving all sodeps to package() and adding the respective packages to makedepends.
Removing waf modifications, as the current upstream version is compatible wit system waf.
Minor cleanups.

Modified:
  patchage/trunk/PKGBUILD

----------+
 PKGBUILD |   43 ++++++++++++++++++++-----------------------
 1 file changed, 20 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-09 23:01:01 UTC (rev 613060)
+++ PKGBUILD	2020-04-09 23:04:35 UTC (rev 613061)
@@ -5,52 +5,49 @@
 # Contributor: clarence <catchfire at gmail dot com>
 
 pkgname=patchage
-pkgver=1.0.0
-pkgrel=6
+pkgver=1.0.2
+pkgrel=1
 pkgdesc="A modular patch bay for audio and MIDI systems based on Jack and Alsa"
 arch=('x86_64')
 url="https://drobilla.net/software/patchage"
 license=('GPL3')
-depends=('alsa-lib' 'atk' 'atkmm' 'cairo' 'cairomm' 'dbus' 'dbus-glib'
-'fontconfig' 'gcc-libs' 'gdk-pixbuf2' 'glibc' 'glib2' 'gtk2' 'harfbuzz'
-'libfreetype.so' 'libganv-1.so' 'libjack.so' 'libsigc++' 'pango' 'pangomm')
-makedepends=('boost' 'waf')
-source=("https://download.drobilla.net/$pkgname-$pkgver.tar.bz2"{,.sig}
-        "wscript::https://git.drobilla.net/cgit.cgi/patchage.git/plain/wscript?id=23e58365cede1117676b74d855d046f90c28accb"
-        "autowaf.py::https://git.drobilla.net/cgit.cgi/autowaf/plain/extras/autowaf.py?id=de76b89dc1039e2f7d6c6b229a8950156b0e5c9")
-sha512sums=('0a2be0183257a34a68ec84e6fb17d29a3d8ba7dd54a05fcdd13784ac8f5621eb7a376f17d42168958f5e1a8dab8858a9c5c8c867aa1838736cc2b7775f75f510'
-            'SKIP'
-            '9bc2e288ee99b01b04f67b6668b5a1c386c47059e6223b96612980b4a9ec0cb801063e65f0fb3ad1f43689f925bb2123da1e18b7cfa2f5c5ef11cc38915606c0'
-            '2e1424d35520f18fa7a7a0c4e30e6b742f723b87aa2ddc109917d353f83b436f3e7da2ea3af7aca64827dafb56caa9c1a64035884905d6b0f6d4bba3ef31f27b')
+depends=('atkmm' 'cairo' 'cairomm' 'dbus-glib' 'fontconfig' 'gcc-libs'
+'gdk-pixbuf2' 'glibc' 'harfbuzz' 'libsigc++' 'pangomm')
+makedepends=('alsa-lib' 'atk' 'boost' 'dbus' 'freetype2' 'ganv' 'glib2' 'gtk2'
+'jack' 'pango' 'waf')
+source=("https://download.drobilla.net/$pkgname-$pkgver.tar.bz2"{,.sig})
+sha512sums=('8d59bf4a71c2b41a1c9d8f72da30046568573c6cedaca69815b279fd1c24d44267da6846e219449d47f43157663abc331ef89f241d94dd16e666e06da9f81e12'
+            'SKIP')
 validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d at drobilla.net>
 
 prepare() {
   cd "${pkgname}-${pkgver}"
-  # copy more current versions of custom waf scripts in place
+  # copy custom waf scripts in place
   mkdir -pv tools
-  cp -av ../autowaf.py tools/
   touch __init__.py
-  # copy more current version of wscript in place
-  cp -av ../wscript .
-  # modify wscript to use current scripts and fix version
+  cp -av waflib/extras/autowaf.py tools/
+  # remove vendored waflib
+  rm -rf waflib
+  # modify wscript to use current scripts
   sed -e 's/waflib.extras/tools/' \
       -e "s/load('autowaf'/load('autowaf', tooldir='tools'/" \
       -i wscript
-  sed -E "s|(PATCHAGE_VERSION       =) .+|\1 '${pkgver}'|" -i wscript
-  # set correct ganv version dependency
-  sed -e 's/1.5.2/1.4.2/g' -i wscript
 }
 
 build() {
   cd "${pkgname}-${pkgver}"
   waf configure --prefix=/usr
-  waf build
+  waf build -v
 }
 
 package() {
+  depends+=('libasound.so' 'libatk-1.0.so' 'libdbus-1.so' 'libfreetype.so'
+  'libganv-1.so' 'libgdk-x11-2.0.so' 'libgio-2.0.so' 'libglib-2.0.so'
+  'libgobject-2.0.so' 'libgtk-x11-2.0.so' 'libjack.so' 'libpangoft2-1.0.so'
+  'libpango-1.0.so' 'libpangocairo-1.0.so')
   cd "${pkgname}-${pkgver}"
   waf install --destdir="${pkgdir}"
-  install -vDm 644 {AUTHORS,NEWS,README} \
+  install -vDm 644 {AUTHORS,NEWS,README.md} \
     -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list