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 7B90F139694 for ; Sun, 23 Apr 2017 22:40:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7724E0DC6; Sun, 23 Apr 2017 22:40:44 +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 93D5DE0DC6 for ; Sun, 23 Apr 2017 22:40:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 85BBC33BEA7 for ; Sun, 23 Apr 2017 22:40:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4DB27442 for ; Sun, 23 Apr 2017 22:40:29 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1492987126.268327764eac740079c59a5dfe864f34fbe45990.leio@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.2.ebuild X-VCS-Directories: net-libs/phodav/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 268327764eac740079c59a5dfe864f34fbe45990 X-VCS-Branch: master Date: Sun, 23 Apr 2017 22:40:29 +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: 83959893-b6cb-4b19-b4bf-91cef51a58cb X-Archives-Hash: 87caf015606581e1b3f2b1e1919d1d0f commit: 268327764eac740079c59a5dfe864f34fbe45990 Author: Mart Raudsepp gentoo org> AuthorDate: Sun Apr 23 20:45:46 2017 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Sun Apr 23 22:38:46 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26832776 net-libs/phodav: bump to 2.2 for glib-2.52 compatibility Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-libs/phodav/Manifest | 1 + net-libs/phodav/phodav-2.2.ebuild | 58 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/net-libs/phodav/Manifest b/net-libs/phodav/Manifest index 4ed4e95a238..9bfd5a12dcf 100644 --- a/net-libs/phodav/Manifest +++ b/net-libs/phodav/Manifest @@ -1 +1,2 @@ DIST phodav-2.1.tar.xz 293128 SHA256 da6073440b4cfd63f4d65b17e1a2a35ff501c7c940591da4533a03c2233ab898 SHA512 e43bd4c9ed97b7454e8452246c37211905b4cff430e91f3d2d36182736e1b8924d6ad477f58f110c98b85f02c085cd12c099020a0bea8abb19e65a9d52e1f4a8 WHIRLPOOL 4091fb0ac23b6a57c385054afa66a61eb038a37593167d888755dad38894898b45d7fcab6fa6d7582e4e2c5f0879e1ac782df2efc03e7e4372ac0a3341a4b10d +DIST phodav-2.2.tar.xz 294216 SHA256 080305dc9e804562f200ffc8c7d345c76754fce9cb01489dddb1b2c52c0557c1 SHA512 1d16716c1bda674a6695b651e9b1bcb4b7cfefd9b60291ed3f5691f4f6f45f68a970d99fc4820bed0484cf0a43c1bf32e4d208fcc239ac0c0b7a75bf779e8913 WHIRLPOOL 6f5dd0ab04a48d307254f8aa0e0e02440b3f2e39a750f7da3fee24cd463a76dfe06e07779c789c7f2ca30093511ee774740b4ab19662fca27c5aff8af556d885 diff --git a/net-libs/phodav/phodav-2.2.ebuild b/net-libs/phodav/phodav-2.2.ebuild new file mode 100644 index 00000000000..cb299868916 --- /dev/null +++ b/net-libs/phodav/phodav-2.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" + +inherit 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" + +# It included g_uuid_* symbols of its own from an unapplied patch to glib; now that they +# were merged, it conflicts and crashes. Ensure glib versions from >2.51 are used, so it +# doesn't break badly when phodav-2.2 is upgraded to before glib to 2.52 +RDEPEND=" + >=dev-libs/glib-2.51: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_systemunitdir)" || die + fi + else + rm -r "${D}"{/usr/sbin,$(get_udevdir),$(systemd_get_systemunitdir)} || die + fi +}