diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /net-misc/d4x/d4x-2.5.7.1-r3.ebuild | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'net-misc/d4x/d4x-2.5.7.1-r3.ebuild')
-rw-r--r-- | net-misc/d4x/d4x-2.5.7.1-r3.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/net-misc/d4x/d4x-2.5.7.1-r3.ebuild b/net-misc/d4x/d4x-2.5.7.1-r3.ebuild new file mode 100644 index 0000000..78c6725 --- /dev/null +++ b/net-misc/d4x/d4x-2.5.7.1-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.5.7.1-r2.ebuild,v 1.4 2007/11/14 15:20:17 armin76 Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="GTK based download manager for X." +HOMEPAGE="http://www.krasu.ru/soft/chuchelo" +SRC_URI="http://d4x.krasu.ru/files/${P}.tar.bz2" + +KEYWORDS="amd64 ~ppc sparc x86" +SLOT="0" +LICENSE="Artistic" +IUSE="ao esd nls oss ssl" + +RDEPEND=">=x11-libs/gtk+-2 + dev-libs/boost + ssl? ( dev-libs/openssl ) + !ao? ( esd? ( media-sound/esound ) ) + ao? ( media-libs/libao )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext dev-util/intltool )" + +pkg_setup() { + use ao && ewarn "Selecting USE ao will disable oss and esd." +} + +src_unpack() { + unpack ${A} + cd "${S}" + # Bugs #111769, #130479 and #193360 plus more. + epatch "${FILESDIR}"/${P}-gentoo.patch || die + epatch "${FILESDIR}"/d4x-2.5.7.1-ds-compile.patch || die + epatch "${FILESDIR}"/d4x-ds-X.diff || die +} + +src_compile() { + append-flags -D_FILE_OFFSET_BITS=64 + + econf $(use_enable nls) \ + $(use_enable esd) \ + $(use_enable oss) \ + $(use_enable ssl openssl) \ + $(use_enable ao libao) + + emake OPTFLAGS="${CXXFLAGS}" || die "emake failed." +} + +src_install () { + emake -j1 DESTDIR="${D}" install || die "emake install failed." + + dodoc AUTHORS ChangeLog* NEWS README PLANS TODO + docinto doc + dodoc DOC/{FAQ*,README*,THANKS,TROUBLES} + doman DOC/nt.1 + + newicon share/nt.xpm ${PN}.xpm + make_desktop_entry ${PN} ${PN} ${PN} +} |