summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2017-06-20 18:25:08 +0200
committerDavide Pesavento <pesa@gentoo.org>2017-06-20 18:25:08 +0200
commit19982608ac700e43d912f4f555dddff7013d40bf (patch)
treeb538ae587a057326601f529733cc651791479c8c /media-gfx
parentdev-vcs/qgit: remove old (diff)
downloadgentoo-19982608ac700e43d912f4f555dddff7013d40bf.tar.gz
gentoo-19982608ac700e43d912f4f555dddff7013d40bf.tar.bz2
gentoo-19982608ac700e43d912f4f555dddff7013d40bf.zip
media-gfx/nomacs: remove old
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/nomacs/Manifest1
-rw-r--r--media-gfx/nomacs/files/nomacs-3.4-no-opencv.patch11
-rw-r--r--media-gfx/nomacs/nomacs-3.4-r1.ebuild75
3 files changed, 0 insertions, 87 deletions
diff --git a/media-gfx/nomacs/Manifest b/media-gfx/nomacs/Manifest
index 16f42432eca8..c9eb6c473486 100644
--- a/media-gfx/nomacs/Manifest
+++ b/media-gfx/nomacs/Manifest
@@ -1,2 +1 @@
-DIST nomacs-3.4.tar.gz 30026261 SHA256 552eda88aedea48831ce354095e3aad47892b4b5029f424171bedb68271c2a2f SHA512 67a1b57971dc373d5a3be75b7deaff6702893252568eef135903754b2465416a58b40f18f55cf2994c8c3853ae96b82506c1caf26b0e645c20179a9cd81c0d36 WHIRLPOOL f082d568ba56eaa1effc5e8552d16b816d558b7d4c2d7ddfd14a39f8805490d772116ca6ee35c8a38bd6b5fc69917287b7c596986f6a15b854bfebcbbe14304f
DIST nomacs-3.6.1.tar.gz 28604636 SHA256 09b289cac51a5fdccc02aa4a60405bbbd4b5bfdb6b2a52ca5b0cb3b0f7a87068 SHA512 cfbda2be5ed015a5ea39cc3c3c9273e3164bb67f0c5fd4fac0e3c607075cf67cfea2311b21420585363a841d65a53c03e100af57c209786243c2c3dcaba11f8e WHIRLPOOL 34125377dee0977ed6e48008d4d8e3ff461c39ab72e89c4dc3c3e8dd0eb0544da91db5a1cd1b38b1bad119a539a60664fd91cea90b21140042db06601d00604b
diff --git a/media-gfx/nomacs/files/nomacs-3.4-no-opencv.patch b/media-gfx/nomacs/files/nomacs-3.4-no-opencv.patch
deleted file mode 100644
index 698b45c6aced..000000000000
--- a/media-gfx/nomacs/files/nomacs-3.4-no-opencv.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/DkLoader/DkBasicLoader.h
-+++ b/src/DkLoader/DkBasicLoader.h
-@@ -258,7 +258,7 @@ class DllLoaderExport DkBasicLoader : public QObject {
- bool readHeader(const unsigned char** dataPtr, int& fileCount, int& vecSize) const;
- void getPatchSizeFromFileName(const QString& fileName, int& width, int& height) const;
- #else
-- bool loadOpenCVVecFile(const QString&, QSharedPointer<QByteArray> = QSharedPointer<QByteArray>(), QSize = QSize()) { return false; };
-+ bool loadOpenCVVecFile(const QString&, QImage&, QSharedPointer<QByteArray> = QSharedPointer<QByteArray>(), QSize = QSize()) { return false; };
- int mergeVecFiles(const QStringList&, QString&) const { return 0; };
- bool readHeader(const unsigned char**, int&, int&) const { return false; };
- void getPatchSizeFromFileName(const QString&, int&, int&) const {};
diff --git a/media-gfx/nomacs/nomacs-3.4-r1.ebuild b/media-gfx/nomacs/nomacs-3.4-r1.ebuild
deleted file mode 100644
index 6972c8f5f354..000000000000
--- a/media-gfx/nomacs/nomacs-3.4-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils fdo-mime
-
-DESCRIPTION="Qt-based image viewer"
-HOMEPAGE="http://www.nomacs.org/"
-SRC_URI="https://github.com/${PN}/${PN}/archive/3.4.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ~amd64-linux"
-IUSE="+jpeg opencv raw tiff zip"
-
-REQUIRED_USE="
- raw? ( opencv )
- tiff? ( opencv )
-"
-
-RDEPEND="
- dev-qt/qtconcurrent:5
- dev-qt/qtcore:5
- dev-qt/qtgui:5[jpeg?]
- dev-qt/qtnetwork:5
- dev-qt/qtprintsupport:5
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
- >=media-gfx/exiv2-0.25:=
- opencv? ( media-libs/opencv:=[-qt4(-)] )
- raw? ( >=media-libs/libraw-0.14:= )
- tiff? ( media-libs/tiff:0 )
- zip? ( >=dev-libs/quazip-0.7.2[qt5] )
-"
-DEPEND="${RDEPEND}
- dev-qt/linguist-tools:5
- virtual/pkgconfig
-"
-
-S="${WORKDIR}/${P}/ImageLounge"
-
-PATCHES=( "${FILESDIR}/${P}-no-opencv.patch" ) # bug 592134
-
-src_prepare() {
- default
-
- # fix build with quazip-0.7.2 - bug 598354
- sed -i -e "s/find_package(QuaZIP/find_package(QuaZip5/" cmake/Unix.cmake || die
- sed -e "s/include <quazip/&5/" \
- -i src/DkLoader/DkImageLoader.cpp \
- -i src/DkLoader/DkImageContainer.cpp \
- -i src/DkLoader/DkBasicLoader.cpp \
- -i src/DkGui/DkDialog.cpp || die
-
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_OPENCV=$(usex opencv)
- -DENABLE_RAW=$(usex raw)
- -DENABLE_TIFF=$(usex tiff)
- -DENABLE_QUAZIP=$(usex zip)
- -DUSE_SYSTEM_QUAZIP=ON
- )
- cmake-utils_src_configure
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}