summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-07-18 09:18:03 -0400
committerMike Gilbert <floppym@gentoo.org>2020-07-18 09:19:08 -0400
commit55ade643b77337f69d7511f1f3f06806e4ca0328 (patch)
tree81fbfeb2918fcecd666e14edb596f1409e11f8e5 /net-p2p/transmission
parentnet-misc/freerdp: remove old (diff)
downloadgentoo-55ade643b77337f69d7511f1f3f06806e4ca0328.tar.gz
gentoo-55ade643b77337f69d7511f1f3f06806e4ca0328.tar.bz2
gentoo-55ade643b77337f69d7511f1f3f06806e4ca0328.zip
net-p2p/transmission: remove old
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r--net-p2p/transmission/Manifest1
-rw-r--r--net-p2p/transmission/files/libsystemd.patch11
-rw-r--r--net-p2p/transmission/metadata.xml1
-rw-r--r--net-p2p/transmission/transmission-2.94-r1.ebuild159
4 files changed, 0 insertions, 172 deletions
diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 5fd51e6815c6..1b20bc82f39b 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,2 +1 @@
-DIST transmission-2.94.tar.xz 3365952 BLAKE2B d0215a2c595dd3ebb2ed5c94cc3d380c78f62b98388557620534b88b9e2304bb6ac91960395541267f82d70800c4860d0e58125bca33dd158da992d19b4c0def SHA512 ee411743940f2897aa0bbc351ce79f11d860075d2e9e399d60301eae8cfc453e20426ef553fc62ee43019a07c052d512f5d7972cc4411fb57b1312c2c1558da7
DIST transmission-3.00.tar.xz 3995080 BLAKE2B fb1be44aa630e6a1cf15511ab4ab40156edb16f9410b83058c53548f466fb9502c23157756a29e921e4468db1ebac7832b755cfcf98451c663c64401559f5498 SHA512 c8fb96086ba4b18f04d6181a29f6e2af85864840c533f3470a202dfa686e9431caeccd25f12c975a9a8f9b7802ca0bd73c4edc1ca06bdbada682326cad188a76
diff --git a/net-p2p/transmission/files/libsystemd.patch b/net-p2p/transmission/files/libsystemd.patch
deleted file mode 100644
index 5db47ef39bd9..000000000000
--- a/net-p2p/transmission/files/libsystemd.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -245,7 +245,7 @@
- [Add support for systemd startup notification (default is autodetected)]),
- [USE_SYSTEMD_DAEMON=$withval], [USE_SYSTEMD_DAEMON=auto])
- AS_IF([test "x$USE_SYSTEMD_DAEMON" != "xno"], [
-- PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon],
-+ PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd],
- [AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])],
- [AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"],
- [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd-daemon not found.])]
diff --git a/net-p2p/transmission/metadata.xml b/net-p2p/transmission/metadata.xml
index a5cf0e4c937c..f4f00780e768 100644
--- a/net-p2p/transmission/metadata.xml
+++ b/net-p2p/transmission/metadata.xml
@@ -8,6 +8,5 @@
<use>
<flag name="lightweight">Optimize transmission for low-resource systems (smaller cache size, prefer unencrypted peer connections, etc.)</flag>
<flag name="mbedtls">Use mbed TLS instead of OpenSSL</flag>
- <flag name="xfs">Enable XFS filesystem capabilities by using <pkg>sys-fs/xfsprogs</pkg> headers (in building of fdlimit(.c))</flag>
</use>
</pkgmetadata>
diff --git a/net-p2p/transmission/transmission-2.94-r1.ebuild b/net-p2p/transmission/transmission-2.94-r1.ebuild
deleted file mode 100644
index 432fe079c923..000000000000
--- a/net-p2p/transmission/transmission-2.94-r1.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic gnome2-utils qmake-utils systemd xdg-utils
-
-DESCRIPTION="A Fast, Easy and Free BitTorrent client"
-HOMEPAGE="http://www.transmissionbt.com/"
-SRC_URI="https://github.com/transmission/transmission-releases/raw/master/${P}.tar.xz"
-
-# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest
-# transmission in licenses/ is for mentioning OpenSSL linking exception
-# MIT is in several libtransmission/ headers
-LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
-SLOT=0
-IUSE="appindicator gtk libressl lightweight systemd qt5 xfs"
-KEYWORDS="amd64 ~arm ~arm64 ~mips ppc ppc64 x86 ~amd64-linux"
-
-ACCT_DEPEND="
- acct-group/transmission
- acct-user/transmission
-"
-COMMON_DEPEND=">=dev-libs/libevent-2.0.10:=
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl: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
- appindicator? ( >=dev-libs/libappindicator-0.4.90:3 )
- )
- qt5? (
- dev-qt/qtcore:5
- dev-qt/qtdbus:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtwidgets:5
- )
- systemd? ( >=sys-apps/systemd-209:= )"
-DEPEND="${COMMON_DEPEND}
- ${ACCT_DEPEND}
- >=dev-libs/glib-2.32
- dev-util/intltool
- sys-devel/gettext
- virtual/os-headers
- virtual/pkgconfig
- qt5? ( dev-qt/linguist-tools:5 )
- xfs? ( sys-fs/xfsprogs )"
-RDEPEND="${COMMON_DEPEND}
- ${ACCT_DEPEND}"
-
-REQUIRED_USE="appindicator? ( gtk )"
-
-DOCS=( AUTHORS NEWS qt/README.txt )
-
-PATCHES=(
- "${FILESDIR}"/libsystemd.patch
-)
-
-src_prepare() {
- sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
-
- # Trick to avoid automagic dependency
- if ! use appindicator ; then
- sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die
- fi
-
- # http://trac.transmissionbt.com/ticket/4324
- sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' libtransmission/Makefile.am || die
-
- # Prevent m4_copy error when running aclocal
- # m4_copy: won't overwrite defined macro: glib_DEFUN
- rm m4/glib-gettext.m4 || die
-
- default
- eautoreconf
-}
-
-src_configure() {
- export ac_cv_header_xfs_xfs_h=$(usex xfs)
-
- # https://bugs.gentoo.org/577528
- append-lfs-flags
-
- econf \
- --enable-external-natpmp \
- $(use_enable lightweight) \
- $(use_with systemd systemd-daemon) \
- $(use_with gtk)
-
- if use qt5; then
- pushd qt >/dev/null || die
- eqmake5 qtr.pro
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- emake
-
- if use qt5; then
- emake -C qt
- $(qt5_get_bindir)/lrelease qt/translations/*.ts || die
- fi
-}
-
-src_install() {
- default
-
- rm "${ED%/}"/usr/share/transmission/web/LICENSE || die
-
- newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon
- newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon
- systemd_dounit daemon/transmission-daemon.service
- systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf
-
- insinto /usr/lib/sysctl.d
- doins "${FILESDIR}"/60-transmission.conf
-
- if use qt5; then
- pushd qt >/dev/null || die
- emake INSTALL_ROOT="${ED%/}"/usr install
-
- domenu transmission-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}/transmission-qt.png
- done
- doicon -s scalable icons/hicolor/scalable/transmission-qt.svg
-
- insinto /usr/share/qt5/translations
- doins translations/*.qm
- popd >/dev/null || die
- fi
-
- if [[ ${EUID} == 0 ]]; then
- diropts -o transmission -g transmission
- fi
- keepdir /var/lib/transmission
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}