Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/irtrans-irserver/
Date: Sat, 26 Sep 2020 19:40:41
Message-Id: 1601149216.52acd340d0f4d05dc5d77bcdad0619c3a25a385e.bman@gentoo
1 commit: 52acd340d0f4d05dc5d77bcdad0619c3a25a385e
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 19:21:48 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 19:40:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52acd340
7
8 app-misc/irtrans-irserver: drop old EAPI=5
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 .../irtrans-irserver-6.09.04.ebuild | 83 ----------------------
13 1 file changed, 83 deletions(-)
14
15 diff --git a/app-misc/irtrans-irserver/irtrans-irserver-6.09.04.ebuild b/app-misc/irtrans-irserver/irtrans-irserver-6.09.04.ebuild
16 deleted file mode 100644
17 index 50d29ff2a79..00000000000
18 --- a/app-misc/irtrans-irserver/irtrans-irserver-6.09.04.ebuild
19 +++ /dev/null
20 @@ -1,83 +0,0 @@
21 -# Copyright 1999-2019 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI="5"
25 -
26 -inherit eutils flag-o-matic toolchain-funcs mono-env multilib
27 -
28 -RESTRICT="strip"
29 -
30 -DESCRIPTION="IRTrans Server"
31 -HOMEPAGE="http://www.irtrans.de"
32 -SRC_URI="http://ftp.disconnected-by-peer.at/irtrans/irserver-src-${PV}.tar.gz
33 - http://ftp.disconnected-by-peer.at/irtrans/irserver-${PV}.tar.gz
34 - http://www.irtrans.de/download/Server/Linux/irserver-src.tar.gz -> irserver-src-${PV}.tar.gz
35 - http://www.irtrans.de/download/Server/Linux/irserver.tar.gz -> irserver-${PV}.tar.gz"
36 -
37 -LICENSE="BSD GPL-2"
38 -SLOT="0"
39 -KEYWORDS="~amd64 ~arm ~x86"
40 -IUSE="mono"
41 -
42 -RDEPEND="mono? ( >=dev-lang/mono-2.10.5 )"
43 -
44 -S="${WORKDIR}"
45 -
46 -src_prepare() {
47 - sed -e 's!^ODIRARM = .*!ODIRARM = n800!' -i makefile
48 -}
49 -
50 -src_compile() {
51 - append-flags -DLINUX -DMEDIACENTER
52 - append-ldflags --static
53 -
54 - # Set sane defaults (arm target has no -D flags added)
55 - irbuild=irserver_arm_noccf
56 - irserver=irserver
57 -
58 - # change variable by need
59 - if use x86 ; then
60 - irbuild=irserver
61 - elif use amd64 ; then
62 - irbuild=irserver64
63 - irserver=irserver64
64 - elif use arm ; then
65 - irbuild=irserver_arm
66 - fi
67 -
68 - # Some output for bugreport
69 - einfo "CFLAGS=\"${CFLAGS}\""
70 - einfo "Build Target=\"${irbuild}\""
71 - einfo "Build Binary=\"${irserver}\""
72 -
73 - # Build
74 - emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
75 - CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" "${irbuild}"
76 -}
77 -
78 -src_install() {
79 - newbin "${WORKDIR}/${irserver}" irserver
80 -
81 - keepdir /etc/irserver/remotes
82 -
83 - docinto remotes
84 - dodoc remotes/*
85 -
86 - newinitd "${FILESDIR}"/irtrans-server.initd irtrans-server
87 - newconfd "${FILESDIR}"/irtrans-server.confd irtrans-server
88 -
89 - if use mono ; then
90 - # Wrapper script to launch mono
91 - make_wrapper irguiclient "mono /usr/$(get_libdir)/${PN}/GUIClient.exe"
92 -
93 - insinto /usr/$(get_libdir)/${PN}/
94 - exeinto /usr/$(get_libdir)/${PN}/
95 -
96 - # The Libs and Translations
97 - doins GUIClient/*.tra
98 - doexe GUIClient/*.dll
99 -
100 - # The actual executable
101 - doexe GUIClient/*.exe
102 - fi
103 -}