Date: Monday, December 18, 2017 @ 16:49:32 Author: dvzrv Revision: 274781
upgpkg: zynaddsubfx 3.0.3-1 Updating maintainer. Upgrading to 3.0.3. Switching to sha512sums. Removing already included svg file. Building documentation. Installing documentation and native desktop files and icons. Minor fixes. Modified: zynaddsubfx/trunk/PKGBUILD Deleted: zynaddsubfx/trunk/zynaddsubfx.svg -----------------+ PKGBUILD | 64 +++++------ zynaddsubfx.svg | 313 ------------------------------------------------------ 2 files changed, 34 insertions(+), 343 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-12-18 16:27:02 UTC (rev 274780) +++ PKGBUILD 2017-12-18 16:49:32 UTC (rev 274781) @@ -1,33 +1,25 @@ # $Id$ -# Maintainer: Sergej Pupykin <[email protected]> -# Maintainer: SpepS <dreamspepser at yahoo dot it> +# Maintainer: David Runge <[email protected]> +# Contributor: Sergej Pupykin <[email protected]> +# Contributor: SpepS <dreamspepser at yahoo dot it> # Contributor: Ionut Biru <[email protected]> # Contributor: DonVla <[email protected]> pkgname=zynaddsubfx -pkgver=3.0.2 +pkgver=3.0.3 pkgrel=1 pkgdesc="Opensource software synthesizer capable of making a countless number of instruments." arch=('x86_64') url="http://zynaddsubfx.sourceforge.net" -license=('GPL') -depends=('fltk' 'portaudio' 'fftw' 'lash' 'mxml' 'jack' 'libxpm' 'gcc-libs' 'liblo') -makedepends=('cmake' 'pkgconfig' 'mesa' 'setconf' 'gendesk') -options=('!emptydirs') -source=("https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2" - "$pkgname.svg") -sha256sums=('95defd8250b79fbe7fb69be860df6df05d82263cabf83cf53b391486e910b926' - 'cf3e8228c1812aa5c320c7ea872727b852d12e98b751fa4996c7ab506d3b5eea') +license=('GPL2') +depends=('fltk' 'portaudio' 'fftw' 'lash' 'mxml' 'libxpm' 'liblo') +makedepends=('asciidoc' 'cmake' 'doxygen' 'gnuplot' 'dblatex' 'imagemagick' 'ghostscript' 'texlive-pstricks') +source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2") +sha512sums=('e60e22656388d444114959859c12014ec79d7ba555b0d217ad98ad06e273916eea0eee521bb9dbfdef5be34205280d355b44a8f15760eeff06b16410d560b5d7') build() { - cd "$srcdir" - gendesk $startdir/PKGBUILD - setconf "$pkgname.desktop" Icon "$pkgname.svg" + cd "${pkgname}-${pkgver}" - cd "zynaddsubfx-$pkgver" - - sed -i '1,1i#include <unistd.h>' src/Nio/NulEngine.cpp - [ -d build ] || mkdir build && cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -39,25 +31,37 @@ # build external programs cd ../ExternalPrograms/Spliter && make - cd ../Controller && sed -i "s|Box\.h|Box\.H|" ControllerUI.fl && make + cd ../Controller && make + + # build documentation + cd ../../doc + make } package() { - cd "$srcdir/zynaddsubfx-$pkgver/build" + cd "${pkgname}-${pkgver}/build" - make DESTDIR="$pkgdir/" install + make DESTDIR="${pkgdir}/" install # install external programs - install -Dm755 ../ExternalPrograms/Spliter/spliter "$pkgdir/usr/bin/spliter" - install -Dm755 ../ExternalPrograms/Controller/controller "$pkgdir/usr/bin/controller" - install -Dm644 ../ExternalPrograms/Spliter/readme.txt "$pkgdir/usr/share/doc/$pkgname/SPLITER.txt" + install -Dm755 ../ExternalPrograms/Spliter/spliter "${pkgdir}/usr/bin/spliter" + install -Dm755 ../ExternalPrograms/Controller/controller "${pkgdir}/usr/bin/controller" + install -Dm644 ../ExternalPrograms/Spliter/readme.txt "${pkgdir}/usr/share/doc/${pkgname}/SPLITER.txt" # banks and examples - install -d "$pkgdir/usr/share/$pkgname" - cp -a ../instruments/banks "$pkgdir/usr/share/$pkgname" - cp -a ../instruments/examples "$pkgdir/usr/share/$pkgname" + install -d "${pkgdir}/usr/share/${pkgname}" + cp -a ../instruments/banks "${pkgdir}/usr/share/${pkgname}" + cp -a ../instruments/examples "${pkgdir}/usr/share/${pkgname}" - # desktop file and icon - install -Dm644 "$srcdir/$pkgname.svg" "$pkgdir/usr/share/pixmaps/$pkgname.svg" - install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + # icons + install -Dm644 "../${pkgname}.ico" "${pkgdir}/usr/share/pixmaps/${pkgname}.ico" + install -Dm644 "../${pkgname}.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" + + # man page + install -Dm644 "../doc/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1" + + # documentation + install -Dm644 "../doc/${pkgname}.html" "${pkgdir}/usr/share/doc/${pkgname}/${pkgname}.html" + install -Dm644 "../doc/${pkgname}.pdf" "${pkgdir}/usr/share/doc/${pkgname}/${pkgname}.pdf" + cp -a ../doc/images "${pkgdir}/usr/share/doc/${pkgname}/" } Deleted: zynaddsubfx.svg =================================================================== --- zynaddsubfx.svg 2017-12-18 16:27:02 UTC (rev 274780) +++ zynaddsubfx.svg 2017-12-18 16:49:32 UTC (rev 274781) @@ -1,313 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - id="svg1" - sodipodi:version="0.32" - inkscape:version="0.48.2 r9819" - width="507.1875" - height="509.21875" - sodipodi:docname="zynaddsubfx_icon.svg" - version="1.1"> - <defs - id="defs3"> - <linearGradient - id="linearGradient4809"> - <stop - style="stop-color:#d5d8db;stop-opacity:1.0000000;" - offset="0.0000000" - id="stop4810" /> - <stop - style="stop-color:#6d8ec2;stop-opacity:1.0000000;" - offset="1.0000000" - id="stop4811" /> - </linearGradient> - <linearGradient - id="linearGradient4179"> - <stop - style="stop-color:#bec8c6;stop-opacity:1.0000000;" - offset="0.0000000" - id="stop4180" /> - <stop - style="stop-color:#bbcac9;stop-opacity:1.0000000;" - offset="0.59527779" - id="stop4182" /> - <stop - style="stop-color:#879797;stop-opacity:1.0000000;" - offset="1.0000000" - id="stop4181" /> - </linearGradient> - <linearGradient - id="linearGradient4038"> - <stop - style="stop-color:#4a8a61;stop-opacity:1.0000000;" - offset="0.0000000" - id="stop4039" /> - <stop - style="stop-color:#557c7d;stop-opacity:1.0000000;" - offset="1.0000000" - id="stop4040" /> - </linearGradient> - <linearGradient - id="linearGradient2162"> - <stop - style="stop-color:#549c6d;stop-opacity:1.0000000;" - offset="0.0000000" - id="stop2163" /> - <stop - style="stop-color:#679697;stop-opacity:1.0000000;" - offset="1.0000000" - id="stop2164" /> - </linearGradient> - <linearGradient - id="linearGradient2158"> - <stop - style="stop-color:#dbdbdb;stop-opacity:1.0000000;" - offset="0.0000000" - id="stop2159" /> - <stop - style="stop-color:#a1aec2;stop-opacity:1.0000000;" - offset="1.0000000" - id="stop2160" /> - </linearGradient> - <radialGradient - inkscape:collect="always" - xlink:href="#linearGradient2158" - id="radialGradient2165" - cx="205.28555" - cy="152.50184" - r="486.22545" - fx="198.52472" - fy="148.59325" - gradientTransform="matrix(0.99940285,0,0,1.0005975,-127.46875,-47)" - gradientUnits="userSpaceOnUse" /> - <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient4038" - id="linearGradient4043" - x1="119.48864" - y1="387.75519" - x2="462.45943" - y2="302.28432" - gradientTransform="scale(1.0666754,0.9374923)" - gradientUnits="userSpaceOnUse" /> - <radialGradient - inkscape:collect="always" - xlink:href="#linearGradient4809" - id="radialGradient4184" - cx="-6.2401056" - cy="138.19312" - r="63.0278" - fx="-5.4719041" - fy="137.48498" - spreadMethod="pad" - gradientUnits="userSpaceOnUse" - gradientTransform="scale(1.0322663,0.96874227)" /> - <radialGradient - inkscape:collect="always" - xlink:href="#linearGradient4809" - id="radialGradient3021" - gradientUnits="userSpaceOnUse" - spreadMethod="pad" - cx="-6.2401056" - cy="138.19312" - fx="-5.4719041" - fy="137.48498" - r="63.0278" - gradientTransform="scale(1.0322663,0.96874227)" /> - </defs> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="0.61399264" - inkscape:cx="305.35982" - inkscape:cy="328.83153" - inkscape:window-width="1278" - inkscape:window-height="760" - inkscape:window-x="0" - inkscape:window-y="19" - showguides="true" - inkscape:guide-bbox="true" - showgrid="false" - inkscape:snap-global="true" - inkscape:snap-nodes="true" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - inkscape:window-maximized="1" - inkscape:current-layer="svg1" /> - <metadata - id="metadata4"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <rect - style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.13874531pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - id="rect2793" - width="497.32657" - height="497.92426" - x="8.5265961" - y="9.9727058" - rx="10" - ry="10.000001" /> - <rect - style="fill:url(#radialGradient2165);fill-opacity:0.75;fill-rule:evenodd;stroke:#c7ffc7;stroke-width:2.67499995;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" - id="rect1532" - width="497.32657" - height="497.92426" - x="1.3287659" - y="1.3353081" - rx="10" - ry="10.000001" /> - <g - id="g4871" - transform="matrix(1,0,0,0.72153,-123.39704,-123.99862)"> - <rect - style="fill:url(#linearGradient4043);fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1.50865927pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - id="rect2794" - width="374.5567" - height="328.96643" - x="144.30453" - y="199.03429" - rx="10.000001" - ry="13.85943" /> - <path - style="fill:none;stroke:#fafafa;stroke-width:20;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" - d="m 153.53968,361.37008 c 70.53877,201.53936 110.35828,210.2256 177.45839,6.10757 66.67288,-202.81841 104.2451,-205.61109 176.22345,0.24698" - id="path4175" - sodipodi:nodetypes="czc" - inkscape:connector-curvature="0" /> - <path - style="fill:none;stroke:#000000;stroke-width:7.375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" - d="m 145.99255,362.80964 c 369.96869,0 369.3724,1.43957 369.3724,1.43957" - id="path4176" - sodipodi:nodetypes="cc" - inkscape:connector-curvature="0" /> - </g> - <g - id="g4852" - transform="matrix(-1.360555,0.352222,-0.352222,-1.360555,196.67455,583.0333)"> - <path - sodipodi:type="arc" - style="fill:url(#radialGradient3021);fill-opacity:0.75;fill-rule:evenodd;stroke:none" - id="path4853" - sodipodi:cx="16.555019" - sodipodi:cy="147.59439" - sodipodi:rx="46.785923" - sodipodi:ry="43.906792" - d="m 63.340942,147.59439 a 46.785923,43.906792 0 1 1 -93.571846,0 46.785923,43.906792 0 1 1 93.571846,0 z" - transform="matrix(1.045432,0,0,1.113986,-125.3003,-37.14836)" /> - <path - sodipodi:type="arc" - style="fill:none;stroke:#000000;stroke-width:11.85730171;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:11.857302, 23.714604;stroke-dashoffset:0" - id="path4854" - sodipodi:cx="16.555019" - sodipodi:cy="147.59439" - sodipodi:rx="46.785923" - sodipodi:ry="43.906792" - d="m 63.340942,147.59439 a 46.785923,43.906792 0 1 1 -93.571846,0 46.785923,43.906792 0 1 1 93.571846,0 z" - transform="matrix(1.162718,0.507361,-0.579194,1.268918,-39.94742,-66.78193)" /> - <path - style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none" - d="m -108.49675,123.27211 c 36.885113,-10.80173 39.904052,-12.46015 39.904052,-12.46015 l -33.461822,23.25931 -6.44223,-10.79916 z" - id="path4855" - sodipodi:nodetypes="cccc" - inkscape:connector-curvature="0" /> - </g> - <g - id="g4864" - transform="matrix(0.687211,0,0,0.854478,499.66235,-75.81607)"> - <rect - style="fill:#000000;fill-opacity:0.75;fill-rule:evenodd;stroke:none" - id="rect4856" - width="110.64801" - height="545.60913" - x="-136.40228" - y="109.76131" /> - <rect - style="fill:#00bc1a;fill-opacity:1;fill-rule:evenodd;stroke:none" - id="rect4857" - width="39.393082" - height="442.41235" - x="-128.61479" - y="205.44652" /> - <rect - style="fill:#00bc1a;fill-opacity:1;fill-rule:evenodd;stroke:none" - id="rect4858" - width="37.357227" - height="525.88245" - x="-74.664627" - y="120.64261" /> - <rect - style="fill:#000000;fill-opacity:0.17543862;fill-rule:evenodd;stroke:none" - id="rect4860" - width="95.883904" - height="12.21513" - x="-128.35823" - y="221.73334" /> - <rect - style="fill:#000000;fill-opacity:0.17543862;fill-rule:evenodd;stroke:none" - id="rect4862" - width="95.883904" - height="12.21513" - x="-129.37616" - y="563.75702" /> - <rect - style="fill:#000000;fill-opacity:0.17543862;fill-rule:evenodd;stroke:none" - id="rect4863" - width="95.883904" - height="12.21513" - x="-127.34029" - y="386.6376" /> - </g> - <g - id="g4875" - transform="matrix(-1.360555,0.352222,-0.352222,-1.360555,3.44525,587.1877)"> - <path - sodipodi:type="arc" - style="fill:url(#radialGradient4184);fill-opacity:0.75;fill-rule:evenodd;stroke:none" - id="path4876" - sodipodi:cx="16.555019" - sodipodi:cy="147.59439" - sodipodi:rx="46.785923" - sodipodi:ry="43.906792" - d="m 63.340942,147.59439 c 0,24.24905 -20.946771,43.90679 -46.785923,43.90679 -25.8391514,0 -46.785923,-19.65774 -46.785923,-43.90679 0,-24.24905 20.9467716,-43.90679 46.785923,-43.90679 25.839152,0 46.785923,19.65774 46.785923,43.90679 z" - transform="matrix(1.045432,0,0,1.113986,-125.3003,-37.14836)" /> - <path - sodipodi:type="arc" - style="fill:none;stroke:#000000;stroke-width:11.85730171;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:11.857302, 23.714604;stroke-dashoffset:0" - id="path4877" - sodipodi:cx="16.555019" - sodipodi:cy="147.59439" - sodipodi:rx="46.785923" - sodipodi:ry="43.906792" - d="m 63.340942,147.59439 c 0,24.24905 -20.946771,43.90679 -46.785923,43.90679 -25.8391514,0 -46.785923,-19.65774 -46.785923,-43.90679 0,-24.24905 20.9467716,-43.90679 46.785923,-43.90679 25.839152,0 46.785923,19.65774 46.785923,43.90679 z" - transform="matrix(1.162718,0.507361,-0.579194,1.268918,-39.94742,-66.78193)" /> - <path - style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none" - d="m -108.49675,123.27211 c 36.885113,-10.80173 39.904052,-12.46015 39.904052,-12.46015 l -33.461822,23.25931 -6.44223,-10.79916 z" - id="path4878" - sodipodi:nodetypes="cccc" - inkscape:connector-curvature="0" /> - </g> -</svg>
