mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
net-libs/syndication-domination: new package, add 9999
Signed-off-by: brettalcox <brettalcox@gmail.com>
This commit is contained in:
15
net-libs/syndication-domination/metadata.xml
Normal file
15
net-libs/syndication-domination/metadata.xml
Normal file
@@ -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>
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user