commit:     db822d7cb6f2cec1086d946f5376474b49902ca6
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Fri Apr  3 00:28:52 2020 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Apr  3 00:28:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db822d7c

app-misc/doublecmd-bin: new package

Double Commander is a free cross platform open source file manager
with two panels side by side. It is inspired by Total Commander
and features some new ideas.

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 app-misc/doublecmd-bin/Manifest                   |  4 ++
 app-misc/doublecmd-bin/doublecmd-bin-0.9.8.ebuild | 66 +++++++++++++++++++++++
 app-misc/doublecmd-bin/files/doublecmd.xml        |  7 +++
 app-misc/doublecmd-bin/metadata.xml               | 15 ++++++
 4 files changed, 92 insertions(+)

diff --git a/app-misc/doublecmd-bin/Manifest b/app-misc/doublecmd-bin/Manifest
new file mode 100644
index 0000000..05ff92e
--- /dev/null
+++ b/app-misc/doublecmd-bin/Manifest
@@ -0,0 +1,4 @@
+DIST doublecmd-0.9.8.gtk2.i386.tar.xz 7355960 BLAKE2B 
21f2e9c615f7a16ae27bdfbe34126e6ea3f8fa0273299a42c33e95ae637bc9472c8249854daa1916549554d4eb9b2d796c01b339592b88402c1624babbac626e
 SHA512 
3b4f068f4a979a791a98f5605450de7205180f0f43f8a33e784245c5e061ae017161de39093b3ef5f4d24db372b75245ec5d9a50ea2d3d977f570a8c04fd8a1e
+DIST doublecmd-0.9.8.gtk2.x86_64.tar.xz 8608936 BLAKE2B 
8a00fa619312e11c382c7ea0beea6ab3366672d5848ac1de3f6f29cac038a756ad8670e9369d4f8bb572f1c1fba3785ec73f48dd5226cfaf53e57ebab015c0e6
 SHA512 
bd82826b2658fb12f2fe1a28f7c3f1d9c429bc1c60d3e6773b159c4dc1ba1bb2fdd2e89b52e686ab90b2accf7aa6c8379cfcf4f9b6f21f6956f402d721211b03
+DIST doublecmd-0.9.8.qt5.i386.tar.xz 7764336 BLAKE2B 
298882bb2659625438e2975a92ae6de30f47afd6d9f3b5c7761b0ba1d26067e46c02204186ed111c56a1e8e954682310fe1be8c174ab60244ab7424d3b70ee8c
 SHA512 
fd84028a3f3ef9cda94b70e9f396f42037915d56a9696ca0048beab12edf890576f092fca2601b0e3d3b02475c57edf828457c8278b9c9f821184083fed4f025
+DIST doublecmd-0.9.8.qt5.x86_64.tar.xz 8611472 BLAKE2B 
69de983fb90b15826082882840b74d8a25efeb1477090c5e2697f52439c3bf041f247b4b472b22c7ec662ea75c6f275cd060b90dffbfd9ab6088394ea33b91de
 SHA512 
eb3678ac5037052f9602357a52e4b596f6c5e17fcc1783dc83a76dab0dd7fb6cb1928b21f1c343e4c8810e96e3ad3f243f3ae45b39c07dc708beb3f05c9aa245

diff --git a/app-misc/doublecmd-bin/doublecmd-bin-0.9.8.ebuild 
b/app-misc/doublecmd-bin/doublecmd-bin-0.9.8.ebuild
new file mode 100644
index 0000000..12ba314
--- /dev/null
+++ b/app-misc/doublecmd-bin/doublecmd-bin-0.9.8.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils
+
+MY_PN="doublecmd"
+DESCRIPTION="Free cross platform open source file manager with two panels side 
by side."
+HOMEPAGE="http://doublecmd.sourceforge.net/";
+
+SRC_URI="amd64? ( gtk? ( 
mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.gtk2.x86_64.tar.xz )
+               qt5?  ( 
mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.qt5.x86_64.tar.xz ) )
+       x86? ( gtk? ( 
mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.gtk2.i386.tar.xz )
+               qt5?  ( 
mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.qt5.i386.tar.xz ) )"
+
+# Licenses for package and plugins
+LICENSE="GPL-2+ LGPL-2-with-linking-exception LGPL-2.1+ LGPL-3 GPL-1 freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="gtk qt5"
+REQUIRED_USE=" ^^ ( gtk qt5 ) "
+
+RESTRICT="mirror"
+
+S="${WORKDIR}/${MY_PN}"
+
+QA_PREBUILT="
+       */doublecmd
+       */libQt5Pas.so.1
+"
+
+## "ldd doublecmd" output show linking to some libraries provided by 
sys-libs/glibc:2.2
+## (maybe virtual/libc-1) and no libraries of sys-libs/ncurses (that removed 
here).
+## x11-libs/X11 is optional dependency of dev-qt/qtgui:5 by [xcb] or [X]
+## therefore it is mentioned here explicitly.
+RDEPEND="
+       dev-libs/glib:2
+       sys-apps/dbus
+       x11-libs/libX11
+       virtual/libc
+       gtk? ( x11-libs/gtk+:2 )
+       qt5? (
+               dev-qt/qtgui:5
+               dev-qt/qtx11extras:5
+       )
+"
+
+src_prepare(){
+       default
+       ## Create partial init config that allows to store config within user 
home directory
+       cp "${FILESDIR}/doublecmd.xml" "${S}/"
+}
+
+src_install(){
+       insinto "/opt/${PN}"
+       doins -r "${S}/."
+
+       exeinto "/opt/${PN}"
+       doexe "${S}/${MY_PN}"
+       doexe "${S}/${MY_PN}.sh"
+
+       doicon -s 48 ${MY_PN}.png
+       make_desktop_entry "/opt/${PN}/${MY_PN}.sh" "Double Commander" 
"${MY_PN}" "Utility;" || die "Failed making desktop entry!"
+}

diff --git a/app-misc/doublecmd-bin/files/doublecmd.xml 
b/app-misc/doublecmd-bin/files/doublecmd.xml
new file mode 100644
index 0000000..b4bb7cf
--- /dev/null
+++ b/app-misc/doublecmd-bin/files/doublecmd.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+       <doublecmd DCVersion="0.9.6 beta" ConfigVersion="10">
+               <Configuration Save="True" SortOrder="1" TreeType="0">
+                       <UseConfigInProgramDir>False</UseConfigInProgramDir>
+                       <FolderTabs Save="True"/>
+               </Configuration>
+       </doublecmd>

diff --git a/app-misc/doublecmd-bin/metadata.xml 
b/app-misc/doublecmd-bin/metadata.xml
new file mode 100644
index 0000000..f23e6da
--- /dev/null
+++ b/app-misc/doublecmd-bin/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>torokhov-...@yandex.ru</email>
+    <name>Sergey Torokhov</name>
+  </maintainer>
+<longdescription>
+       Double Commander is a cross platform open source file manager with two 
panels side by side.
+       It is inspired by Total Commander and features some new ideas.
+</longdescription>
+       <upstream>
+               <remote-id type="sourceforge">doublecmd</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to