git » ardour.git » commit 827e230

upgpkg: 8.2-3

author David Runge
2024-02-17 20:38:44 UTC
committer David Runge
2024-02-17 20:38:44 UTC
parent 23676fefdda34ef1cdb13ce59477cbd755542d2c

upgpkg: 8.2-3

Rebuild against taglib1 as ardour shows issues upon export with taglib >= 2.0.

.SRCINFO +3 -6
PKGBUILD +5 -10
taglib-2.patch +0 -13

diff --git a/.SRCINFO b/.SRCINFO
index a11e9b8..9d088b1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = ardour
 	pkgdesc = Professional-grade digital audio workstation
 	pkgver = 8.2
-	pkgrel = 2
+	pkgrel = 3
 	url = https://ardour.org/
 	arch = x86_64
 	groups = pro-audio
@@ -63,7 +63,7 @@ pkgbase = ardour
 	depends = libsigc++
 	depends = libx11
 	depends = sh
-	depends = taglib
+	depends = taglib1
 	optdepends = harvid: for video timeline and MP3 export
 	optdepends = new-session-manager: for session management
 	optdepends = xjadeo: for video monitoring
@@ -77,17 +77,14 @@ pkgbase = ardour
 	source = ardour-midi-8.2.zip::http://stuff.ardour.org/loops/ArdourBundledMedia.zip
 	source = ardour-7.0-re-vendor_qm-dsp.patch
 	source = ardour-8.2-revendor_libaaf.patch
-	source = taglib-2.patch
 	sha512sums = SKIP
 	sha512sums = 94b681f989e834f5de25ce87da9c174b11d90617063f8c96147d7eb470391b35f6d54b85de16da8d963cacb01b50d1c1fab0fddd18eb3b086fe17124ecfa4f65
 	sha512sums = a3da14925bc25d8a57ba3e137c4b2b04010054667ac4ae2aec116ce6c157b03c9dd76bf4d73c313022282362d19b91683f062d6ab2ee0c73a576d3fa6272bd1d
 	sha512sums = 29e5ded8860f09ab477b2e198175e2efac406799a5de6711944c23cf6e8940d56d94120dae57d42cb57baf5cffbd2c880340655722a7f31c6a2ac3b81fac73ed
-	sha512sums = 74b1c7759271f4c3b103195147a3649ec99056b49e897063977b3bce6c1f714526fa3f1a925186fe21c2d5c12af0455413ee879d07380613908873c85a56d089
 	b2sums = SKIP
 	b2sums = e31be6b51a217e2f7f799aa1d6e8c3cd024d80ab2d8d4371496a2b8bf0215749979217b565909841a346d6b3128fbfd674d2fae64b9fe741a5b418cd184c23be
 	b2sums = 73845adce9a48938cd7aef5fbc65f492e470de316620d278365d247c80caef44531e850fbd3d2f5de65a8562e67aabfd982c938439bd3670726a27bc003be017
 	b2sums = b3c1257d26eb89193b255c773b6a19de247056282dfffdf1d3c450600baab5671b0a7a3010870ac219e744250fedca742d9fde8b510b454730d4c4cbfa876502
-	b2sums = 1c2137970933c36c9580e9ebc66d9fb09919790c31afb325d94a4775aa2fd78d2d25ddadf7946749920eea43c0905853d39360e1ce749f0547834b99736b32ad
 
 pkgname = ardour
 	depends = cairo
@@ -98,7 +95,7 @@ pkgname = ardour
 	depends = libsigc++
 	depends = libx11
 	depends = sh
-	depends = taglib
+	depends = taglib1
 	depends = alsa-lib
 	depends = libasound.so
 	depends = atkmm
diff --git a/PKGBUILD b/PKGBUILD
index cbee390..c647f20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 pkgname=ardour
 pkgver=8.2
 _commit=92d6cb993391a37dcf3bd494707117ed63a4e7c4  # refs/tags/8.2^{}
-pkgrel=2
+pkgrel=3
 pkgdesc="Professional-grade digital audio workstation"
 arch=(x86_64)
 url="https://ardour.org/"
