[arch-commits] Commit in hm/trunk (010-hm-disable-werror.patch PKGBUILD)
Daniel Bermond
dbermond at archlinux.org
Fri Jun 25 22:44:22 UTC 2021
Date: Friday, June 25, 2021 @ 22:44:22
Author: dbermond
Revision: 967472
upgpkg: hm 16.23-1
Added:
hm/trunk/010-hm-disable-werror.patch
Modified:
hm/trunk/PKGBUILD
-----------------------------+
010-hm-disable-werror.patch | 11 +++++++++++
PKGBUILD | 10 ++++++----
2 files changed, 17 insertions(+), 4 deletions(-)
Added: 010-hm-disable-werror.patch
===================================================================
--- 010-hm-disable-werror.patch (rev 0)
+++ 010-hm-disable-werror.patch 2021-06-25 22:44:22 UTC (rev 967472)
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -68,7 +68,7 @@ endif()
+ # bb_enable_warnings( gcc -Wno-unused-variable )
+ # bb_enable_warnings( gcc-4.8 warnings-as-errors -Wno-unused-variable )
+ # for gcc 8.2:
+-bb_enable_warnings( gcc warnings-as-errors -Wno-sign-compare -Wno-class-memaccess)
++bb_enable_warnings( gcc -Wno-sign-compare -Wno-class-memaccess)
+
+ if( XCODE )
+ bb_enable_warnings( clang warnings-as-errors
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-25 22:42:23 UTC (rev 967471)
+++ PKGBUILD 2021-06-25 22:44:22 UTC (rev 967472)
@@ -1,7 +1,7 @@
# Maintainer: Daniel Bermond <dbermond at archlinux.org>
pkgname=hm
-pkgver=16.22
+pkgver=16.23
pkgrel=1
pkgdesc='HEVC Test Model - the reference software for HEVC'
arch=('x86_64')
@@ -9,10 +9,13 @@
license=('BSD')
depends=('gcc-libs')
makedepends=('cmake' 'lsb-release' 'openmp')
-source=("https://vcgit.hhi.fraunhofer.de/jct-vc/HM/-/archive/HM-${pkgver}/HM-HM-${pkgver}.tar.bz2")
-sha256sums=('b2863d480860a48472f6fe55f7488ccdaeaaac1a1ccc65b946ba643e0b6c8637')
+source=("https://vcgit.hhi.fraunhofer.de/jct-vc/HM/-/archive/HM-${pkgver}/HM-HM-${pkgver}.tar.bz2"
+ '010-hm-disable-werror.patch')
+sha256sums=('5157839199c089c1fe47454149839caac61bc37142c1356efaf2b7d89bdee3d5'
+ '26ed4fb40812ecfce04b1301dc159fb2a575ece22a3532fe991f72e0f4e9488a')
prepare() {
+ patch -d "HM-HM-${pkgver}" -Np1 -i "${srcdir}/010-hm-disable-werror.patch"
cp -a "HM-HM-${pkgver}" "HM-HM-${pkgver}-highbit"
}
@@ -44,7 +47,6 @@
install -D -m755 "HM-HM-${pkgver}-highbit/bin/${_file}" "${pkgdir}/usr/bin/${_file/Static/HighBitDepthStatic}"
done < <(find "HM-HM-${pkgver}-highbit/bin" -maxdepth 1 -type f -executable -print0 | sed -z "s|HM\-HM\-${pkgver}\-highbit/bin||")
- install -D -m644 "HM-HM-${pkgver}/README" -t "${pkgdir}/usr/share/doc/${pkgname}"
install -D -m644 "HM-HM-${pkgver}/doc"/*.pdf -t "${pkgdir}/usr/share/doc/${pkgname}"
install -D -m644 "HM-HM-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list