From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 76B0F59CA3 for ; Sun, 6 Mar 2016 10:58:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBF59E03EC; Sun, 6 Mar 2016 10:58:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75A5FE03EC for ; Sun, 6 Mar 2016 10:58:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6642C340A3B for ; Sun, 6 Mar 2016 10:58:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B572F8F5 for ; Sun, 6 Mar 2016 10:58:45 +0000 (UTC) From: "Markos Chandras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markos Chandras" Message-ID: <1457261865.ac4ae84779cbc73d81ac4e3a289a75ea62698f41.hwoarang@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/ushare/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/ushare/ushare-1.1a-r7.ebuild X-VCS-Directories: media-video/ushare/ X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras X-VCS-Revision: ac4ae84779cbc73d81ac4e3a289a75ea62698f41 X-VCS-Branch: master Date: Sun, 6 Mar 2016 10:58:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bdb6e8e9-cf4b-4d69-9d6e-738b0d266ec3 X-Archives-Hash: a8c33716d119323310af5c71d144dd11 commit: ac4ae84779cbc73d81ac4e3a289a75ea62698f41 Author: Markos Chandras gentoo org> AuthorDate: Sun Mar 6 10:50:30 2016 +0000 Commit: Markos Chandras gentoo org> CommitDate: Sun Mar 6 10:57:45 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac4ae847 media-video/ushare: Drop libdlna support. Bug #571078 Package-Manager: portage-2.2.27 media-video/ushare/ushare-1.1a-r7.ebuild | 63 ++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/media-video/ushare/ushare-1.1a-r7.ebuild b/media-video/ushare/ushare-1.1a-r7.ebuild new file mode 100644 index 0000000..43b638f --- /dev/null +++ b/media-video/ushare/ushare-1.1a-r7.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils multilib readme.gentoo toolchain-funcs user systemd + +DESCRIPTION="uShare is a UPnP (TM) A/V & DLNA Media Server" +HOMEPAGE="http://ushare.geexbox.org/" +SRC_URI="http://ushare.geexbox.org/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND=">=net-libs/libupnp-1.6.14" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + EPATCH_EXCLUDE="06_all_ushare_disable_sysconf.patch" + EPATCH_SOURCE="${FILESDIR}" EPATCH_SUFFIX="patch" \ + EPATCH_OPTS="-p1" epatch + + DOC_CONTENTS="Please edit /etc/ushare.conf to set the shared directories + and other important settings. Check system log if ushare is + not booting." +} + +src_configure() { + local myconf + myconf="--prefix=/usr --sysconfdir=/etc --disable-strip" + # nls can only be disabled, on by default. + use nls || myconf="${myconf} --disable-nls" + + # I can't use econf + # --host is not implemented in ./configure file + tc-export CC CXX + + ./configure ${myconf} || die "./configure failed" +} + +src_install() { + emake DESTDIR="${D}" install + doman src/ushare.1 + newconfd "${FILESDIR}"/${PN}.conf.d ${PN} + newinitd "${FILESDIR}"/${PN}.init.d.ng ${PN} + dodoc NEWS README TODO THANKS AUTHORS + systemd_dounit "${FILESDIR}"/${PN}.service + readme.gentoo_create_doc +} + +pkg_postinst() { + enewuser ushare + readme.gentoo_print_elog + elog + elog "The config file has been moved to /etc/ushare.conf" + elog "Please migrate your settings from /etc/conf.d/ushare" + elog "to /etc/ushare.conf in order to use the ushare init script" + elog "and systemd unit service." + elog +}