@@ -25,7 +25,7 @@ depends=(
   libsigc++
   libx11
   sh
-  taglib
+  taglib1
 )
 makedepends=(
   atkmm
@@ -92,19 +92,16 @@ source=(
   $pkgname-midi-$pkgver.zip::http://stuff.ardour.org/loops/ArdourBundledMedia.zip
   $pkgname-7.0-re-vendor_qm-dsp.patch
   $pkgname-8.2-revendor_libaaf.patch
-  taglib-2.patch
 )
 noextract=($pkgname-midi-$pkgver.zip)
 sha512sums=('SKIP'
             '94b681f989e834f5de25ce87da9c174b11d90617063f8c96147d7eb470391b35f6d54b85de16da8d963cacb01b50d1c1fab0fddd18eb3b086fe17124ecfa4f65'
             'a3da14925bc25d8a57ba3e137c4b2b04010054667ac4ae2aec116ce6c157b03c9dd76bf4d73c313022282362d19b91683f062d6ab2ee0c73a576d3fa6272bd1d'
-            '29e5ded8860f09ab477b2e198175e2efac406799a5de6711944c23cf6e8940d56d94120dae57d42cb57baf5cffbd2c880340655722a7f31c6a2ac3b81fac73ed'
-            '74b1c7759271f4c3b103195147a3649ec99056b49e897063977b3bce6c1f714526fa3f1a925186fe21c2d5c12af0455413ee879d07380613908873c85a56d089')
+            '29e5ded8860f09ab477b2e198175e2efac406799a5de6711944c23cf6e8940d56d94120dae57d42cb57baf5cffbd2c880340655722a7f31c6a2ac3b81fac73ed')
 b2sums=('SKIP'
         'e31be6b51a217e2f7f799aa1d6e8c3cd024d80ab2d8d4371496a2b8bf0215749979217b565909841a346d6b3128fbfd674d2fae64b9fe741a5b418cd184c23be'
         '73845adce9a48938cd7aef5fbc65f492e470de316620d278365d247c80caef44531e850fbd3d2f5de65a8562e67aabfd982c938439bd3670726a27bc003be017'
-        'b3c1257d26eb89193b255c773b6a19de247056282dfffdf1d3c450600baab5671b0a7a3010870ac219e744250fedca742d9fde8b510b454730d4c4cbfa876502'
-        '1c2137970933c36c9580e9ebc66d9fb09919790c31afb325d94a4775aa2fd78d2d25ddadf7946749920eea43c0905853d39360e1ce749f0547834b99736b32ad')
+        'b3c1257d26eb89193b255c773b6a19de247056282dfffdf1d3c450600baab5671b0a7a3010870ac219e744250fedca742d9fde8b510b454730d4c4cbfa876502')
 
 pkgver() {
   cd $pkgname
@@ -118,9 +115,6 @@ prepare() {
   # use vendored libaaf, as upstream is completely out-of-sync and would require a lot of patching on both sides
   patch -Np1 -d $pkgname -i ../$pkgname-8.2-revendor_libaaf.patch
 
-  # Fix build with taglib 2
-  patch -d $pkgname -p1 < taglib-2.patch
-
   cd $pkgname
   # unsetting gtk2 rc (FS#54389)
   sed -e '8iexport GTK2_RC_FILES=/dev/null' -i gtk2_ardour/ardour.sh.in
@@ -154,6 +148,7 @@ build() {
 
   cd $pkgname
   export LINKFLAGS="$LDFLAGS"
+  export PKG_CONFIG_PATH=/usr/lib/taglib1/pkgconfig
   waf configure "${waf_configure_options[@]}"
   waf build -v
 }
diff --git a/taglib-2.patch b/taglib-2.patch
deleted file mode 100644
index 76ed177..0000000
--- a/taglib-2.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/libs/ardour/audiofile_tagger.cc b/libs/ardour/audiofile_tagger.cc
-index 591b8e9238..47b2433936 100644
---- a/libs/ardour/audiofile_tagger.cc
-+++ b/libs/ardour/audiofile_tagger.cc
-@@ -34,6 +34,8 @@
- #include <taglib/taglib.h>
- #include <taglib/xiphcomment.h>
- 
-+#include <iostream>
-+
- /* Convert string to TagLib::String */
- #define TL_STR(string) TagLib::String ((string).c_str(), TagLib::String::UTF8)
-