[arch-commits] Commit in hm/repos/community-x86_64 (4 files)

Daniel Bermond dbermond at gemini.archlinux.org
Fri Oct 15 20:15:28 UTC 2021


    Date: Friday, October 15, 2021 @ 20:15:28
  Author: dbermond
Revision: 1030328

archrelease: copy trunk to community-x86_64

Added:
  hm/repos/community-x86_64/010-hm-disable-werror.patch
    (from rev 1030327, hm/trunk/010-hm-disable-werror.patch)
  hm/repos/community-x86_64/PKGBUILD
    (from rev 1030327, 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                    |  103 ++++++++++++++++++++----------------------
 2 files changed, 62 insertions(+), 63 deletions(-)

Deleted: 010-hm-disable-werror.patch
===================================================================
--- 010-hm-disable-werror.patch	2021-10-15 20:14:58 UTC (rev 1030327)
+++ 010-hm-disable-werror.patch	2021-10-15 20:15:28 UTC (rev 1030328)
@@ -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 1030327, hm/trunk/010-hm-disable-werror.patch)
===================================================================
--- 010-hm-disable-werror.patch	                        (rev 0)
+++ 010-hm-disable-werror.patch	2021-10-15 20:15:28 UTC (rev 1030328)
@@ -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	2021-10-15 20:14:58 UTC (rev 1030327)
+++ PKGBUILD	2021-10-15 20:15:28 UTC (rev 1030328)
@@ -1,52 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-
-pkgname=hm
-pkgver=16.23
-pkgrel=1
-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=('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"
-}
-
-build() {
-    cmake -B build -S "HM-HM-${pkgver}" \
-        -DCMAKE_BUILD_TYPE:STRING='Release' \
-        -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-        -DHIGH_BITDEPTH:BOOL='OFF' \
-        -Wno-dev
-    make -C build
-    
-    cmake -B build-highbit -S "HM-HM-${pkgver}-highbit" \
-        -DCMAKE_BUILD_TYPE:STRING='Release' \
-        -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-        -DHIGH_BITDEPTH:BOOL='ON' \
-        -Wno-dev
-    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 1030327, hm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-15 20:15:28 UTC (rev 1030328)
@@ -0,0 +1,51 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=hm
+pkgver=16.24
+pkgrel=1
+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"
+}



More information about the arch-commits mailing list