Date: Sunday, January 29, 2023 @ 15:03:36
  Author: arojas
Revision: 467595

upgpkg: libde265 1.0.10-2: Fix pc file (FS#77310)

Modified:
  libde265/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-29 14:35:39 UTC (rev 467594)
+++ PKGBUILD    2023-01-29 15:03:36 UTC (rev 467595)
@@ -4,18 +4,25 @@
 
 pkgname=libde265
 pkgver=1.0.10
-pkgrel=1
-pkgdesc="Open h.265 video codec implementation"
+pkgrel=2
+pkgdesc='Open h.265 video codec implementation'
 arch=(x86_64)
-url="https://github.com/strukturag/libde265";
+url='https://github.com/strukturag/libde265'
 license=(LGPL3)
 depends=(gcc-libs)
 makedepends=(ffmpeg sdl qt5-base)
-optdepends=('ffmpeg: for sherlock265' 'qt5-base: for sherlock265'
+optdepends=('ffmpeg: for sherlock265'
+            'qt5-base: for sherlock265'
             'sdl: dec265 YUV overlay output')
-source=(https://github.com/strukturag/libde265/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('8761333dd823a30fe19668b5290686d5438e0448d0c7d2e81ad49a75741c34a4')
+source=(https://github.com/strukturag/libde265/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
+        https://github.com/strukturag/libde265/commit/388b6145.patch)
+sha256sums=('8761333dd823a30fe19668b5290686d5438e0448d0c7d2e81ad49a75741c34a4'
+            '5fdf96a39248d428f778c81a8a9ee380b0e613433d6bce29c388473a00955f3c')
 
+prepare() {
+  patch -d $pkgname-$pkgver -Rp1 < 388b6145.patch # Revert pc file breakage
+}
+
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr --enable-static=no

Reply via email to