summaryrefslogtreecommitdiff
path: root/net-libs/phodav
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-10 01:33:06 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-10 01:33:06 +0100
commit1603847507a63218a29aada46e43f133d16d07eb (patch)
treed016ef447a3a8c16f799a1ac08cdd241e7893e39 /net-libs/phodav
parent861ffe012c63c48053fb77b5110cbe900f651dfd (diff)
gentoo auto-resync : 10:10:2022 - 01:33:06
Diffstat (limited to 'net-libs/phodav')
-rw-r--r--net-libs/phodav/Manifest4
-rw-r--r--net-libs/phodav/phodav-2.5.ebuild2
-rw-r--r--net-libs/phodav/phodav-3.0.ebuild69
3 files changed, 74 insertions, 1 deletions
diff --git a/net-libs/phodav/Manifest b/net-libs/phodav/Manifest
index 7f9423589d5e..eb3c4a9339b6 100644
--- a/net-libs/phodav/Manifest
+++ b/net-libs/phodav/Manifest
@@ -2,5 +2,7 @@ AUX 2.5-meson-Allow-specifying-systemd-udev-directories.patch 2410 BLAKE2B c511c
AUX 70-spice-webdavd.rules 159 BLAKE2B 712c2513f1322e4144229e31c4df83cec6780a57590c26cca76d5a1d2844a7ea6bd0696906abba5441023b44985e26cee578a4c21ec00b62b236fdc25de2a964 SHA512 f9a427f0d4f4db4aa3e0c7a4f77281b405ebde3e932bf591f018f39f6094fa47f16649534b2dc45434433367f60b98d58e32e49c5b03ba1333015319de5644cc
AUX spice-webdavd.initd 344 BLAKE2B 6a7f36f4f698e5327455b3e95a71ae39df56f6d57e8dbb050d255cb87e1847f6672ab7121829d08c39ae0b028c2e7d8e375724a1b6e06e8e547291cf0188749b SHA512 df4e08bb5fec88bd7c0002e25c5ce348f538d49de9b74890c97a53516e8c3d0f60c87c77050c5357e73f5d33f1daaabb9007d7e35d4d34b15b105dc4ce273dfb
DIST phodav-2.5.tar.xz 62992 BLAKE2B aca0141c20c727dd27af3760caf27ec0f7a4936c3c35dbdb60a8a15b5bd75ebd97dfef8bb96f50b266d7a0e53fb8c0e21416dea855ff107b362dba0e89283a64 SHA512 4b6cd6a40118bf9c042abcfc3e7cb593b620922aae4dd3daf77682bf9da2030a0958bc0206531d5950f85551ef8f5da21fb21c54b9bd5e56b880f54e0983bc01
-EBUILD phodav-2.5.ebuild 1342 BLAKE2B 672a11da1d3269bf2f9d8659ff6a8d1da315bfa1a24041864f925b344ec9ce33f826fc138daaf541ab880e75427662a248b43d13cebd6cf35082d70c8e6f3eb4 SHA512 8e106c1fcf1b48e09a19b070c4efefb1451721757401e6d2142d52625d65592cc70e8d85beb9dfca9c02539d8ee8e0f2572c500ccdbfc759c9a71a025c792cb8
+DIST phodav-3.0.tar.xz 65728 BLAKE2B c7980fc9c8e5fe3034b16bbb6433d09b4365a5c50188476f4dfcb1d1ae32f4988c22933b4c811dbef44fe5fc4fbebcf6beb8e859a3c9d01fb7075336caaba8ca SHA512 a4720083fd581023ea78cc09e6df4b5d2f90894f916004cf28c7fa557da61d8c7a5539fa6b50647efcd9f771afd088889fdc40579a8e860c8ea20540b25eb26a
+EBUILD phodav-2.5.ebuild 1403 BLAKE2B 0dcb2613d47b4d0915f0e9965b941ae02c6994c26ef851ff07185c654ec82f1a640e36f03409e30459d79832c6bd61b74503d37e58c2defe0f32096357c863ee SHA512 8072bbe264024ea99f13c5bc9c46b40920fe486eb18d73cf745e99f6b57abaebbbb1f13423a881dd98cfe28e748b4866462a5aa4cb3c49afd7cfe97a90dc646b
+EBUILD phodav-3.0.ebuild 1383 BLAKE2B e8c6f975794ebaf509c59b50d16d68b393c96e163d612224a6812d72457de7e10446cb1f5deb5d20d183a42d065bf8ca4183a17fe398d438ecf18fcf91bba5db SHA512 4205798331b276a204e0f256bb158f26beac8a518b7e9c38518dc2f4ce02894197f75f0e5754966e9a3ffc5dea434bf0a0f0c4c8b65ad055a66ac68ec82e278e
MISC metadata.xml 386 BLAKE2B 9efbb5b0f8cf55cfd7f3ec7fc504507ce39606738b7f76713d8a1840f6f9f8815571af74e0a83a0c9f0f7f58ba7a7f25b9fb92f8972936dfb208004c69a8631e SHA512 203cb3e2a102307f6ddd5a6cab91de58e4e58053f43951158239448cb18889a23d67e8f81255c53c313788779ef3f143965d7e3606dda92e4dd4857db67a0b63
diff --git a/net-libs/phodav/phodav-2.5.ebuild b/net-libs/phodav/phodav-2.5.ebuild
index 0e03c1c68781..4476c7ea8bf5 100644
--- a/net-libs/phodav/phodav-2.5.ebuild
+++ b/net-libs/phodav/phodav-2.5.ebuild
@@ -23,9 +23,11 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
app-text/asciidoc
+ app-text/docbook-xml-dtd:4.5
app-text/xmlto
sys-devel/gettext
virtual/pkgconfig
+ gtk-doc? ( dev-util/gtk-doc )
test? ( gnome-base/dconf )
"
diff --git a/net-libs/phodav/phodav-3.0.ebuild b/net-libs/phodav/phodav-3.0.ebuild
new file mode 100644
index 000000000000..417b8f4b9adf
--- /dev/null
+++ b/net-libs/phodav/phodav-3.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org meson systemd udev
+
+DESCRIPTION="WebDav server implementation using libsoup"
+HOMEPAGE="https://wiki.gnome.org/phodav https://gitlab.gnome.org/GNOME/phodav"
+
+LICENSE="LGPL-2.1+"
+SLOT="3.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="gtk-doc systemd test zeroconf"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/glib-2.51.2:2
+ >=net-libs/libsoup-3.0.0:3.0
+ dev-libs/libxml2
+ zeroconf? ( net-dns/avahi[dbus] )
+
+ !net-libs/phodav:2.0
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-text/asciidoc
+ app-text/docbook-xml-dtd:4.5
+ app-text/xmlto
+ sys-devel/gettext
+ virtual/pkgconfig
+ gtk-doc? ( dev-util/gtk-doc )
+ test? ( gnome-base/dconf )
+"
+
+src_prepare() {
+ default
+
+ if ! use zeroconf ; then
+ sed -i -e 's|avahi-daemon.service||' data/spice-webdavd.service || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature gtk-doc gtk_doc)
+ $(meson_feature zeroconf avahi)
+ -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
+ -Dudevrulesdir="$(get_udevdir)/rules.d"
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+
+ if ! use systemd ; then
+ newinitd "${FILESDIR}/spice-webdavd.initd" spice-webdavd
+ udev_dorules "${FILESDIR}/70-spice-webdavd.rules"
+ fi
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}