From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C8509139085 for ; Sun, 15 Jan 2017 16:45:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 867DE23408C; Sun, 15 Jan 2017 16:45:01 +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 517FA23408C for ; Sun, 15 Jan 2017 16:44:56 +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 3CE2A3412CB for ; Sun, 15 Jan 2017 16:44:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 565902825 for ; Sun, 15 Jan 2017 16:44:52 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1484498676.4d34d757998017cba453361a9c0363444eb33a19.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/phodav/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/phodav/Manifest net-libs/phodav/phodav-2.1.ebuild X-VCS-Directories: net-libs/phodav/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 4d34d757998017cba453361a9c0363444eb33a19 X-VCS-Branch: master Date: Sun, 15 Jan 2017 16:44:52 +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: 5197614a-f015-4dfb-bea2-f70e84bba1a6 X-Archives-Hash: 4b4169178a0df4dff357017a7728d0ab commit: 4d34d757998017cba453361a9c0363444eb33a19 Author: Pacho Ramos gentoo org> AuthorDate: Sun Jan 15 16:32:50 2017 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Jan 15 16:44:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d34d757 net-libs/phodav: Version bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-libs/phodav/Manifest | 1 + net-libs/phodav/phodav-2.1.ebuild | 56 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/net-libs/phodav/Manifest b/net-libs/phodav/Manifest index e190627..4a563eb 100644 --- a/net-libs/phodav/Manifest +++ b/net-libs/phodav/Manifest @@ -1 +1,2 @@ DIST phodav-2.0.tar.xz 277672 SHA256 53b42faf2d6edfb0072dbbbe9b8360d8603cca2cacd142df8d1781b9ba0cb9ed SHA512 4da0f3ef7ce2ffd89e43569ad00456f9580f4005a6830a8cc36a7787cc9e06d285326376373a0d690a1868b1c10da0f3ba49b4eb8dcff3042f5c64cbe1fe0aba WHIRLPOOL 5d1ba19f502a72a86e7dbf47ca43cd5d711241fcdb936364c98de88df57cb49db88cdd0768c133bb936c40be98107f06d8b6d8f8cb1b51d2a05e33b83d36f8a4 +DIST phodav-2.1.tar.xz 293128 SHA256 da6073440b4cfd63f4d65b17e1a2a35ff501c7c940591da4533a03c2233ab898 SHA512 e43bd4c9ed97b7454e8452246c37211905b4cff430e91f3d2d36182736e1b8924d6ad477f58f110c98b85f02c085cd12c099020a0bea8abb19e65a9d52e1f4a8 WHIRLPOOL 4091fb0ac23b6a57c385054afa66a61eb038a37593167d888755dad38894898b45d7fcab6fa6d7582e4e2c5f0879e1ac782df2efc03e7e4372ac0a3341a4b10d diff --git a/net-libs/phodav/phodav-2.1.ebuild b/net-libs/phodav/phodav-2.1.ebuild new file mode 100644 index 00000000..581ca52 --- /dev/null +++ b/net-libs/phodav/phodav-2.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +GNOME2_LA_PUNT="yes" + +inherit autotools gnome2 systemd udev + +DESCRIPTION="WebDav server implementation using libsoup" +HOMEPAGE="https://wiki.gnome.org/phodav" + +LICENSE="LGPL-2.1+" +SLOT="2.0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="spice systemd zeroconf" + +RDEPEND=" + dev-libs/glib:2 + >=net-libs/libsoup-2.48:2.4 + dev-libs/libxml2 + zeroconf? ( net-dns/avahi ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.10 + >=dev-util/intltool-0.40.0 + sys-devel/gettext + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure \ + --disable-static \ + --program-suffix=-${SLOT} \ + $(use_with zeroconf avahi) \ + --with-udevdir=$(get_udevdir) \ + --with-systemdsystemunitdir=$(systemd_get_systemunitdir) + + if ! use zeroconf ; then + sed -i -e 's|avahi-daemon.service||' data/spice-webdavd.service || die + fi +} + +src_install() { + gnome2_src_install + + if use spice ; then + if ! use systemd ; then + newinitd "${FILESDIR}/spice-webdavd.initd" spice-webdavd + udev_dorules "${FILESDIR}/70-spice-webdavd.rules" + rm -r "${D}$(systemd_get_unitdir)" || die + fi + else + rm -r "${D}"{/usr/sbin,$(get_udevdir),$(systemd_get_systemunitdir)} || die + fi +}