summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-07-25 09:07:15 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-07-25 09:07:15 +0000
commitacdeaddf44c7c44207d9802260eb6eb49810c197 (patch)
tree94317077f89f25b834ddacba37f51f644915be00 /net-p2p
parentppc stable wrt #421537 (diff)
downloadhistorical-acdeaddf44c7c44207d9802260eb6eb49810c197.tar.gz
historical-acdeaddf44c7c44207d9802260eb6eb49810c197.tar.bz2
historical-acdeaddf44c7c44207d9802260eb6eb49810c197.zip
old
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/transmission/ChangeLog6
-rw-r--r--net-p2p/transmission/Manifest20
-rw-r--r--net-p2p/transmission/transmission-2.51.ebuild194
-rw-r--r--net-p2p/transmission/transmission-2.60.ebuild198
4 files changed, 13 insertions, 405 deletions
diff --git a/net-p2p/transmission/ChangeLog b/net-p2p/transmission/ChangeLog
index 1859eec04f37..69aed23ec213 100644
--- a/net-p2p/transmission/ChangeLog
+++ b/net-p2p/transmission/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/transmission
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.202 2012/07/25 09:05:49 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.203 2012/07/25 09:07:15 ssuominen Exp $
+
+ 25 Jul 2012; Samuli Suominen <ssuominen@gentoo.org>
+ -transmission-2.51.ebuild, -transmission-2.60.ebuild:
+ old
25 Jul 2012; Samuli Suominen <ssuominen@gentoo.org> transmission-2.52.ebuild:
ppc stable wrt #421537
diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 6c4cf4474265..87d9c04d6814 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -4,25 +4,21 @@ Hash: SHA1
AUX transmission-2.51-fbsd.patch 321 SHA256 0eebd135c43b647c65f9f3ddc2eda6668e30d80398eb3ca398f802b4e837e726 SHA512 11cb691c236aa630c06458d837bd8cdf1e22e686afa4366081c1146c99821ed70e1f24c8ddbe6b7a8c299095b5cb9d7193f108293d6951559a4bb2f5246068a8 WHIRLPOOL ed62c08b3aeddad5894b6a8307750378d858935f4adbb0cc30545d36549bd2639af718b46e21ee0d4f56bd117adcba0784b3b2bb8eef9fe815517160b751cbfd
AUX transmission-daemon.confd.3 703 SHA256 4b47acf195a14a322550cfcaa735a59aac38410d1c2c63ffa824ff131c55ca70 SHA512 a3b9ac2b7bbe30e33060c8b6a693dc7072d3c6ac44f92ddd567969d8f57a0bfc1a561e781ae167703ccb4b2fd5b0e6d8f8a66c5ba14fe01d8d89a501d4501474 WHIRLPOOL 41e2937a7bd03b6e667c991d122b8370d650dc8c26ed9e5825fe0e76aa68bb356171411e6057c44c1a51780f2f2d5eb23b8f3e1ad22a89836587944a8ef9e7c5
AUX transmission-daemon.initd.8 2247 SHA256 c4383a3380c7dac82941d073a3d52451ed6e1d6bf0969ea0fe3e86aa4b8cbe2e SHA512 bc27b582c02220fe1b771581a4ff7df4d8cbe39b778e1e30f9dd7f3ee6abd5114626cbdb3ede85a41ff80dce06c0f1d99ae45b00fafd16285301e70a25908547 WHIRLPOOL 69007d64bdc660e8cded35c229e1e20dd8cc68ae9d3d2b9a3980282e4ea180b16a223aafd75c0a177046dcbb5a25e9dd67cf69f604091b11f74e265b9e40df6d
-DIST transmission-2.51.tar.xz 2784036 SHA256 1c9a54864acf8fd0c7aa4132e9e69b454a7c72c305c96016a38551157af8858b SHA512 effa41be9e14bdecfb397d3803e415b1a6c572c0a3266a3400ca76d66da5d75c93f42cf381b1efce02cebb81e4296e527f8d9c8eb049feba0c94d5514a41ea12 WHIRLPOOL ebd9d3702074c3e5eb8ffb68278b4fca29c051154087932294af469fc92c8ba076933c5e3f431273ac04d9586cd4305a7c1d22ae0b7d5de676b6889a82ba5fd8
DIST transmission-2.52.tar.xz 2784408 SHA256 bcddfb7be014bc2765775a25217203d327bd1ec121971954623d8c3360c14e17 SHA512 87dc16c3ec1f2ca991657881f2f69f952d65f6636be74bfd78aa01fd331aaab67f8d0518f157514a31019908b157f89d5ec2a60a72baa85e57f7734a9eb50668 WHIRLPOOL 2a6246de2c7b85c7c636e3564a3df9a2d21483d6d00b294337556bf368cb448453db36bf101bee617bb8f81de7d6b8cd6aaa2502e4f50a27c527aaa7efb46bac
-DIST transmission-2.60.tar.xz 2905156 SHA256 e46540c5e9098eecc2d00c1b0c1defd687a01a1dc4bc3e2fc64722ef236d55e5 SHA512 0aea93263ce0bfb11629486a6f9d0ed9a5b0ec85cc15933271c073f73bb55f31ae6a32804b528093b2e435143ce3d6a25625bfb0411c75aaaf3832a7ffa26f34 WHIRLPOOL 72152f966b5f1971bfd2f2aaf9a1395718033a7e83c932d86c49a998f03e537070988580fa930f9525af7c4aac4d0ba7f55ee1fdfc0af59c7587590258e07cd8
DIST transmission-2.61.tar.xz 2876648 SHA256 1c4ccbf5d7dc7bb9615005f9db7bb0612c95ac908c6cf5d519e6f0126588765c SHA512 a34efd36b3520c8c0d6d7be65ee7b5019892ec9ee66c1c91d041aba24324da246f925cc00d0426e42b6157d0519811ba7259b167583b5c6758b35605878cc4ec WHIRLPOOL 03496ce3abaefcdaaf70d5864678bc1cc63cde4d86a7dccf6465d53346117c3ebb7f4f3c3fe04037168510a0dc5fccca829e1a375f3186e209da4d489d8772c2
-EBUILD transmission-2.51.ebuild 4138 SHA256 91b9d36a0a7f5eed1f9072583afaed33cd377e55154f14403633318a82d38aad SHA512 72952cce38eaa13c587dddd96abfef0e4fe67beea1596df1b02f0b8479f054d2bf86a8ec1f7269e43307b0d8e9eaac71e96362ee18aa4a39815b38a4104a6417 WHIRLPOOL 5776c762526fc4ac61f810dacfe8d7c21fbc7c02748df8b34605f03288b2d9412f68645709acaf0165d09f50becc441db2df8402d6d9427188deb79175421423
EBUILD transmission-2.52.ebuild 4316 SHA256 cd4f6dd1fa3d8d7d10df2156b92ecd949d3f9600247f58c98a3609a88015e720 SHA512 075459d7f2a7973f61be4b525381d2f7fec88645b8f119f20793c56f8d875efb4652f7c8fdc9ac6851f24c9b51b0e59f22ae9c807b043d482e3a9fdc1bf2c5ae WHIRLPOOL 1848571fbd4083ed358821d28142eeda9d8f2862b83e0f9ec0d69eba3f46e027d6754f5442b2e0733b36a0fa02d7896dd82a1208e2326ce4db352abadd7c244e
-EBUILD transmission-2.60.ebuild 4323 SHA256 1676e09e7f8b6c098ee23ae8d1fc16a8249f60e92b577922c3a7c3bad721fbb3 SHA512 66c370083153c11de650f8fe572468a0db4e828c16d5da231031c256216ebd429fc405ea28508a86053f1788c95685b39f6763141b657913c9483d1624eb8f72 WHIRLPOOL 6514232f0a24f58cbb4f23a4a351e8758090fc3c1f428f53f02febba16c1660bfb22a58d0b3d0f371c02a5e70b0845d725f9786342efb937bd7a138543056fdd
EBUILD transmission-2.61.ebuild 4070 SHA256 2c9dee28bc2555c2137e65c0d9641eb924059a78c630634c1e71330cb0458a8b SHA512 4069865524a0c6b4fa690fa603e36b2db095dafa16840ded650cb7aede4e8725e24d16f290a9e0ef5f50c85ae7a9ce6b98e0d1287564f4fd7f73b149bf11433f WHIRLPOOL 016fe756928f6f3f9a6cb8d18551151d6684d1a23338844919e41370c519197310081df11dca4eeebe679ff91d1e9074fde9e6d310a78e0334b55a1c164f3a40
EBUILD transmission-9999.ebuild 4071 SHA256 724c1244ae62fdc2e3f95990157a2d348c35fe9e8d6950fd34629424639631f3 SHA512 13c15573aa395e3e5121d244fca954f60d25377e867930507228e4767b8f23c013ec8b906a06c19d52a0d19149154d1cb7e46d3d27439f58e26eba7a3e6ee2cd WHIRLPOOL 883808703ae1ac9151a437c74886c6aa95c162afb273f782ac1cff484969cdfb8a83d4038aa29406f7a91aa4ac0e47e0d0ebcb8c97cc7ce79805668114a7ef3f
-MISC ChangeLog 35618 SHA256 719fa3456c1f7192ac4b7bd6dc8422aae7c5100f789a1c962956df30f9ce283e SHA512 d8c6f5602ecd2d63d5691be7af9f2368033cdf770c7d6ff90cb67ca8205726bda80f5687dbd45bad7ecba3ff3e3bd0cca0be6e780edb5720ea3eef7e1fc55a05 WHIRLPOOL ef9cc377b337026bfdf69a39122c9cfb4b6703d28e0913be053bd74a2882054cfd62f04286f6a63486ed8ce0c2ce8faeb15beb3a3096ee0fc431908fb1e2e23c
+MISC ChangeLog 35735 SHA256 98e14024184ea533c42131cfc9a414119dfd967de3113195a2be8402fd8d3468 SHA512 f3136a2bbb899b4ab8a84cce8ed18a6f6278ee5294011157a2d6d739e2cb2b9cad7b2ee565f52920abd15ff255c3fa9c793c46e9fd7cab7ea3194c4d5daa9508 WHIRLPOOL 075c5882620a73ca4a1db483e6cdceeb8774dea6c5b303df2bd3992e549760467f84ee01dcb487d51aec784fc63439249a02bb0d11ca4c6ba2e9d1efd2fd67c6
MISC metadata.xml 661 SHA256 5dadc7aff55c289bc229fdaeb2bf63475ad8c7ff8a523d7fdc4096e0755f2cff SHA512 239d8bfc15bc6d52c079f437f01cfec4ea23022e92a333f2758249644ed5327ec941a27110ce43b1fb2f80208a473c396f24215f1c8b18716dc4fd64427472f8 WHIRLPOOL 5099446a448ad86d10d456f23e08b0a09e8c76670641565f718b8f18cf0cf8eb1b916f71e52dbc58f36b4d4522c891009e37e0eef080817db5761c6d0ecf2816
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBAgAGBQJQD7bjAAoJEEdUh39IaPFNRUsH/0PcO0PaR1wx9ScaQXuEACTF
-Ih7I4s5dk5PFdTkNYtsRoJNNA66l5dKfPRrqul8VGCNqTp7sg4DVaGIGo47VycRT
-YooN61xxygw9Nql1VugdeKIrVwjOblp+f3xWX8Hnb4oDmb4PwnJA8Dq953dOwDmw
-vElN+TTkIay7yHDm0XbvGnjgjAtAvjqbO0XTPpy7eszgt2hU+0RPVUWvzIsl7UR8
-q5a5p1x2QjbOYPLJ25qFO7EiUO2S60zLX9WdntGqTxF501W9DYP55P2cgTiMkAT/
-bsdj068oTtg4N87ssJMnhKasaXBz4CCYIY+0iKHnBGhYKqSZRqHxeWX90wPVqWc=
-=n3C/
+iQEcBAEBAgAGBQJQD7c5AAoJEEdUh39IaPFNyccIAIpTuKBfKNm19BM1QUaAx5NV
+LO9r7fGjvCss6CUYeFIC8fqb9lzgibbrALIJiiEGLwfK5apdzQmrgrWWMrON5xIO
+2xSm/m6FCNFXeYcyUQ5W9xo4pInHz3DVvcd9WgK+NNJ3L5v5uf8Ahkot+0IUKAfa
+GcK/Yg5qSnTQRd4rICLmY6qbK8ZenWHJ6UCId+H2E3Ja6XSO1HKGKZppzKuJtNFm
+T878vjx3GphZQCTQkAXc05ESM07fVO+yR12YeFAaT06xkgTtGRCSZFf6CjUlBlEz
+PRGgivtO+uSHuNBGASltKU1znaeLiCkEG/0xFo7LZfgpC3kxscdL1PurIC82hlc=
+=Ub0n
-----END PGP SIGNATURE-----
diff --git a/net-p2p/transmission/transmission-2.51.ebuild b/net-p2p/transmission/transmission-2.51.ebuild
deleted file mode 100644
index 09d885f2e030..000000000000
--- a/net-p2p/transmission/transmission-2.51.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.51.ebuild,v 1.6 2012/06/01 04:12:06 zmedico Exp $
-
-EAPI=4
-LANGS="en es kk lt pt_BR ru"
-
-inherit autotools eutils fdo-mime gnome2-utils qt4-r2 user
-
-if [[ ${PV} == *9999* ]]; then
- ESVN_REPO_URI="svn://svn.transmissionbt.com/Transmission/trunk"
- inherit subversion
-else
- SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz"
- KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd"
-fi
-
-DESCRIPTION="A Fast, Easy and Free BitTorrent client"
-HOMEPAGE="http://www.transmissionbt.com/"
-
-LICENSE="GPL-2 MIT"
-SLOT="0"
-IUSE="ayatana gtk lightweight qt4 xfs"
-
-RDEPEND="
- >=dev-libs/libevent-2.0.10
- dev-libs/openssl:0
- net-libs/libnatpmp
- >=net-libs/miniupnpc-1.6
- >=net-misc/curl-7.16.3[ssl]
- sys-libs/zlib
- gtk? (
- >=dev-libs/dbus-glib-0.98
- >=dev-libs/glib-2.28
- >=x11-libs/gtk+-3.2:3
- ayatana? ( dev-libs/libappindicator:3 )
- )
- qt4? (
- x11-libs/qt-core:4
- x11-libs/qt-gui:4[dbus]
- )"
-
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- sys-devel/gettext
- virtual/os-headers
- 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_unpack() {
- if [[ ${PV} == *9999* ]]; then
- subversion_src_unpack
- else
- default
- fi
-}
-
-src_prepare() {
- if [[ ${PV} == *9999* ]]; then
- subversion_src_prepare
- ./update-version-h.sh
- fi
-
- epatch "${FILESDIR}"/${P}-fbsd.patch #400929
-
- sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac
- use ayatana || sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac
-
- # http://trac.transmissionbt.com/ticket/4324
- sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${PN}/Makefile.am || die
-
- intltoolize --copy --force --automake || die
- eautoreconf
-
- if use qt4; then
- cat <<-EOF > "${T}"/${PN}-magnet.protocol
- [Protocol]
- exec=${PN}-qt '%u'
- protocol=magnet
- Icon=${PN}
- input=none
- output=none
- helper=true
- listing=
- reading=false
- writing=false
- makedir=false
- deleting=false
- EOF
- fi
-}
-
-src_configure() {
- export ac_cv_header_xfs_xfs_h=$(usex xfs)
-
- econf \
- --enable-external-natpmp \
- $(use_enable lightweight) \
- $(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
-
- local l
- for l in ${LANGS}; do
- if use linguas_${l}; then
- lrelease translations/${PN}_${l}.ts
- fi
- done
- popd >/dev/null
- fi
-}
-
-src_install() {
- default
-
- rm -f "${ED}"/usr/share/${PN}/web/LICENSE
-
- newinitd "${FILESDIR}"/${PN}-daemon.initd.8 ${PN}-daemon
- newconfd "${FILESDIR}"/${PN}-daemon.confd.3 ${PN}-daemon
-
- keepdir /var/{${PN}/{config,downloads},log/${PN}}
- fowners -R ${PN}:${PN} /var/{${PN}/{,config,downloads},log/${PN}}
-
- if use qt4; then
- pushd qt >/dev/null
- emake INSTALL_ROOT="${D}"/usr install
-
- domenu ${PN}-qt.desktop
-
- local res
- for res in 16 22 24 32 48; do
- insinto /usr/share/icons/hicolor/${res}x${res}/apps
- newins icons/hicolor_apps_${res}x${res}_${PN}.png ${PN}-qt.png
- done
-
- insinto /usr/share/kde4/services
- doins "${T}"/${PN}-magnet.protocol
-
- insinto /usr/share/qt4/translations
- local l
- for l in ${LANGS}; do
- if use linguas_${l}; then
- doins translations/${PN}_${l}.qm
- fi
- done
- 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
-}
diff --git a/net-p2p/transmission/transmission-2.60.ebuild b/net-p2p/transmission/transmission-2.60.ebuild
deleted file mode 100644
index 2089b40ff758..000000000000
--- a/net-p2p/transmission/transmission-2.60.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.60.ebuild,v 1.1 2012/07/10 19:13:55 ssuominen Exp $
-
-EAPI=4
-LANGS="en es eu kk lt pt_BR ru"
-
-inherit autotools eutils fdo-mime gnome2-utils qt4-r2 user
-
-if [[ ${PV} == *9999* ]]; then
- ESVN_REPO_URI="svn://svn.transmissionbt.com/Transmission/trunk"
- inherit subversion
-else
- SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz"
- KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
-fi
-
-DESCRIPTION="A Fast, Easy and Free BitTorrent client"
-HOMEPAGE="http://www.transmissionbt.com/"
-
-LICENSE="GPL-2 MIT"
-SLOT=0
-IUSE="ayatana gtk lightweight qt4 xfs"
-
-RDEPEND="
- >=dev-libs/libevent-2.0.10
- dev-libs/openssl:0
- net-libs/libnatpmp
- >=net-libs/miniupnpc-1.6.20120509
- >=net-misc/curl-7.16.3[ssl]
- sys-libs/zlib
- gtk? (
- >=dev-libs/dbus-glib-0.98
- >=dev-libs/glib-2.28
- >=x11-libs/gtk+-3.2:3
- ayatana? ( >=dev-libs/libappindicator-0.4.90:3 )
- )
- qt4? (
- x11-libs/qt-core:4
- x11-libs/qt-gui:4[dbus]
- )"
-
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- sys-devel/gettext
- virtual/os-headers
- 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_unpack() {
- if [[ ${PV} == *9999* ]]; then
- subversion_src_unpack
- else
- default
- fi
-}
-
-src_prepare() {
- if [[ ${PV} == *9999* ]]; then
- subversion_src_prepare
- ./update-version-h.sh
- fi
-
- sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac
- use ayatana || sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac
-
- # http://trac.transmissionbt.com/ticket/4324
- sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${PN}/Makefile.am || die
-
- # http://bugs.gentoo.org/400929 ->
- # http://trac.transmissionbt.com/ticket/4915 ->
- # http://github.com/bittorrent/libutp/issues/35
- if ! grep -qs include.*netinet.*in.h third-party/libutp/utp.h; then
- epatch "${FILESDIR}"/${PN}-2.51-fbsd.patch
- fi
-
- eautoreconf
-
- if use qt4; then
- cat <<-EOF > "${T}"/${PN}-magnet.protocol
- [Protocol]
- exec=${PN}-qt '%u'
- protocol=magnet
- Icon=${PN}
- input=none
- output=none
- helper=true
- listing=
- reading=false
- writing=false
- makedir=false
- deleting=false
- EOF
- fi
-}
-
-src_configure() {
- export ac_cv_header_xfs_xfs_h=$(usex xfs)
-
- econf \
- --enable-external-natpmp \
- $(use_enable lightweight) \
- $(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
-
- local l
- for l in ${LANGS}; do
- if use linguas_${l}; then
- lrelease translations/${PN}_${l}.ts
- fi
- done
- popd >/dev/null
- fi
-}
-
-src_install() {
- default
-
- rm -f "${ED}"/usr/share/${PN}/web/LICENSE
-
- newinitd "${FILESDIR}"/${PN}-daemon.initd.8 ${PN}-daemon
- newconfd "${FILESDIR}"/${PN}-daemon.confd.3 ${PN}-daemon
-
- keepdir /var/{${PN}/{config,downloads},log/${PN}}
- fowners -R ${PN}:${PN} /var/{${PN}/{,config,downloads},log/${PN}}
-
- if use qt4; then
- pushd qt >/dev/null
- emake INSTALL_ROOT="${D}"/usr install
-
- domenu ${PN}-qt.desktop
-
- local res
- for res in 16 22 24 32 48; do
- insinto /usr/share/icons/hicolor/${res}x${res}/apps
- newins icons/hicolor_apps_${res}x${res}_${PN}.png ${PN}-qt.png
- done
-
- insinto /usr/share/kde4/services
- doins "${T}"/${PN}-magnet.protocol
-
- insinto /usr/share/qt4/translations
- local l
- for l in ${LANGS}; do
- if use linguas_${l}; then
- doins translations/${PN}_${l}.qm
- fi
- done
- 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
-}