[arch-commits] Commit in nomacs/repos (3 files)

David Runge dvzrv at archlinux.org
Mon Dec 4 12:38:40 UTC 2017


    Date: Monday, December 4, 2017 @ 12:38:39
  Author: dvzrv
Revision: 272115

archrelease: copy trunk to community-testing-x86_64

Added:
  nomacs/repos/community-testing-x86_64/
  nomacs/repos/community-testing-x86_64/PKGBUILD
    (from rev 272114, nomacs/trunk/PKGBUILD)
  nomacs/repos/community-testing-x86_64/nomacs-no-coverage.patch
    (from rev 272114, nomacs/trunk/nomacs-no-coverage.patch)

--------------------------+
 PKGBUILD                 |   41 +++++++++++++++++++++++++++++++++++++++++
 nomacs-no-coverage.patch |   15 +++++++++++++++
 2 files changed, 56 insertions(+)

Copied: nomacs/repos/community-testing-x86_64/PKGBUILD (from rev 272114, nomacs/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-12-04 12:38:39 UTC (rev 272115)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=nomacs
+pkgver=3.8.0
+pkgrel=2
+pkgdesc="A Qt image viewer"
+arch=('x86_64')
+url="https://www.nomacs.org/"
+license=('GPL3')
+depends=('qt5-svg' 'exiv2' 'libraw' 'opencv')
+makedepends=('cmake' 'qt5-tools')
+source=("${pkgname}-${pkgver}::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz"
+        "${pkgname}-plugins-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}-plugins/archive/${pkgver}.tar.gz"
+        "${pkgname}-no-coverage.patch")
+sha512sums=('90ffd1ea7f6d8e2f07b2b093ebc7cfec682f11b874d95e249f3d35a2ceb8b75e7a0c55f19c978231c3c8342abe5cb251359771fd90aa39b50ee0a6d1514e88e1'
+            '7fa43377a908912d0eafddd45734ff5698739fd9bee5e87b24a154ea448c81270087f22b61e89f95e71511b1d0ab5e3fceef567d34a4c64a41708df2313e6879'
+            '321308d9b7dbc5d2ffa00cecb6f20a66dd39767239bc87b6d8aec0997a2a65872e1447c6ea2527038a5e332f32962e1fa9e09c83b93cf34ac0e03733479b36bb')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+
+  # move plugins
+  mv "${srcdir}/${pkgname}-plugins-${pkgver}" "ImageLounge/plugins"
+
+  # disable code coverage:
+  # https://github.com/nomacs/nomacs/issues/170
+  patch -p1 -i "../${pkgname}-no-coverage.patch"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake ./ImageLounge -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: nomacs/repos/community-testing-x86_64/nomacs-no-coverage.patch (from rev 272114, nomacs/trunk/nomacs-no-coverage.patch)
===================================================================
--- community-testing-x86_64/nomacs-no-coverage.patch	                        (rev 0)
+++ community-testing-x86_64/nomacs-no-coverage.patch	2017-12-04 12:38:39 UTC (rev 272115)
@@ -0,0 +1,15 @@
+--- nomacs-3.8.0/ImageLounge/CMakeLists.txt.orig	2017-11-14 08:43:20.157769041 +0000
++++ nomacs-3.8.0/ImageLounge/CMakeLists.txt	2017-11-14 08:43:49.094497479 +0000
+@@ -22,12 +22,6 @@
+ set(NOMACS_VERSION ${NOMACS_VERSION_MAJOR}.${NOMACS_VERSION_MINOR})
+ set(NOMACS_FULL_VERSION ${NOMACS_VERSION}.${NOMACS_VERSION_PATCH})
+ 
+-# Codecov
+-if(CMAKE_COMPILER_IS_GNUCXX)
+-    include("cmake/CodeCoverage.cmake")
+-    setup_target_for_coverage(${PROJECT_NAME}_coverage tests coverage)
+-endif()
+-
+ if(CMAKE_CL_64)
+ 	SET(NMC_ARCHITECTURE "x64")
+ else()



More information about the arch-commits mailing list