[arch-commits] Commit in csoundqt/repos (2 files)
David Runge
dvzrv at gemini.archlinux.org
Thu Nov 18 23:15:47 UTC 2021
Date: Thursday, November 18, 2021 @ 23:15:47
Author: dvzrv
Revision: 1052729
archrelease: copy trunk to community-staging-x86_64
Added:
csoundqt/repos/community-staging-x86_64/
csoundqt/repos/community-staging-x86_64/PKGBUILD
(from rev 1052728, csoundqt/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: csoundqt/repos/community-staging-x86_64/PKGBUILD (from rev 1052728, csoundqt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-11-18 23:15:47 UTC (rev 1052729)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ainola
+# Contributor: rtfreedman
+
+_name=CsoundQt
+pkgname=csoundqt
+pkgver=0.9.8.1
+pkgrel=2
+epoch=1
+pkgdesc="A frontend for Csound"
+arch=(x86_64)
+url="https://csoundqt.github.io/"
+license=(CCPL FDL GPL LGPL2.1)
+groups=(pro-audio)
+depends=(csound-doc gcc-libs glibc hicolor-icon-theme qt5-base
+qt5-declarative qt5-webengine)
+makedepends=(csound rtmidi)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('e27590f7cc5802dce55f6b3f0f1b477a68a164c65636967d5a87c71d73b389c31db755c4029496c9ab61f40b1c03333afd34c56fa2026a4cae9a3de001d26023')
+b2sums=('633a2ee9961608154381f14172ebd7dec906419e4eea3c983f5870b355d3a1f41d262834ad234e2564c6b92ab939fe22d74a92056d6ad995aae73712ac27b0a2')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ qmake-qt5 qcs.pro \
+ SHARE_DIR="${pkgdir}/usr/share" \
+ INSTALL_DIR="${pkgdir}/usr" \
+ CONFIG+=rtmidi \
+ CONFIG+=html_webengine \
+ CONFIG+=record_support
+ make
+}
+
+package() {
+ depends+=(libcsnd6.so libcsound64.so librtmidi.so)
+
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ # docs
+ install -vDm 644 {ChangeLog,README.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
More information about the arch-commits
mailing list