Install this version:
emerge -a =net-misc/freedownloadmanager-6.19.0.5156
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-misc/freedownloadmanager-6.19.0.5156
Or alternatively:
emerge --autounmask-write -a =net-misc/freedownloadmanager-6.19.0.5156
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 6.19.0.5156 | 8 | ~amd64 | 0 |
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=8
inherit xdg-utils font
KEYWORDS="~amd64"
DESCRIPTION="Free Download Manager allows you to adjust traffic usage, organize downloads, control file priorities for torrents, efficiently download large files and resume broken downloads."
HOMEPAGE="https://www.freedownloadmanager.org/"
SRC_URI="https://files2.freedownloadmanager.org/6/latest/freedownloadmanager.deb"
SLOT="0"
RESTRICT="strip"
LICENSE="GPL-2"
IUSE=""
RDEPEND="
dev-libs/openssl
x11-misc/xdg-utils
media-video/ffmpeg
dev-qt/qtcore:5
dev-qt/qtgui:5
net-libs/libtorrent
"
DEPEND="
"
S="${WORKDIR}"
src_prepare() {
unpack ./control.tar.xz
unpack ./data.tar.xz
eapply_user
}
src_install() {
local FDMROOT=/opt/freedownloadmanager
doins -r opt
doins -r usr
make_desktop_entry "fdm" "Free Download Manager" "" "Network"
make_wrapper fdm ${FDMROOT}/fdm ${FDMROOT} ${FDMROOT}/lib /opt/bin
}
pkg_postinst() {
xdg_icon_cache_update
chmod +x /opt/freedownloadmanager/fdm
}
pkg_postrm() {
xdg_icon_cache_update
}
dev-libs/openssl x11-misc/xdg-utils media-video/ffmpeg dev-qt/qtcore:5 dev-qt/qtgui:5 net-libs/libtorrent