diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-01-01 19:40:28 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-01-01 19:40:28 +0000 |
commit | 56c7dbff341e8ee5b79bd74147b3e0a2dea3ada6 (patch) | |
tree | 90487d3e9fe3fa88c78751981abb678302247d7b /net-p2p | |
parent | Add ~s390 (diff) | |
download | gentoo-2-56c7dbff341e8ee5b79bd74147b3e0a2dea3ada6.tar.gz gentoo-2-56c7dbff341e8ee5b79bd74147b3e0a2dea3ada6.tar.bz2 gentoo-2-56c7dbff341e8ee5b79bd74147b3e0a2dea3ada6.zip |
Update icon cache. Fix LICENSE, since web/ directory includes GPL-2. Move glib dep. behind USE gtk. Patch to respect user cflags and cxxflags.
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/transmission/ChangeLog | 7 | ||||
-rw-r--r-- | net-p2p/transmission/files/transmission-1.42-respect_flags.patch | 14 | ||||
-rw-r--r-- | net-p2p/transmission/transmission-1.42.ebuild | 25 |
3 files changed, 38 insertions, 8 deletions
diff --git a/net-p2p/transmission/ChangeLog b/net-p2p/transmission/ChangeLog index 35789ddd7bf0..5e1c43af8b79 100644 --- a/net-p2p/transmission/ChangeLog +++ b/net-p2p/transmission/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-p2p/transmission # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.69 2009/01/01 16:58:20 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.70 2009/01/01 19:40:28 ssuominen Exp $ + + 01 Jan 2009; <ssuominen@gentoo.org> + +files/transmission-1.42-respect_flags.patch, transmission-1.42.ebuild: + Update icon cache. Fix LICENSE, since web/ directory includes GPL-2. Move + glib dep. behind USE gtk. Patch to respect user cflags and cxxflags. *transmission-1.42 (01 Jan 2009) diff --git a/net-p2p/transmission/files/transmission-1.42-respect_flags.patch b/net-p2p/transmission/files/transmission-1.42-respect_flags.patch new file mode 100644 index 000000000000..317dc8e0dc3c --- /dev/null +++ b/net-p2p/transmission/files/transmission-1.42-respect_flags.patch @@ -0,0 +1,14 @@ +diff -ur transmission-1.42.orig/configure.ac transmission-1.42/configure.ac +--- transmission-1.42.orig/configure.ac 2008-12-24 19:48:45.000000000 +0200 ++++ transmission-1.42/configure.ac 2009-01-01 21:24:02.000000000 +0200 +@@ -42,10 +42,6 @@ + + AC_PROG_CC + AC_PROG_CXX +-if test "x$GCC" = "xyes" ; then +- CFLAGS="-g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops" +- CXXFLAGS="-g -Wall -Wformat-security -W -O3 -funroll-loops" +-fi + + AC_HEADER_STDC + AC_HEADER_TIME diff --git a/net-p2p/transmission/transmission-1.42.ebuild b/net-p2p/transmission/transmission-1.42.ebuild index d61db7336862..ceb74bb6f56d 100644 --- a/net-p2p/transmission/transmission-1.42.ebuild +++ b/net-p2p/transmission/transmission-1.42.ebuild @@ -1,31 +1,36 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-1.42.ebuild,v 1.1 2009/01/01 16:58:20 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-1.42.ebuild,v 1.2 2009/01/01 19:40:28 ssuominen Exp $ EAPI=2 -inherit fdo-mime +inherit autotools eutils fdo-mime gnome2-utils DESCRIPTION="A Fast, Easy and Free BitTorrent client" HOMEPAGE="http://www.transmissionbt.com" SRC_URI="http://download.${PN}bt.com/${PN}/files/${P}.tar.bz2" -LICENSE="MIT" +LICENSE="MIT GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" IUSE="gtk nls libnotify" -RDEPEND=">=dev-libs/glib-2.16 +RDEPEND=">=dev-libs/openssl-0.9.4 || ( >=net-misc/curl-7.16.3[ssl] >=net-misc/curl-7.16.3[gnutls] ) - >=dev-libs/openssl-0.9.4 - gtk? ( >=x11-libs/gtk+-2.6 + gtk? ( >=dev-libs/glib-2.15.5 + >=x11-libs/gtk+-2.6 >=dev-libs/dbus-glib-0.70 libnotify? ( >=x11-libs/libnotify-0.4.4 ) )" DEPEND="${RDEPEND} nls? ( sys-devel/gettext - dev-util/intltool ) + gtk? ( dev-util/intltool ) ) dev-util/pkgconfig" +src_prepare() { + epatch "${FILESDIR}"/${P}-respect_flags.patch + eautoreconf +} + src_configure() { local myconf="--disable-dependency-tracking --with-wx-config=no" @@ -36,6 +41,10 @@ src_configure() { ${myconf} } +pkg_preinst() { + gnome2_icon_savelist +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed." dodoc AUTHORS NEWS @@ -45,8 +54,10 @@ src_install() { pkg_postinst() { fdo-mime_desktop_database_update + gnome2_icon_cache_update } pkg_postrm() { fdo-mime_desktop_database_update + gnome2_icon_cache_update } |