Created
March 16, 2023 05:40
-
-
Save eclairevoyant/656c05765a7b65d7b9617b13d8107684 to your computer and use it in GitHub Desktop.
carla-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 3dfcd5390c000e232bd32d856ee6208896e569fc Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?=C3=A9clairevoyant?= | |
<848000+eclairevoyant@users.noreply.github.com> | |
Date: Thu, 16 Mar 2023 01:35:31 -0400 | |
Subject: [PATCH] change carla to carla-git | |
--- | |
repos/community-x86_64/PKGBUILD | 24 +++++++++++++++--------- | |
1 file changed, 15 insertions(+), 9 deletions(-) | |
diff --git a/repos/community-x86_64/PKGBUILD b/repos/community-x86_64/PKGBUILD | |
index f8c32d48..3f7ac862 100644 | |
--- a/repos/community-x86_64/PKGBUILD | |
+++ b/repos/community-x86_64/PKGBUILD | |
@@ -3,10 +3,11 @@ | |
# Contributor: falkTX <falktx [at] gmail [dot] com> | |
_name=Carla | |
-pkgname=carla | |
+_pkgname=carla | |
+pkgname=carla-git | |
_commit=cccba489c15dbbdf80cb80366988fd7a7db769c1 # refs/tags/v2.5.3 | |
-pkgver=2.5.3 | |
-pkgrel=2 | |
+pkgver=2.5.1.r109.g21508c6f7 | |
+pkgrel=1 | |
pkgdesc="Audio Plugin Host" | |
arch=(x86_64) | |
url="https://kxstudio.linuxaudio.org/Applications:Carla" | |
@@ -42,20 +43,25 @@ optdepends=( | |
'vst-host: for the VST plugin' | |
) | |
provides=(dssi-host ladspa-host lv2-host vst-host vst3-host) | |
-source=(git+https://github.com/falkTX/$pkgname#tag=$_commit?signed) | |
+source=(git+https://github.com/falkTX/$_pkgname?signed) | |
sha512sums=('SKIP') | |
b2sums=('SKIP') | |
validpgpkeys=('62B11043D2F6EB6672D93103CDBAA37ABC74FBA0') # falkTX <falktx@falktx.com> | |
+pkgver() { | |
+ cd $_pkgname | |
+ git describe --long --tags | sed "s/\([^-]*-g\)/r\1/;s/-/./g;s/^v//" | |
+} | |
+ | |
prepare() { | |
- cd $pkgname | |
+ cd $_pkgname | |
# fix issues with python-pyqt5 | |
git cherry-pick -n 4151e160f1e9e03412c112fec54b5f1cde4c45de | |
} | |
build() { | |
- make features -C $pkgname | |
- make -C $pkgname | |
+ make features -C $_pkgname | |
+ make -C $_pkgname | |
} | |
package() { | |
@@ -70,8 +76,8 @@ package() { | |
libsndfile libsndfile.so | |
) | |
- make DEFAULT_QT=5 DESTDIR="$pkgdir" PREFIX=/usr install -C $pkgname | |
- install -vDm 644 $pkgname/README.md -t "$pkgdir/usr/share/doc/$pkgname/" | |
+ make DEFAULT_QT=5 DESTDIR="$pkgdir" PREFIX=/usr install -C $_pkgname | |
+ install -vDm 644 $_pkgname/README.md -t "$pkgdir/usr/share/doc/$_pkgname/" | |
find "$pkgdir" -type f -iname "*.so" -exec chmod +x {} + | |
} | |
# vim:set ts=2 sw=2 et: | |
-- | |
2.39.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment