diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-20 14:00:22 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-20 14:00:22 +0200 |
commit | 947eed602128a5f944808848471aa8401c6871d5 (patch) | |
tree | a67ce2be9de6770f3542d3b0782e276ecd601175 /media-gfx | |
parent | kde-misc/kover: Import from Gentoo ebuild repository (diff) | |
download | kde-sunset-947eed602128a5f944808848471aa8401c6871d5.tar.gz kde-sunset-947eed602128a5f944808848471aa8401c6871d5.tar.bz2 kde-sunset-947eed602128a5f944808848471aa8401c6871d5.zip |
media-gfx/kfax: Import from Gentoo ebuild repository
Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --force
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/kfax/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/kfax/files/kfax-3.3.6-kde45.patch | 12 | ||||
-rw-r--r-- | media-gfx/kfax/files/kfax-3.3.6-underlinking.patch | 12 | ||||
-rw-r--r-- | media-gfx/kfax/kfax-3.3.6-r1.ebuild | 38 | ||||
-rw-r--r-- | media-gfx/kfax/metadata.xml | 5 |
5 files changed, 68 insertions, 0 deletions
diff --git a/media-gfx/kfax/Manifest b/media-gfx/kfax/Manifest new file mode 100644 index 00000000..d45c3c1b --- /dev/null +++ b/media-gfx/kfax/Manifest @@ -0,0 +1 @@ +DIST kfax-3.3.6-kde4.4.0.tar.bz2 311468 BLAKE2B 811ed2846096a50772868f7585cbc0c0c26f253e4304086580e31a43b2a79f1f26cd870da8f8c4433245b70d936d8e31e7a27be11019dff2f37a693e9c35c79e SHA512 a4e0cf2696878a74f190e3cf040c76c3f7c07c296b8aa4f5d80d52275e9af239e01d90b9d7965b3bbe081f81ece661d1339183ca1f6e2cb326da7ed46ee4a0f1 diff --git a/media-gfx/kfax/files/kfax-3.3.6-kde45.patch b/media-gfx/kfax/files/kfax-3.3.6-kde45.patch new file mode 100644 index 00000000..60bedf09 --- /dev/null +++ b/media-gfx/kfax/files/kfax-3.3.6-kde45.patch @@ -0,0 +1,12 @@ +diff -ru kfax-3.3.6-kde4.4.0.orig/kfax.cpp kfax-3.3.6-kde4.4.0/kfax.cpp +--- kfax-3.3.6-kde4.4.0.orig/kfax.cpp 2010-02-11 21:52:12.000000000 +0100 ++++ kfax-3.3.6-kde4.4.0/kfax.cpp 2010-11-14 00:13:21.386377691 +0100 +@@ -829,7 +829,7 @@ + statusbar->showMessage( i18n( "Saving..." ) ); + + KUrl source(thispage->pathname); +- KIO::FileCopyJob *job = KIO::file_copy(source, dest,KIO::Overwrite | KIO::HideProgressInfo); ++ KIO::FileCopyJob *job = KIO::file_copy(source, dest, -1, KIO::Overwrite | KIO::HideProgressInfo); + bool ok = job->exec(); + statusbar->clearMessage(); + diff --git a/media-gfx/kfax/files/kfax-3.3.6-underlinking.patch b/media-gfx/kfax/files/kfax-3.3.6-underlinking.patch new file mode 100644 index 00000000..70130895 --- /dev/null +++ b/media-gfx/kfax/files/kfax-3.3.6-underlinking.patch @@ -0,0 +1,12 @@ +diff -ruN kfax-3.3.6-kde4.4.0.orig/CMakeLists.txt kfax-3.3.6-kde4.4.0/CMakeLists.txt +--- kfax-3.3.6-kde4.4.0.orig/CMakeLists.txt 2010-02-11 21:59:47.000000000 +0100 ++++ kfax-3.3.6-kde4.4.0/CMakeLists.txt 2011-08-11 21:33:15.262295828 +0200 +@@ -12,7 +12,7 @@ + + kde4_add_executable(kfax ${kfax_SRCS}) + +-target_link_libraries(kfax ${KDE4_KIO_LIBS} ${QT_QT3SUPPORT_LIBRARY} ) ++target_link_libraries(kfax ${KDE4_KIO_LIBS} ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES}) + + install(TARGETS kfax ${INSTALL_TARGETS_DEFAULT_ARGS} ) + diff --git a/media-gfx/kfax/kfax-3.3.6-r1.ebuild b/media-gfx/kfax/kfax-3.3.6-r1.ebuild new file mode 100644 index 00000000..775e362c --- /dev/null +++ b/media-gfx/kfax/kfax-3.3.6-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +KDE_LINGUAS="af ar be bg br ca ca@valencia cs cy da de el en_GB eo es et eu fa +fi fr ga gl he hi hr hu is it ja km ko lt lv mai mk ms nb nds ne nl nn oc +pa pl pt pt_BR ro ru se sk sl sv ta tg th tr uk vi wa xh zh_CN zh_HK zh_TW" +KDE_DOC_DIRS="doc-translations/%lingua_${PN}" +KDE_HANDBOOK="optional" +QT3SUPPORT_REQUIRED="true" +inherit kde4-base + +KDE_VERSION=4.4.0 +MY_P=${P}-kde${KDE_VERSION} + +DESCRIPTION="A fax file viewer" +HOMEPAGE="https://www.kde.org/" +SRC_URI="mirror://kde/stable/${KDE_VERSION}/src/extragear/${MY_P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="4" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=" + x11-libs/libX11 +" +DEPEND="${RDEPEND} + x11-base/xorg-proto +" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}/${P}-kde45.patch" + "${FILESDIR}/${P}-underlinking.patch" +) diff --git a/media-gfx/kfax/metadata.xml b/media-gfx/kfax/metadata.xml new file mode 100644 index 00000000..6f49eba8 --- /dev/null +++ b/media-gfx/kfax/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |