[arch-commits] Commit in pd/repos/community-x86_64 (PKGBUILD PKGBUILD pd.png)

David Runge dvzrv at archlinux.org
Fri Aug 9 05:50:52 UTC 2019


    Date: Friday, August 9, 2019 @ 05:50:52
  Author: dvzrv
Revision: 498388

archrelease: copy trunk to community-x86_64

Added:
  pd/repos/community-x86_64/PKGBUILD
    (from rev 498387, pd/trunk/PKGBUILD)
Deleted:
  pd/repos/community-x86_64/PKGBUILD
  pd/repos/community-x86_64/pd.png

----------+
 PKGBUILD |  155 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 84 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-09 05:50:47 UTC (rev 498387)
+++ PKGBUILD	2019-08-09 05:50:52 UTC (rev 498388)
@@ -1,71 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: speps <speps at aur dot archlinux dot org>
-# Contributor: TDY <tdy at gmx.com>
-# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
-
-pkgname=pd
-pkgver=0.49.0
-_ver=${pkgver%.*}-${pkgver##*.}
-pkgrel=1
-pkgdesc="The Pure Data real-time music and multimedia environment"
-arch=('x86_64')
-url="http://msp.ucsd.edu/software.html"
-license=('custom:BSD')
-groups=('pro-audio')
-depends=('fftw' 'portaudio' 'tk')
-makedepends=('gendesk' 'portmidi')
-optdepends=('portmidi: for alternative portmidi support')
-provides=('puredata')
-source=("http://msp.ucsd.edu/Software/${pkgname}-${_ver}.src.tar.gz"
-        "${pkgname}.png")
-sha512sums=('5a8e606d2e1b62bc65903c7a30c6339f0f9acc676290d233bcb8ed87a817c7c3ff63207779f5e0d9caa231ad988770e5c2225921c2a616df661b3960b2c72480'
-            '61300b58f10018b0bd28424ac00d1b8158f8ace9855742e19e48c98f915cabcade6c6041460aa795005c0fb6abc93e7116f9999c6d001999916c9fe6c85c162d')
-
-prepare() {
-  mv -v "${pkgname}-${_ver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  autoreconf -vfi
-  # XDG desktop files
-  gendesk -n \
-          --pkgname ${pkgname} \
-          --pkgdesc "${pkgdesc}" \
-          --exec ${pkgname} \
-          --name "Pure Data" \
-          --categories "AudioVideo;Audio"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr \
-              --enable-alsa \
-              --enable-fftw \
-              --enable-jack \
-              --enable-portaudio \
-              --enable-portmidi \
-              --without-local-portaudio \
-              --without-local-portmidi
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
-  # license
-  install -vDm 644 LICENSE.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  # desktop file
-  install -vDm 644 "${pkgname}.desktop" \
-    -t "${pkgdir}/usr/share/applications/"
-  # icon from puredata.info
-  # https://puredata.info/Members/claudiusmaximus/icons/index_html/
-  install -vDm 644 "${srcdir}/${pkgname}.png" \
-    -t "${pkgdir}/usr/share/pixmaps/"
-  # readme
-  install -vDm 644 README.txt -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  # fix broken symlink
-  ls -lah "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
-  rm -v "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
-  ln -sv "/usr/bin/${pkgname}" "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
-  ls -lah "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
-}

Copied: pd/repos/community-x86_64/PKGBUILD (from rev 498387, pd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-09 05:50:52 UTC (rev 498388)
@@ -0,0 +1,84 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
+
+_resolutions=( 16 32 48 64 96 128 256 512 1024 )
+_name=pure-data
+pkgname=pd
+pkgver=0.49.1
+_ver=${pkgver%.*}-${pkgver##*.}
+pkgrel=1
+pkgdesc="The Pure Data real-time music and multimedia environment"
+arch=('x86_64')
+url="http://msp.ucsd.edu/software.html"
+license=('BSD')
+groups=('pro-audio')
+depends=('fftw' 'hicolor-icon-theme' 'portaudio' 'tk')
+makedepends=('gendesk' 'inkscape' 'portmidi')
+optdepends=('portmidi: for alternative portmidi support')
+provides=('puredata')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pure-data/pure-data/archive/${_ver}.tar.gz"
+        "${pkgname}.svg::https://raw.githubusercontent.com/pure-data/pd-icon/master/masters/icon.svg")
+sha512sums=('c2dd4eadc622b1a626095cad95ce7e34be569414671af5938b339665526545174cf7abb77bf49943f617a93b3fae54fc890df46f1b9f73cb93b13a36db490fd7'
+            '3c88122e0bdbdda73d47a688de7264f4cf86537b981dfabcbc646fc621189612bd0ae4804ba962d533072df85faddb9a77daf3eb7c6ef8ea46c22e3216bf0d74')
+
+prepare() {
+  mv -v "${_name}-${_ver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+  # XDG desktop files
+  gendesk -n \
+          --pkgname ${pkgname} \
+          --pkgdesc "${pkgdesc}" \
+          --exec ${pkgname} \
+          --name "Pure Data" \
+          --categories "AudioVideo;Audio"
+  for _res in ${_resolutions[@]}; do
+    inkscape -z -e "pd-${_res}.png" \
+             -w "${_res}" \
+             -h "${_res}" \
+             "../${pkgname}.svg"
+  done
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+              --enable-alsa \
+              --enable-fftw \
+              --enable-jack \
+              --enable-portaudio \
+              --enable-portmidi \
+              --without-local-portaudio \
+              --without-local-portmidi
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # license
+  install -vDm 644 LICENSE.txt \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # desktop file
+  install -vDm 644 "${pkgname}.desktop" \
+    -t "${pkgdir}/usr/share/applications/"
+  # icons
+  install -vDm 644 "${pkgname}-32.png" \
+    "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+  install -vDm 644 "${srcdir}/${pkgname}.svg" \
+    -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
+  for _res in ${_resolutions[@]}; do
+    install -vDm 644 "${pkgname}-${_res}.png" \
+      "${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/${pkgname}.png"
+  done
+  # readme
+  install -vDm 644 README.txt -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  # fix broken symlink
+  ls -lah "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
+  rm -v "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
+  ln -sv "/usr/bin/${pkgname}" "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
+  ls -lah "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
+}

Deleted: pd.png
===================================================================
(Binary files differ)



More information about the arch-commits mailing list