app-misc/doublecmd-bin - 1.2.6 (guru)

Search

Install

Install this version:

emerge -a =app-misc/doublecmd-bin-1.2.6

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/doublecmd-bin-1.2.6

Or alternatively:

emerge --autounmask-write -a =app-misc/doublecmd-bin-1.2.6

Package Information

Description:
Free cross platform open source file manager with two panels side by side
Homepage:
https://doublecmd.sourceforge.io/
License:
GPL-2+ LGPL-2-with-linking-exception LGPL-2.1+ LGPL-3 GPL-1 freedist

Ebuild Details

Version EAPI Keywords Slot
1.2.6 8 -* ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop wrapper xdg

MY_PN="doublecmd"
DESCRIPTION="Free cross platform open source file manager with two panels side by side"
HOMEPAGE="https://doublecmd.sourceforge.io/"

# Switch to github repo taballs instead of sourceforge
SRC_URI="
	amd64? (
		!qt6? ( https://github.com/${MY_PN}/${MY_PN}/releases/download/v${PV}/${MY_PN}-${PV}.gtk2.x86_64.tar.xz )
		qt6?  ( https://github.com/${MY_PN}/${MY_PN}/releases/download/v${PV}/${MY_PN}-${PV}.qt6.x86_64.tar.xz )
	)
	x86? ( https://github.com/${MY_PN}/${MY_PN}/releases/download/v${PV}/${MY_PN}-${PV}.gtk2.i386.tar.xz )
"

S="${WORKDIR}/${MY_PN}"

# 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="qt6"

QA_PREBUILT="
	*/doublecmd
	*/libQt6Pas.so.6
	*/libunrar.so
	*/plugins/.*
"

## "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).
## Once per-profile USE masking works in overlays, mask the qt6 USE flag for x86 and
## revert RDEPEND hack.
GTK_DEPS="
	app-accessibility/at-spi2-core:2
	x11-libs/cairo
	x11-libs/gdk-pixbuf:2
	x11-libs/gtk+:2
	x11-libs/pango
"
RDEPEND="
	dev-libs/glib:2
	sys-apps/dbus
	x11-libs/libX11
	amd64? (
		!qt6? ( ${GTK_DEPS} )
		qt6? (
			dev-qt/qtbase:6[gui,widgets]
			media-libs/libglvnd
		)
	)
	x86? ( ${GTK_DEPS} )
"

src_install(){
	insinto "/opt/${PN}"
	doins -r "${S}/."

	# Remove doublecmd.inf to use config from user home directory
	rm "${ED}/opt/${PN}"/settings/doublecmd.inf || die

	exeinto "/opt/${PN}"
	doexe "${S}/${MY_PN}"
	make_wrapper ${MY_PN} "/opt/${PN}/${MY_PN}" "" "/opt/${PN}" "/opt/bin/"

	doicon -s 48 ${MY_PN}.png
	make_desktop_entry "${MY_PN}" "Double Commander" "${MY_PN}" "Utility;" || die "Failed making desktop entry!"
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-misc/doublecmd-bin | euse -E <flag> -p app-misc/doublecmd-bin | euse -D <flag> -p app-misc/doublecmd-bin

Global/Standard Flags

qt6

Inherited Eclasses

xdg

Dependencies

RDEPEND

	dev-libs/glib:2
	sys-apps/dbus
	x11-libs/libX11
	amd64? (
		!qt6? ( 
	app-accessibility/at-spi2-core:2
	x11-libs/cairo
	x11-libs/gdk-pixbuf:2
	x11-libs/gtk+:2
	x11-libs/pango
 )
		qt6? (
			dev-qt/qtbase:6[gui,widgets]
			media-libs/libglvnd
		)
	)
	x86? ( 
	app-accessibility/at-spi2-core:2
	x11-libs/cairo
	x11-libs/gdk-pixbuf:2
	x11-libs/gtk+:2
	x11-libs/pango
 )

Manifest for 1.2.6

Type File Size Source URLs
DIST doublecmd-1.2.6.gtk2.i386.tar.xz 9258508 bytes https://github.com/doublecmd/doublecmd/releases/download/v1.2.6/doublecmd-1.2.6.gtk2.i386.tar.xz
DIST doublecmd-1.2.6.gtk2.x86_64.tar.xz 9489192 bytes https://github.com/doublecmd/doublecmd/releases/download/v1.2.6/doublecmd-1.2.6.gtk2.x86_64.tar.xz
DIST doublecmd-1.2.6.qt6.x86_64.tar.xz 9945744 bytes https://github.com/doublecmd/doublecmd/releases/download/v1.2.6/doublecmd-1.2.6.qt6.x86_64.tar.xz