[arch-commits] Commit in nomacs/repos/community-x86_64 (3 files)
Antonio Rojas
arojas at archlinux.org
Tue Nov 14 09:10:26 UTC 2017
Date: Tuesday, November 14, 2017 @ 09:10:25
Author: arojas
Revision: 266770
archrelease: copy trunk to community-x86_64
Added:
nomacs/repos/community-x86_64/PKGBUILD
(from rev 266768, nomacs/trunk/PKGBUILD)
nomacs/repos/community-x86_64/nomacs-no-coverage.patch
(from rev 266768, nomacs/trunk/nomacs-no-coverage.patch)
Deleted:
nomacs/repos/community-x86_64/PKGBUILD
--------------------------+
PKGBUILD | 72 ++++++++++++++++++++++-----------------------
nomacs-no-coverage.patch | 15 +++++++++
2 files changed, 51 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-14 09:10:23 UTC (rev 266769)
+++ PKGBUILD 2017-11-14 09:10:25 UTC (rev 266770)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: speps <speps at aur dot archlinux dot org>
-
-pkgname=nomacs
-pkgver=3.6.1
-_pluginver=be5886fab002d84963daab7820bd04f703e74b59
-pkgrel=3
-pkgdesc="A Qt image viewer"
-arch=(i686 x86_64)
-url="http://www.nomacs.org/"
-license=('GPL3')
-depends=('qt5-svg' 'exiv2' 'libraw' 'opencv')
-makedepends=('cmake' 'qt5-tools')
-source=("$pkgname-$pkgver::https://github.com/nomacs/nomacs/archive/$pkgver.tar.gz"
- "https://github.com/nomacs/nomacs-plugins/archive/$_pluginver.zip")
-md5sums=('67e2600b4a1c83e7b78d4d41f7c2f89f'
- 'b9ed0e229e87b8e4e6669276dc320a23')
-
-prepare() {
- mv nomacs-plugins-$_pluginver $pkgname-$pkgver/ImageLounge/plugins
- cd $pkgname-$pkgver
- [ -d b ] || mkdir b
-}
-
-build() {
- cd $pkgname-$pkgver/b
- cmake ../ImageLounge -DCMAKE_INSTALL_PREFIX=/usr
- make -j1
-}
-
-package() {
- cd $pkgname-$pkgver/b
- make DESTDIR="$pkgdir/" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: nomacs/repos/community-x86_64/PKGBUILD (from rev 266768, nomacs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-11-14 09:10:25 UTC (rev 266770)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=nomacs
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="A Qt image viewer"
+arch=(i686 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/nomacs/nomacs/archive/$pkgver.tar.gz"
+ nomacs-plugins-$pkgver.tar.gz::"https://github.com/nomacs/nomacs-plugins/archive/$pkgver.tar.gz"
+ nomacs-no-coverage.patch)
+sha256sums=('f43ad1507f2890db2fbaa0cb110de3ac5efe754cf2e7a053eaabfed4d5e06845'
+ '5a700b27990fb72ae8582e69143389d0cf9c9313f9b361348b9bb8339b3dabdc'
+ '7e825b93119055cae88960cb3bd1fbc2efc43f48d996eef01ee2ae3b569d3097')
+
+prepare() {
+ mv nomacs-plugins-$pkgver $pkgname-$pkgver/ImageLounge/plugins
+ cd $pkgname-$pkgver
+ mkdir -p build
+ patch -p1 -i ../nomacs-no-coverage.patch # Disable tests
+}
+
+build() {
+ cd $pkgname-$pkgver/build
+ cmake ../ImageLounge -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver/build
+ make DESTDIR="$pkgdir" install
+}
Copied: nomacs/repos/community-x86_64/nomacs-no-coverage.patch (from rev 266768, nomacs/trunk/nomacs-no-coverage.patch)
===================================================================
--- nomacs-no-coverage.patch (rev 0)
+++ nomacs-no-coverage.patch 2017-11-14 09:10:25 UTC (rev 266770)
@@ -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