From f13598aa029afca922d90c857eb9d6ba466092ad Mon Sep 17 00:00:00 2001 From: Alex Alexander Date: Fri, 3 May 2013 04:08:23 +0000 Subject: respect AR - bug #466600 - patch by Ted Tanberry. removed old. (Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key EB9B4AFA) --- www-client/uget/ChangeLog | 8 ++- www-client/uget/files/uget-ar-hardcoded.patch | 26 ++++++++ www-client/uget/uget-1.10.2.ebuild | 82 ------------------------ www-client/uget/uget-1.10.3-r1.ebuild | 89 +++++++++++++++++++++++++++ 4 files changed, 122 insertions(+), 83 deletions(-) create mode 100644 www-client/uget/files/uget-ar-hardcoded.patch delete mode 100644 www-client/uget/uget-1.10.2.ebuild create mode 100644 www-client/uget/uget-1.10.3-r1.ebuild (limited to 'www-client/uget') diff --git a/www-client/uget/ChangeLog b/www-client/uget/ChangeLog index 968a8df062bc..eb1d3ff8293a 100644 --- a/www-client/uget/ChangeLog +++ b/www-client/uget/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-client/uget # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/uget/ChangeLog,v 1.38 2013/04/22 09:09:11 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/uget/ChangeLog,v 1.39 2013/05/03 04:08:22 wired Exp $ + +*uget-1.10.3-r1 (03 May 2013) + + 03 May 2013; Alex Alexander -uget-1.10.2.ebuild, + +uget-1.10.3-r1.ebuild, +files/uget-ar-hardcoded.patch: + respect AR - bug #466600 - patch by Ted Tanberry. removed old. 22 Apr 2013; Agostino Sarubbo uget-1.10.3.ebuild: Stable for ppc, wrt bug #463152 diff --git a/www-client/uget/files/uget-ar-hardcoded.patch b/www-client/uget/files/uget-ar-hardcoded.patch new file mode 100644 index 000000000000..f9ce7bb2f1df --- /dev/null +++ b/www-client/uget/files/uget-ar-hardcoded.patch @@ -0,0 +1,26 @@ +--- configure.ac 2013-04-23 21:14:51.367980659 +0200 ++++ configure.ac 2013-04-23 21:19:23.096311763 +0200 +@@ -19,6 +19,9 @@ + ## Use library (static library) + AC_PROG_RANLIB + ++## Determine the archiver ++AM_PROG_AR ++ + ## Use libtool (share and static library) (add libtoolize to autogen.sh) + # AC_PROG_LIBTOOL + # LT_PREREQ([2.2.6]) + + +--- uglib/Makefile.in 2013-04-23 21:14:51.405980565 +0200 ++++ uglib/Makefile.in 2013-04-23 21:17:22.358607880 +0200 +@@ -51,7 +51,7 @@ + CONFIG_CLEAN_FILES = + CONFIG_CLEAN_VPATH_FILES = + LIBRARIES = $(noinst_LIBRARIES) +-AR = ar ++AR = @AR@ + ARFLAGS = cru + libuglib_a_AR = $(AR) $(ARFLAGS) + libuglib_a_LIBADD = + diff --git a/www-client/uget/uget-1.10.2.ebuild b/www-client/uget/uget-1.10.2.ebuild deleted file mode 100644 index e58f9fbed896..000000000000 --- a/www-client/uget/uget-1.10.2.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/uget/uget-1.10.2.ebuild,v 1.2 2012/12/02 17:09:06 eva Exp $ - -EAPI="4" - -IUSE="aria2 +curl gstreamer hide-temp-files libnotify nls" -if [[ ${PV} == *9999* ]]; then - inherit autotools git-2 - KEYWORDS="" - SRC_URI="" - EGIT_REPO_URI="git://urlget.git.sourceforge.net/gitroot/urlget/uget" -else - KEYWORDS="~amd64 ~ppc ~x86" - SRC_URI="mirror://sourceforge/urlget/${P}.tar.gz" -fi - -DESCRIPTION="Download manager using gtk+ and libcurl" -HOMEPAGE="http://urlget.sourceforge.net/" - -LICENSE="LGPL-2.1" -SLOT="0" - -REQUIRED_USE="|| ( aria2 curl )" - -RDEPEND=" - dev-libs/libpcre - >=dev-libs/glib-2.32:2 - >=x11-libs/gtk+-3.4:3 - curl? ( >=net-misc/curl-7.10 ) - gstreamer? ( media-libs/gstreamer:0.10 ) - libnotify? ( x11-libs/libnotify ) - " -DEPEND="${RDEPEND} - dev-util/intltool - virtual/pkgconfig - sys-devel/gettext" - -src_prepare() { - if [[ ${PV} == *9999* ]]; then - eautoreconf - intltoolize || die "intltoolize failed" - eautoreconf - fi -} - -src_configure() { - econf $(use_enable nls) \ - $(use_enable curl plugin-curl) \ - $(use_enable aria2 plugin-aria2) \ - $(use_enable gstreamer) \ - $(use_enable hide-temp-files hidden) \ - $(use_enable libnotify notify) -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install - - # the build system forgets this :p - dobin uget-cmd/uget-cmd - - if [[ ${PV} == *9999* ]]; then - dodoc AUTHORS ChangeLog README - else - dodoc AUTHORS ChangeLog NEWS README - fi -} - -pkg_postinst() { - if use aria2; then - echo - elog "You've enabled the aria2 USE flag, so the aria2 plug-in has been" - elog "built. This allows you to control a local or remote instance of aria2" - elog "through xmlrpc. To use aria2 locally you have to emerge" - elog "net-misc/aria2 with the xmlrpc USE enabled manually." - echo - fi -} diff --git a/www-client/uget/uget-1.10.3-r1.ebuild b/www-client/uget/uget-1.10.3-r1.ebuild new file mode 100644 index 000000000000..4ae88c95ae5a --- /dev/null +++ b/www-client/uget/uget-1.10.3-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/uget/uget-1.10.3-r1.ebuild,v 1.1 2013/05/03 04:08:22 wired Exp $ + +EAPI="4" + +inherit base autotools + +IUSE="aria2 +curl gstreamer hide-temp-files libnotify nls" +if [[ ${PV} == *9999* ]]; then + inherit git-2 + KEYWORDS="" + SRC_URI="" + EGIT_REPO_URI="git://urlget.git.sourceforge.net/gitroot/urlget/uget" +else + KEYWORDS="~amd64 ~ppc ~x86" + SRC_URI="mirror://sourceforge/urlget/${P}.tar.gz" +fi + +DESCRIPTION="Download manager using gtk+ and libcurl" +HOMEPAGE="http://urlget.sourceforge.net/" + +LICENSE="LGPL-2.1" +SLOT="0" + +REQUIRED_USE="|| ( aria2 curl )" + +RDEPEND=" + dev-libs/libpcre + >=dev-libs/glib-2.32:2 + >=x11-libs/gtk+-3.4:3 + curl? ( >=net-misc/curl-7.10 ) + gstreamer? ( media-libs/gstreamer:0.10 ) + libnotify? ( x11-libs/libnotify ) + " +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-ar-hardcoded.patch + eautoreconf + + if [[ ${PV} == *9999* ]]; then + intltoolize || die "intltoolize failed" + eautoreconf + fi + + # fix the .desktop file for QA + sed -i 's/Network;FileTransfer/Network;FileTransfer;/g' uget-gtk.desktop +} + +src_configure() { + econf $(use_enable nls) \ + $(use_enable curl plugin-curl) \ + $(use_enable aria2 plugin-aria2) \ + $(use_enable gstreamer) \ + $(use_enable hide-temp-files hidden) \ + $(use_enable libnotify notify) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install + + # the build system forgets this :p + dobin uget-cmd/uget-cmd + + if [[ ${PV} == *9999* ]]; then + dodoc AUTHORS ChangeLog README + else + dodoc AUTHORS ChangeLog NEWS README + fi +} + +pkg_postinst() { + if use aria2; then + echo + elog "You've enabled the aria2 USE flag, so the aria2 plug-in has been" + elog "built. This allows you to control a local or remote instance of aria2" + elog "through xmlrpc. To use aria2 locally you have to emerge" + elog "net-misc/aria2 with the xmlrpc USE enabled manually." + echo + fi +} -- cgit v1.2.3-65-gdbad