[arch-commits] Commit in hm/repos/community-x86_64 (4 files)
Daniel Bermond
dbermond at gemini.archlinux.org
Sat Mar 12 03:47:13 UTC 2022
Date: Saturday, March 12, 2022 @ 03:47:12
Author: dbermond
Revision: 1149767
archrelease: copy trunk to community-x86_64
Added:
hm/repos/community-x86_64/010-hm-disable-werror.patch
(from rev 1149766, hm/trunk/010-hm-disable-werror.patch)
hm/repos/community-x86_64/PKGBUILD
(from rev 1149766, hm/trunk/PKGBUILD)
Deleted:
hm/repos/community-x86_64/010-hm-disable-werror.patch
hm/repos/community-x86_64/PKGBUILD
-----------------------------+
010-hm-disable-werror.patch | 22 ++++----
PKGBUILD | 105 +++++++++++++++++++++---------------------
2 files changed, 65 insertions(+), 62 deletions(-)
Deleted: 010-hm-disable-werror.patch
===================================================================
--- 010-hm-disable-werror.patch 2022-03-12 03:46:42 UTC (rev 1149766)
+++ 010-hm-disable-werror.patch 2022-03-12 03:47:12 UTC (rev 1149767)
@@ -1,11 +0,0 @@
---- 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
Copied: hm/repos/community-x86_64/010-hm-disable-werror.patch (from rev 1149766, hm/trunk/010-hm-disable-werror.patch)
===================================================================
--- 010-hm-disable-werror.patch (rev 0)
+++ 010-hm-disable-werror.patch 2022-03-12 03:47:12 UTC (rev 1149767)
@@ -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
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-12 03:46:42 UTC (rev 1149766)
+++ PKGBUILD 2022-03-12 03:47:12 UTC (rev 1149767)
@@ -1,51 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-
-pkgname=hm
-pkgver=16.24
-pkgrel=2
-pkgdesc='HEVC Test Model - the reference software for HEVC'
-arch=('x86_64')
-url='https://hevc.hhi.fraunhofer.de/'
-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"
- '010-hm-disable-werror.patch')
-sha256sums=('560e750cefe2ad0edae0687735ae3a4d8f34d033809775af70efdbfcf85fcba2'
- '26ed4fb40812ecfce04b1301dc159fb2a575ece22a3532fe991f72e0f4e9488a')
-
-prepare() {
- patch -d "HM-HM-${pkgver}" -Np1 -i "${srcdir}/010-hm-disable-werror.patch"
- cp -a "HM-HM-${pkgver}"{,-highbit}
-}
-
-build() {
- local -a _common_opts=(
- '-DCMAKE_BUILD_TYPE:STRING=Release'
- '-DCMAKE_INSTALL_PREFIX:PATH=/usr'
- '-Wno-dev')
-
- cmake -B build -S "HM-HM-${pkgver}" "$_common_opts" -DHIGH_BITDEPTH:BOOL='OFF'
- make -C build
-
- cmake -B build-highbit -S "HM-HM-${pkgver}-highbit" "$_common_opts" -DHIGH_BITDEPTH:BOOL='ON'
- make -C build-highbit
-}
-
-package() {
- local _file
- while read -r -d '' _file
- do
- install -D -m755 "$_file" -t "${pkgdir}/usr/bin"
- done < <(find "HM-HM-${pkgver}/bin" -maxdepth 1 -type f -executable -print0)
-
- while read -r -d '' _file
- do
- 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}/doc"/*.pdf -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -D -m644 "HM-HM-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: hm/repos/community-x86_64/PKGBUILD (from rev 1149766, hm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-12 03:47:12 UTC (rev 1149767)
@@ -0,0 +1,54 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=hm
+pkgver=16.24
+pkgrel=3
+pkgdesc='HEVC Test Model - the reference software for HEVC'
+arch=('x86_64')
+url='https://hevc.hhi.fraunhofer.de/'
+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"
+ '010-hm-disable-werror.patch')
+sha256sums=('560e750cefe2ad0edae0687735ae3a4d8f34d033809775af70efdbfcf85fcba2'
+ '26ed4fb40812ecfce04b1301dc159fb2a575ece22a3532fe991f72e0f4e9488a')
+
+prepare() {
+ patch -d "HM-HM-${pkgver}" -Np1 -i "${srcdir}/010-hm-disable-werror.patch"
+ cp -a "HM-HM-${pkgver}"{,-highbit}
+}
+
+build() {
+ # fix kvazaar tests
+ export CXXFLAGS+=' -Wp,-U_GLIBCXX_ASSERTIONS'
+
+ local -a _common_opts=(
+ '-DCMAKE_BUILD_TYPE:STRING=Release'
+ '-DCMAKE_INSTALL_PREFIX:PATH=/usr'
+ '-Wno-dev')
+
+ cmake -B build -S "HM-HM-${pkgver}" "$_common_opts" -DHIGH_BITDEPTH:BOOL='OFF'
+ make -C build
+
+ cmake -B build-highbit -S "HM-HM-${pkgver}-highbit" "$_common_opts" -DHIGH_BITDEPTH:BOOL='ON'
+ make -C build-highbit
+}
+
+package() {
+ local _file
+ while read -r -d '' _file
+ do
+ install -D -m755 "$_file" -t "${pkgdir}/usr/bin"
+ done < <(find "HM-HM-${pkgver}/bin" -maxdepth 1 -type f -executable -print0)
+
+ while read -r -d '' _file
+ do
+ 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}/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