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

David Runge dvzrv at archlinux.org
Fri Jan 8 11:31:13 UTC 2021


    Date: Friday, January 8, 2021 @ 11:31:12
  Author: dvzrv
Revision: 813689

upgpkg: xjadeo 0.8.10-1: Upgrade to 0.8.10.

Add all direct dependencies in depends.
Add all sodeps in package() and the respective packages in makedepends.
Remove CFLAGS addition as the gcc >=10 fixes were applied upstream.
Run autoreconf in prepare().
Update maintainer info.

Modified:
  xjadeo/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-08 09:26:16 UTC (rev 813688)
+++ PKGBUILD	2021-01-08 11:31:12 UTC (rev 813689)
@@ -1,18 +1,19 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 # Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgname=xjadeo
-pkgver=0.8.9
-pkgrel=2
+pkgver=0.8.10
+pkgrel=1
 pkgdesc="A simple video player that is synchronized to jack transport"
 arch=('x86_64')
 url="http://xjadeo.sourceforge.net"
 license=('GPL2')
-depends=('ffmpeg' 'imlib2' 'liblo' 'libltc' 'libxpm' 'portmidi')
-makedepends=('gendesk' 'glu')
+depends=('gcc-libs' 'glibc' 'imlib2' 'libglvnd' 'libx11' 'libxpm' 'libxv')
+makedepends=('alsa-lib' 'ffmpeg' 'gendesk' 'glu' 'jack' 'liblo' 'libltc' 'portmidi')
 backup=('etc/xjadeorc')
 source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('66a810e8c276600d5557c856e9206d11f4bed868d8e7ac490dcbdbafe95a90cc1b42d38fd73ccdeb2b685c9eafc0fc4b736f2a7174645bdd6706970ab2c16774')
+sha512sums=('f50c3daa3abb6a7b7809f12a3d2a2d2682aa93f908366a751d2c6d9da06c07e0e0f5316500d5bcd93baf39bfc7a9d2930c8ec82ed0f225d1254c3387de39b613')
+b2sums=('1f32fb7f85838354707110573ce8fd525a1fbbe01d27c5aee9f53a54560efd3b665ec8a8124929e5c2eb2f2e74a29b61d09cb421a7b70ecf938405c0048ae824')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
@@ -20,11 +21,11 @@
           --pkgname ${pkgname} \
           --pkgdesc "${pkgdesc}" \
           --categories "AudioVideo;Audio"
+  autoreconf -vfi
 }
 
 build() {
   cd "${pkgname}-${pkgver}"
-  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
   ./configure --prefix=/usr \
               --sysconfdir=/etc
   make
@@ -31,19 +32,20 @@
 }
 
 package() {
+  depends+=('libasound.so' 'libavcodec.so' 'libavformat.so' 'libavutil.so'
+  'libfreetype.so' 'libjack.so' 'liblo.so' 'libltc.so' 'libportmidi.so'
+  'libswscale.so')
   cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}/" install
-
-  # rc file
+  # config
   install -vDm 644 doc/xjadeorc -t "${pkgdir}/etc/"
-
   # desktop file
   install -vDm 644 "${pkgname}.desktop" \
     -t "${pkgdir}/usr/share/applications/"
-
   # icon
   install -vDm 644 "src/${pkgname}/icons/xjadeoH128.png" \
     "$pkgdir/usr/share/pixmaps/${pkgname}.png"
-  install -vDm 644 {AUTHORS,ChangeLog,NEWS} \
+  # docs
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
     -t "${pkgdir}/usr/share/doc/${pkgname}/"
 }



More information about the arch-commits mailing list