1 |
commit: 31992b5da9059df57d3866566af9ab584c028ff0 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 16 06:39:53 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 16 06:39:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31992b5d |
7 |
|
8 |
media-video/ushare: Drop old |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
media-video/ushare/ushare-1.1a-r6.ebuild | 62 -------------------------------- |
14 |
1 file changed, 62 deletions(-) |
15 |
|
16 |
diff --git a/media-video/ushare/ushare-1.1a-r6.ebuild b/media-video/ushare/ushare-1.1a-r6.ebuild |
17 |
deleted file mode 100644 |
18 |
index b49031658f2..00000000000 |
19 |
--- a/media-video/ushare/ushare-1.1a-r6.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,62 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=4 |
26 |
-inherit eutils multilib readme.gentoo toolchain-funcs user systemd |
27 |
- |
28 |
-DESCRIPTION="uShare is a UPnP (TM) A/V & DLNA Media Server" |
29 |
-HOMEPAGE="http://ushare.geexbox.org/" |
30 |
-SRC_URI="http://ushare.geexbox.org/releases/${P}.tar.bz2" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="amd64 x86" |
35 |
-IUSE="nls" |
36 |
- |
37 |
-RDEPEND=">=net-libs/libupnp-1.6.14:0" |
38 |
-DEPEND="${RDEPEND} |
39 |
- virtual/pkgconfig" |
40 |
- |
41 |
-src_prepare() { |
42 |
- EPATCH_EXCLUDE="06_all_ushare_disable_sysconf.patch" |
43 |
- EPATCH_SOURCE="${FILESDIR}" EPATCH_SUFFIX="patch" \ |
44 |
- EPATCH_OPTS="-p1" epatch |
45 |
- |
46 |
- DOC_CONTENTS="Please edit /etc/ushare.conf to set the shared directories |
47 |
- and other important settings. Check system log if ushare is |
48 |
- not booting." |
49 |
-} |
50 |
- |
51 |
-src_configure() { |
52 |
- local myconf |
53 |
- myconf="--prefix=/usr --sysconfdir=/etc --disable-strip --disable-dlna" |
54 |
- # nls can only be disabled, on by default. |
55 |
- use nls || myconf="${myconf} --disable-nls" |
56 |
- |
57 |
- # I can't use econf |
58 |
- # --host is not implemented in ./configure file |
59 |
- tc-export CC CXX |
60 |
- |
61 |
- ./configure ${myconf} || die "./configure failed" |
62 |
-} |
63 |
- |
64 |
-src_install() { |
65 |
- emake DESTDIR="${D}" install |
66 |
- doman src/ushare.1 |
67 |
- newconfd "${FILESDIR}"/${PN}.conf.d ${PN} |
68 |
- newinitd "${FILESDIR}"/${PN}.init.d.ng ${PN} |
69 |
- dodoc NEWS README TODO THANKS AUTHORS |
70 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
71 |
- readme.gentoo_create_doc |
72 |
-} |
73 |
- |
74 |
-pkg_postinst() { |
75 |
- enewuser ushare |
76 |
- readme.gentoo_print_elog |
77 |
- elog |
78 |
- elog "The config file has been moved to /etc/ushare.conf" |
79 |
- elog "Please migrate your settings from /etc/conf.d/ushare" |
80 |
- elog "to /etc/ushare.conf in order to use the ushare init script" |
81 |
- elog "and systemd unit service." |
82 |
- elog |
83 |
-} |