Initial ebuild.

This commit is contained in:
Ronald Farrer 2023-04-20 10:52:55 -07:00
parent 91a3fac2e3
commit 2228f109b3
3 changed files with 81 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST freedownloadmanager.deb 36200104 BLAKE2B a20a454396b2af3b566a872dc9316ddc69bcff323f4a5f70e8194fb40460c98fbb627a309fdcea3e65d06ebd2e60f65b2a26fca391f79063ff49bfbd3ddacf88 SHA512 3b4bb85897f70d140b53aced6dab4a067ab2f042a796b90540cfa1d1442ef7c7b3736c26392f324ffc9dee89d693693d8b84b73768483d6133a0a940dc4cd7a9
EBUILD freedownloadmanager-6.19.0.5156.ebuild 1361 BLAKE2B ee77b504b135d2b51dd9222b862e1615cedebd645db37317832fe5980d211df7f2725668ac93386fc8c704434d33da293774811a6a87dd6967652617af09fb60 SHA512 2b0158465b985817dbbd99d42a58bf59c0b84d75a26ef9e920447bf19661583f58ebeed93d0e8d0261061a7198fc99ac9c797be899f6a132b4b58dff6f50ef06

View file

@ -0,0 +1,63 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
inherit xdg-utils font eutils
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}"
pkg_nofetch() {
einfo "Please download"
einfo " - overgrive_${PV}_all.deb -> ${PN}_${PV}.deb"
einfo "from ${HOMEPAGE} and place them in your DISTDIR directory."
}
src_prepare() {
unpack ./control.tar.gz
unpack ./data.tar.gz
eapply_user
}
src_install() {
doins -r opt
doins -r usr
dosym /opt/thefanclub/overgrive/__pycache__/overgrive.cpython-36.pyc /opt/thefanclub/overgrive/overgrive
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
/usr/bin/gtk-update-icon-cache
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
}
pkg_postrm() {
fdo-mime_desktop_database_update
/usr/bin/gtk-update-icon-cache
}