summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-10-28 21:13:16 +0000
committerAlex Alexander <wired@gentoo.org>2010-10-28 21:13:16 +0000
commit9e382cb067027348e99541b25266a94fb6871a8c (patch)
tree80c1e74d67674e2705dc96e7fc6bccbdc2ace8f9 /www-client/uget
parentpunt old (diff)
downloadgentoo-2-9e382cb067027348e99541b25266a94fb6871a8c.tar.gz
gentoo-2-9e382cb067027348e99541b25266a94fb6871a8c.tar.bz2
gentoo-2-9e382cb067027348e99541b25266a94fb6871a8c.zip
version bump
(Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
Diffstat (limited to 'www-client/uget')
-rw-r--r--www-client/uget/ChangeLog8
-rw-r--r--www-client/uget/files/uget-1.6.1-as-needed.patch40
-rw-r--r--www-client/uget/uget-1.6.1.ebuild63
3 files changed, 110 insertions, 1 deletions
diff --git a/www-client/uget/ChangeLog b/www-client/uget/ChangeLog
index 2d91245b0b6c..a7fb5c5784ff 100644
--- a/www-client/uget/ChangeLog
+++ b/www-client/uget/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-client/uget
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/uget/ChangeLog,v 1.15 2010/08/17 01:04:15 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/uget/ChangeLog,v 1.16 2010/10/28 21:13:16 wired Exp $
+
+*uget-1.6.1 (28 Oct 2010)
+
+ 28 Oct 2010; Alex Alexander <wired@gentoo.org> +uget-1.6.1.ebuild,
+ +files/uget-1.6.1-as-needed.patch:
+ version bump
*uget-1.6.0 (17 Aug 2010)
*uget-1.5.0.3 (17 Aug 2010)
diff --git a/www-client/uget/files/uget-1.6.1-as-needed.patch b/www-client/uget/files/uget-1.6.1-as-needed.patch
new file mode 100644
index 000000000000..a31ec9c107fa
--- /dev/null
+++ b/www-client/uget/files/uget-1.6.1-as-needed.patch
@@ -0,0 +1,40 @@
+diff -u -ur uget-1.6.1-orig//tests/Makefile.am uget-1.6.1/tests/Makefile.am
+--- uget-1.6.1-orig//tests/Makefile.am 2010-10-29 00:15:07.962000002 +0300
++++ uget-1.6.1/tests/Makefile.am 2010-10-29 00:15:12.092000002 +0300
+@@ -4,7 +4,8 @@
+ # set the include path found by configure
+ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/tests
+ AM_CFLAGS = @LFS_CFLAGS@ @GLIB_CFLAGS@ @GIO_CFLAGS@ @GTHREAD_CFLAGS@ @GMODULE_CFLAGS@ @CURL_CFLAGS@ @LIBPWMD_CFLAGS@
+-AM_LDFLAGS = @LFS_LDFLAGS@ @GLIB_LIBS@ @GIO_LIBS@ @GTHREAD_LIBS@ @GMODULE_LIBS@ @CURL_LIBS@ @LIBPWMD_LIBS@
++AM_LDFLAGS = @LFS_LDFLAGS@
++LIBS = @GLIB_LIBS@ @GIO_LIBS@ @GTHREAD_LIBS@ @GMODULE_LIBS@ @CURL_LIBS@ @LIBPWMD_LIBS@
+
+ test_download_LDADD = $(top_builddir)/src/libuglib.a
+ test_download_SOURCES = test_download.c
+diff -u -ur uget-1.6.1-orig//uget-cmd/Makefile.am uget-1.6.1/uget-cmd/Makefile.am
+--- uget-1.6.1-orig//uget-cmd/Makefile.am 2010-10-29 00:15:07.962000002 +0300
++++ uget-1.6.1/uget-cmd/Makefile.am 2010-10-29 00:16:46.136000002 +0300
+@@ -3,7 +3,8 @@
+ # set the include path found by configure
+ uget_cmd_CPPFLAGS = -DDATADIR='"$(datadir)"' -I$(top_srcdir)/include -I$(top_srcdir)/uget-cmd
+ uget_cmd_CFLAGS = @LFS_CFLAGS@ @GIO_CFLAGS@ @GTHREAD_CFLAGS@ @CURL_CFLAGS@ @GSTREAMER_CFLAGS@ @LIBPWMD_CFLAGS@
+-uget_cmd_LDFLAGS = @LFS_LDFLAGS@ @GIO_LIBS@ @GTHREAD_LIBS@ @CURL_LIBS@ @GSTREAMER_LIBS@ @LIBPWMD_LIBS@
++uget_cmd_LDFLAGS = @LFS_LDFLAGS@
++LIBS = @GIO_LIBS@ @GTHREAD_LIBS@ @CURL_LIBS@ @GSTREAMER_LIBS@ @LIBPWMD_LIBS@
+ uget_cmd_LDADD = $(top_builddir)/src/libuglib.a
+
+ uget_cmd_SOURCES = \
+Only in uget-1.6.1/uget-cmd: Makefile.am.orig
+diff -u -ur uget-1.6.1-orig//uget-gtk/Makefile.am uget-1.6.1/uget-gtk/Makefile.am
+--- uget-1.6.1-orig//uget-gtk/Makefile.am 2010-10-29 00:15:07.963000002 +0300
++++ uget-1.6.1/uget-gtk/Makefile.am 2010-10-29 00:15:12.118000002 +0300
+@@ -3,7 +3,8 @@
+ # set the include path found by configure
+ uget_gtk_CPPFLAGS = -DDATADIR='"$(datadir)"' -I$(top_srcdir)/include -I$(top_srcdir)/uget-gtk
+ uget_gtk_CFLAGS = @LFS_CFLAGS@ @GTK_CFLAGS@ @GIO_CFLAGS@ @GTHREAD_CFLAGS@ @CURL_CFLAGS@ @LIBNOTIFY_CFLAGS@ @GSTREAMER_CFLAGS@ @LIBPWMD_CFLAGS@
+-uget_gtk_LDFLAGS = @LFS_LDFLAGS@ @GTK_LIBS@ @GIO_LIBS@ @GTHREAD_LIBS@ @CURL_LIBS@ @LIBNOTIFY_LIBS@ @GSTREAMER_LIBS@ @LIBPWMD_LIBS@
++uget_gtk_LDFLAGS = @LFS_LDFLAGS@
++LIBS=@GTK_LIBS@ @GIO_LIBS@ @GTHREAD_LIBS@ @CURL_LIBS@ @LIBNOTIFY_LIBS@ @GSTREAMER_LIBS@ @LIBPWMD_LIBS@
+ uget_gtk_LDADD = $(top_builddir)/src/libuglib.a
+
+ uget_gtk_SOURCES = \
diff --git a/www-client/uget/uget-1.6.1.ebuild b/www-client/uget/uget-1.6.1.ebuild
new file mode 100644
index 000000000000..34b852ee0c70
--- /dev/null
+++ b/www-client/uget/uget-1.6.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/uget/uget-1.6.1.ebuild,v 1.1 2010/10/28 21:13:16 wired Exp $
+
+EAPI="2"
+
+inherit autotools base
+
+DESCRIPTION="Download manager using gtk+ and libcurl"
+HOMEPAGE="http://urlget.sourceforge.net/"
+SRC_URI="mirror://sourceforge/urlget/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gstreamer hide-temp-files libnotify nls"
+
+RDEPEND="
+ dev-libs/libpcre
+ >=dev-libs/glib-2
+ >=net-misc/curl-7.10
+ >=x11-libs/gtk+-2.18
+ gstreamer? ( media-libs/gstreamer )
+ libnotify? ( x11-libs/libnotify )
+ "
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext"
+
+pkg_setup() {
+ echo
+ ewarn "Be warned that the configuration file has been split into smaller"
+ ewarn "files in Uget >= 1.5.9 and Uget will not attempt to import your"
+ ewarn "old settings."
+ ewarn
+ ewarn "In other words, you will lose your current download lists."
+ echo
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/"${PN}"-1.6.1-as-needed.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable nls) \
+ $(use_enable gstreamer) \
+ $(use_enable hide-temp-files hidden) \
+ $(use_enable libnotify notify) || die "econf failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # the build system forgets this :p
+ dobin uget-cmd/uget-cmd || die "uget-cmd install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
+}