aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettalcox <brettalcox@gmail.com>2023-10-04 22:11:14 -0500
committerbrettalcox <brettalcox@gmail.com>2023-10-04 22:11:14 -0500
commit1f0e8450b351f67f4289d06f9eecc305d8c5bcf2 (patch)
tree545f10ed5d4f537be0473f529788c5c98687bc91 /net-libs
parentgames-util/xivlauncher: add 1.0.6, drop 1.0.5 (diff)
downloadguru-1f0e8450b351f67f4289d06f9eecc305d8c5bcf2.tar.gz
guru-1f0e8450b351f67f4289d06f9eecc305d8c5bcf2.tar.bz2
guru-1f0e8450b351f67f4289d06f9eecc305d8c5bcf2.zip
net-libs/syndication-domination: new package, add 9999
Signed-off-by: brettalcox <brettalcox@gmail.com>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/syndication-domination/metadata.xml15
-rw-r--r--net-libs/syndication-domination/syndication-domination-9999.ebuild54
2 files changed, 69 insertions, 0 deletions
diff --git a/net-libs/syndication-domination/metadata.xml b/net-libs/syndication-domination/metadata.xml
new file mode 100644
index 000000000..81cf0cee7
--- /dev/null
+++ b/net-libs/syndication-domination/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>brettalcox@gmail.com</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">GabMus/syndication-domination</remote-id>
+ </upstream>
+ <use>
+ <flag name="json-binary">
+ Builds a binary executable instead of python bindings
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/net-libs/syndication-domination/syndication-domination-9999.ebuild b/net-libs/syndication-domination/syndication-domination-9999.ebuild
new file mode 100644
index 000000000..92791e1b5
--- /dev/null
+++ b/net-libs/syndication-domination/syndication-domination-9999.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="An RSS/Atom parser, because there's nothing else out there."
+HOMEPAGE="https://gitlab.com/gabmus/syndication-domination"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/gabmus/syndication-domination.git"
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://gitlab.com/gabmus/syndication-domination/-/archive/${PV}/${P}.tar.bz2"
+fi
+
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="debug json-binary +python"
+REQUIRED_USE="
+ ^^ ( python json-binary )
+"
+DEPEND="
+ app-text/htmltidy
+ dev-libs/libfmt
+ dev-libs/pugixml
+ python? (
+ >=dev-lang/python-3.11
+ dev-python/pybind11
+ )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+ local emesonargs=(
+ --buildtype $(usex debug debug release)
+ --prefix=/usr
+ -DHTML_SUPPORT=true
+ $(meson_use python PYTHON_BINDINGS)
+ $(meson_use json-binary TO_JSON_BINARY)
+ )
+ meson_src_configure
+}
+
+src_compile() {
+ meson_src_compile
+}
+
+src_install() {
+ meson_src_install
+}