diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/nomacs | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/nomacs')
-rw-r--r-- | media-gfx/nomacs/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/nomacs/files/nomacs-2.4.2-include.patch | 10 | ||||
-rw-r--r-- | media-gfx/nomacs/metadata.xml | 14 | ||||
-rw-r--r-- | media-gfx/nomacs/nomacs-2.4.2.ebuild | 55 | ||||
-rw-r--r-- | media-gfx/nomacs/nomacs-2.4.4.ebuild | 57 |
5 files changed, 138 insertions, 0 deletions
diff --git a/media-gfx/nomacs/Manifest b/media-gfx/nomacs/Manifest new file mode 100644 index 000000000000..8925a44092a0 --- /dev/null +++ b/media-gfx/nomacs/Manifest @@ -0,0 +1,2 @@ +DIST nomacs-2.4.2-source.tar.bz2 1443270 SHA256 b0f52b919025a48a0e0300ea15c90b40d6ad892b055088fca02a8137e229bc3a SHA512 e3fae11ae8c385f9548bda32b2364967a457e9645fa4375da9d1cf85dc8fb150a56a19c3eab12ddef90d58f20a57d02a8720ddb8fef22c569ab6c28d54654f02 WHIRLPOOL ac21dd3afe3b45324daa6e07030203611c9f2de4ad1427ce4bb388d84ade5e38a686b42e0d757adbaa3a91fbb658d94f9f47de61e9ccf4ccc339af4ce1c4fd8d +DIST nomacs-2.4.4-source.tar.bz2 1448716 SHA256 01b0cb48936ca0214c120a126069c50a9b8fe7ecbdb69bb4e5fe283d6b198257 SHA512 76cd5efaba09584757843e895b5b8293adcdab7df68a7d5bdcf38e9e5df04e38382944cf64293c9820815b9e6328793dd8e46afef5ffeaa80ddc4f7d43290fc2 WHIRLPOOL d858887f66cbbed858c1985313107839a8162052bfb825bc48f344516444a1e184e839c9a067283d7503b98a6993126ade3f39c0a85b50ca534f963335c85513 diff --git a/media-gfx/nomacs/files/nomacs-2.4.2-include.patch b/media-gfx/nomacs/files/nomacs-2.4.2-include.patch new file mode 100644 index 000000000000..abf3d406ce5e --- /dev/null +++ b/media-gfx/nomacs/files/nomacs-2.4.2-include.patch @@ -0,0 +1,10 @@ +--- src/DkMath.h ++++ src/DkMath.h +@@ -29,6 +29,7 @@ +
+ #pragma warning(push, 0) // no warnings from includes - begin
+ #include <cmath>
++#include <float.h>
+ #include <QDebug>
+ #include <QPointF>
+ #include <QPolygonF>
diff --git a/media-gfx/nomacs/metadata.xml b/media-gfx/nomacs/metadata.xml new file mode 100644 index 000000000000..0025d46170c3 --- /dev/null +++ b/media-gfx/nomacs/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>qt</herd> + <upstream> + <remote-id type="sourceforge">nomacs</remote-id> + <bugs-to>http://www.nomacs.org/redmine/projects/nomacs</bugs-to> + </upstream> + <use> + <flag name="opencv">Build support for <pkg>media-libs/opencv</pkg></flag> + <flag name="webp">Build support for WEBP image format</flag> + <flag name="zip">Build support for zip archives</flag> + </use> +</pkgmetadata> diff --git a/media-gfx/nomacs/nomacs-2.4.2.ebuild b/media-gfx/nomacs/nomacs-2.4.2.ebuild new file mode 100644 index 000000000000..b3ef73bdc759 --- /dev/null +++ b/media-gfx/nomacs/nomacs-2.4.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils fdo-mime + +DESCRIPTION="Qt4-based image viewer" +HOMEPAGE="http://www.nomacs.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~amd64-linux" +IUSE="opencv raw tiff webp zip" + +REQUIRED_USE="raw? ( opencv ) tiff? ( opencv )" + +RDEPEND=" + >=media-gfx/exiv2-0.20[zlib] + >=dev-qt/qtcore-4.7.0:4 + >=dev-qt/qtgui-4.7.0:4 + opencv? ( >=media-libs/opencv-2.4.0[qt4] ) + raw? ( >=media-libs/libraw-0.14 ) + tiff? ( media-libs/tiff:0= ) + webp? ( >=media-libs/libwebp-0.3.1:= ) + zip? ( dev-libs/quazip ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}/${P}-include.patch" ) + +src_configure() { + local mycmakeargs=( + -DUSE_SYSTEM_WEBP=true + -DUSE_SYSTEM_QUAZIP=true + $(cmake-utils_use_enable opencv) + $(cmake-utils_use_enable raw) + $(cmake-utils_use_enable tiff) + $(cmake-utils_use_enable webp) + $(cmake-utils_use_enable zip QUAZIP) + ) + cmake-utils_src_configure +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/media-gfx/nomacs/nomacs-2.4.4.ebuild b/media-gfx/nomacs/nomacs-2.4.4.ebuild new file mode 100644 index 000000000000..dee2bc0a009b --- /dev/null +++ b/media-gfx/nomacs/nomacs-2.4.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils fdo-mime + +DESCRIPTION="Qt4-based image viewer" +HOMEPAGE="http://www.nomacs.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~amd64-linux" +IUSE="opencv raw tiff webp zip" + +REQUIRED_USE=" + raw? ( opencv ) + tiff? ( opencv ) +" + +RDEPEND=" + dev-qt/qtcore:4 + dev-qt/qtgui:4 + >=media-gfx/exiv2-0.20:=[zlib] + opencv? ( >=media-libs/opencv-2.4:=[qt4] ) + raw? ( >=media-libs/libraw-0.14:= ) + tiff? ( media-libs/tiff:0 ) + webp? ( >=media-libs/libwebp-0.3.1:= ) + zip? ( dev-libs/quazip ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DENABLE_QT5=OFF + $(cmake-utils_use_enable opencv) + $(cmake-utils_use_enable raw) + $(cmake-utils_use_enable tiff) + $(cmake-utils_use_enable webp) + $(cmake-utils_use_enable zip QUAZIP) + -DUSE_SYSTEM_WEBP=ON + -DUSE_SYSTEM_QUAZIP=ON + ) + cmake-utils_src_configure +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |