diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2014-05-30 16:03:29 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2014-05-30 16:03:29 +0000 |
commit | b364a3b134fc7129875bb9c0d7b7dace72a10a5a (patch) | |
tree | be73e0b0388d0266abffc8d52dba490a01ccbd3f /net-p2p | |
parent | Version bump (diff) | |
download | historical-b364a3b134fc7129875bb9c0d7b7dace72a10a5a.tar.gz historical-b364a3b134fc7129875bb9c0d7b7dace72a10a5a.tar.bz2 historical-b364a3b134fc7129875bb9c0d7b7dace72a10a5a.zip |
Version bump wrt #511784 by "Nikoli" and fix automagic linking against libsystemd-daemon wrt #498920 by "nzqr"
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/transmission/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/transmission/Manifest | 14 | ||||
-rw-r--r-- | net-p2p/transmission/transmission-2.83.ebuild | 148 |
3 files changed, 165 insertions, 5 deletions
diff --git a/net-p2p/transmission/ChangeLog b/net-p2p/transmission/ChangeLog index 4c81f00543c0..6c9e01039849 100644 --- a/net-p2p/transmission/ChangeLog +++ b/net-p2p/transmission/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/transmission # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.250 2014/03/04 20:18:56 vincent Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.251 2014/05/30 16:03:24 ssuominen Exp $ + +*transmission-2.83 (30 May 2014) + + 30 May 2014; Samuli Suominen <ssuominen@gentoo.org> +transmission-2.83.ebuild: + Version bump wrt #511784 by "Nikoli" and fix automagic linking against + libsystemd-daemon wrt #498920 by "nzqr" 04 Mar 2014; Vicente Olivert Riera <vincent@gentoo.org> transmission-2.82-r3.ebuild: diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest index 401f58b73e5c..5b67aec5e943 100644 --- a/net-p2p/transmission/Manifest +++ b/net-p2p/transmission/Manifest @@ -6,13 +6,19 @@ AUX transmission-2.82-qt4.patch 1758 SHA256 15dda6a1125130a3aa6cd5b111985564d04c AUX transmission-daemon.confd.4 711 SHA256 249689688aad23d0d27ccdd08a0907fd85058d6a52ccd3467f756b07f5d059ee SHA512 dbc093fe00335bb207c28a4e810becc15e74b6f75e7579d561b160755d6b54bb23a45db39ee3480195a94a5e9bffdad692559d1b9662bba28119d18b713747a1 WHIRLPOOL c19f3a6d46ff5cf824e9f3d9df2ec4364c17d424a406b3922921e3385801b543f736ed7dd8e1b7f24cd81262e2ac162edd92d7b6b832909012ae4cd677d94c1d AUX transmission-daemon.initd.9 2256 SHA256 06d047b47befe6aaf1b1542fdd50e84ea38e0fef004b5095f6096f33fa1901a3 SHA512 37205d2375b9baa631bb5b4cdc4d95b3bd63780aae118bce89286b1ea2f00859e276316519b7f0279ae8ce23423da79a60ae339d63ca0e131130912341d1a133 WHIRLPOOL a067c9c48014b330624ff2db153991a866b381ebbe213194a7af1150cb4766a62a67323ce3346622912e2acba135a28a05f83db8824e568968a0e6f898da586b DIST transmission-2.82.tar.xz 3172024 SHA256 3996651087df67a85f1e1b4a92b1b518ddefdd84c654b8df6fbccb0b91f03522 SHA512 05fbeda97e873b63f9d1fb15699f027112611346540da699e433e08763209b19278f5d5a513a0d4a24a9c4d0ff50115bb6a49b06d01fec8221ed91d60716d791 WHIRLPOOL bb50c1286d15ea0aa8b4bf00d4e4022bc0636c4c01091ed458bf3fd5ee7d80ed8cccec390dbf4686bbe6727c10e686233b081e17725da8001925ae4d95e91dca +DIST transmission-2.83.tar.xz 3136752 SHA256 b0e1b050167e7f71b68e01a8d55b984a828fe880df9abfbc6281cb2a0d7d1433 SHA512 a3f56c434282d70d9d373d99410de738f15a350f394c0984150b7d9ea2eda1c0485bf26ab740f433d0271f882edabe5609266e704e55792a7015225da0186fda WHIRLPOOL 2dfeae51acf6a14dbd6374336cc0d4cc09a7387e72a63683785d1bdba36693f68770af7826af36e2be1e7e8e3d4920d77a5b582b801f4997721557161e31959c EBUILD transmission-2.82-r3.ebuild 3837 SHA256 849067f911561bdbd488365d5f79262c89565345e3f891d4dc77d7cd109ab4f5 SHA512 f7a9289b0e3caa921199cf7cd220eb9d7e5eb16e7b7129db185dd96e21b693e2d8e3db2f64a81ff26d79bc2c9f62ab693893eaa1371a6fb2ad8e387d9e3e5c33 WHIRLPOOL 583c9ac2a5a26759a0d4a6c9e3c7be89bb99912f66f8228364ba2ed0ec61da98342a0b9cd8c5061f9b9470666f98c5f934ee8d0f419e4fe473c51c398e5d873f -MISC ChangeLog 42875 SHA256 1879fff55645b6fd3f612c70eb8ecae4c05b0f2a844d9e39bbfac2cab3a8887d SHA512 6f642b669261f39516b8b4342f233e474186cfdf568a032bb995451eac2705622064c60fc6b98f35822f636516974111c290b5b54d4c39830254f381bed5871f WHIRLPOOL 263034595c5c4aaa3ee8dbbe63618f4eac57cfd2b2f25db2951514a5b408760e346a72941ef50fa299b12343c5d7d013818f236a8997c7fb4b2b6f1bc2f6ded3 +EBUILD transmission-2.83.ebuild 3849 SHA256 2e10f9a6c56a09f26c9708887b0770109b46a7cc6ef00a2358ba7f3efe914d7a SHA512 4fd2076b9f6366fec950cb53e87ed3b7ca371e39db1c25ef90a721fcfb27d48c3b3b9fa9838e0f53a1c0e56cbe06fef3a05a47e076062801d02fc3ba74e15e6f WHIRLPOOL 898c7e83349ced68e15d182b13b33172c7f93128b0d21d89cc710b451a74ca52089e27306b4c1d9aae0331c4b6ca4b23c297024dcd18a32692108748f557f5a9 +MISC ChangeLog 43108 SHA256 737c4381af87eea7091fe526e39be4dd2a65d8fba5a82d208261012a8780ddfe SHA512 a1853b79b38a6f924f8d6c8b0a694f69a4edf0e9a2fb2e88d28439af50a110b5e9d3b47708b3174494074694989643db738a26ccc929fb043d925450ced1daca WHIRLPOOL 52ef0fa1f09a84fc700fc5c863c4dad045dc0dcc35be241193b1f8024a3ecf9537e5db2196674f0f7ca6bc67cbf0cd7274b179fd10f85c4a58cac409cd6a5742 MISC metadata.xml 566 SHA256 ee4ef67c4bf912c1b5e529965fc45eca1f41dbebf76bcf785c8fc7b38a602633 SHA512 60ee8ea3d363fa60f5a1f94ec9d8fe7653465cb2fc3de8c92d6945f5cb01468f7af580149ceefeb8fdd866af7b5ae2143b584853bf3aa5fcc69408a21e4566eb WHIRLPOOL b3b4ed16faa68d7abb0519e025607c55c68a1ba0462992ac1e8b3e7f775dca278039391041097abcb1063b6cc5fa3f8741ecd76587fb3533c437d780ce4b0423 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlMWNTkACgkQWunnsum7y6j4aQCdHgii0FEYaGHB8bCjfNUd7oUn -npQAoIdcFejxyagdEsIS1d6ilUzul6TL -=09UH +iQEcBAEBCAAGBQJTiKtXAAoJEEdUh39IaPFN4pUIAISPzIrrYSGPCiV9m0cnHet8 +a78lEGAoOcXGRCrNuTdbugHr/2HQiB8V+EqsQcHxCdeKQ/SIKUcqxG5iGr++OR9X +2Vb/hmxjNPsvbtggFYMljZ3GINo0GDROsEDCZ1ahBCeBv+6wJD2DK/prz1yg/CKW +3zO9JcSfDr07T0iTcfcFW9IRtGCaJVo1qCcIVctaxGkDdjyECsAMiPkFzuKAtyjU +uHBDbyC/hsUGWc8aMTI4a9usoNOowURnbpLurQVzu+BNmRoTl8hsXoweF4wCcyPx +9fpFEqizOhCyv4dxHxIq+jl8IutMSA2vdTj86JuCTmeKDl3FvH0bRjLz6LcY5oc= +=tZ5U -----END PGP SIGNATURE----- diff --git a/net-p2p/transmission/transmission-2.83.ebuild b/net-p2p/transmission/transmission-2.83.ebuild new file mode 100644 index 000000000000..9ad6e81a004c --- /dev/null +++ b/net-p2p/transmission/transmission-2.83.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.83.ebuild,v 1.1 2014/05/30 16:03:24 ssuominen Exp $ + +EAPI=5 +inherit autotools eutils fdo-mime gnome2-utils qt4-r2 systemd user + +DESCRIPTION="A Fast, Easy and Free BitTorrent client" +HOMEPAGE="http://www.transmissionbt.com/" +SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz" + +LICENSE="GPL-2 MIT" +SLOT=0 +IUSE="ayatana gtk lightweight systemd qt4 xfs" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux" + +RDEPEND=">=dev-libs/libevent-2.0.10:= + dev-libs/openssl:0= + net-libs/libnatpmp:= + >=net-libs/miniupnpc-1.7:= + >=net-misc/curl-7.16.3:=[ssl] + sys-libs/zlib:= + gtk? ( + >=dev-libs/dbus-glib-0.100:= + >=dev-libs/glib-2.32:2= + >=x11-libs/gtk+-3.4:3= + ayatana? ( >=dev-libs/libappindicator-0.4.90:3= ) + ) + systemd? ( sys-apps/systemd ) + qt4? ( + dev-qt/qtcore:4= + dev-qt/qtgui:4= + dev-qt/qtdbus:4= + )" +DEPEND="${RDEPEND} + >=dev-libs/glib-2.32 + dev-util/intltool + sys-devel/gettext + virtual/os-headers + virtual/pkgconfig + xfs? ( sys-fs/xfsprogs )" + +REQUIRED_USE="ayatana? ( gtk )" + +DOCS="AUTHORS NEWS qt/README.txt" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 -1 ${PN} +} + +src_prepare() { + sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die + # Trick to avoid automagic dependency + use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die; } + # Pass our configuration dir to systemd unit file + sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' daemon/${PN}-daemon.service || die + # http://trac.transmissionbt.com/ticket/4324 + sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${PN}/Makefile.am || die + # Fix for broken translations path + epatch "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch + # http://trac.transmissionbt.com/ticket/5700 + sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die + + eautoreconf +} + +src_configure() { + export ac_cv_header_xfs_xfs_h=$(usex xfs) + + econf \ + --enable-external-natpmp \ + $(use_enable lightweight) \ + $(use_with systemd systemd-daemon) \ + $(use_with gtk) + + if use qt4; then + pushd qt >/dev/null + eqmake4 qtr.pro + popd >/dev/null + fi +} + +src_compile() { + emake + + if use qt4; then + pushd qt >/dev/null + emake + lrelease translations/*.ts + popd >/dev/null + fi +} + +src_install() { + default + + rm -f "${ED}"/usr/share/${PN}/web/LICENSE + + newinitd "${FILESDIR}"/${PN}-daemon.initd.9 ${PN}-daemon + newconfd "${FILESDIR}"/${PN}-daemon.confd.4 ${PN}-daemon + systemd_dounit daemon/${PN}-daemon.service + + keepdir /var/{lib/${PN}/{config,downloads},log/${PN}} + fowners -R ${PN}:${PN} /var/{lib/${PN}/{,config,downloads},log/${PN}} + + if use qt4; then + pushd qt >/dev/null + emake INSTALL_ROOT="${ED}"/usr install + + domenu ${PN}-qt.desktop + + local res + for res in 16 22 24 32 48 64 72 96 128 192 256; do + doicon -s ${res} icons/hicolor/${res}x${res}/${PN}-qt.png + done + doicon -s scalable icons/hicolor/scalable/${PN}-qt.svg + + insinto /usr/share/qt4/translations + doins translations/*.qm + popd >/dev/null + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update + + elog "If you use ${PN}-daemon, please, set 'rpc-username' and" + elog "'rpc-password' (in plain text, ${PN}-daemon will hash it on" + elog "start) in settings.json file located at /var/${PN}/config or" + elog "any other appropriate config directory." + elog + elog "Since µTP is enabled by default, ${PN} needs large kernel buffers for" + elog "the UDP socket. You can append following lines into /etc/sysctl.conf:" + elog " net.core.rmem_max = 4194304" + elog " net.core.wmem_max = 1048576" + elog "and run sysctl -p" +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |