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,16 @@
BDEPEND=X? ( >=x11-apps/mkfontscale-1.2.0 media-fonts/encodings )
DEFINED_PHASES=install nofetch postinst postrm prepare setup
DEPEND=
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.
EAPI=7
HOMEPAGE=https://www.freedownloadmanager.org/
INHERIT=xdg-utils font eutils
IUSE=X
KEYWORDS=~amd64
LICENSE=GPL-2
RDEPEND=dev-libs/openssl x11-misc/xdg-utils media-video/ffmpeg dev-qt/qtcore:5 dev-qt/qtgui:5 net-libs/libtorrent
RESTRICT=strip
SLOT=0
SRC_URI=https://files2.freedownloadmanager.org/6/latest/freedownloadmanager.deb
_eclasses_=xdg-utils baea6080dd821f5562d715887954c9d3 font aa113a3df9cd0a9693a1c1ee7c34a6eb edos2unix 33e347e171066657f91f8b0c72ec8773 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32
_md5_=8b3fcebf279d4013c5f38b9c9d3812d0

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
}