mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
app-misc/tinysparql: add 3.9.2
Signed-off-by: Lukas Schmelting <lschmelting@posteo.com> Part-of: https://github.com/gentoo/gentoo/pull/43624 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
94f109e385
commit
91c392a32c
@@ -1,2 +1,3 @@
|
||||
DIST tinysparql-3.8.2.tar.xz 2114784 BLAKE2B 0fe3e6f566c560353b45d5774b741f08dcafb10f5c1b379ec06453cac5fa7512db861ae1dca50533ac2055d10888f732780b7c3352b72026ffa39ddbd1157af8 SHA512 45ad15026dc648dae9d09c64df9e0f0f30c061d26f00ff99da08ca16dc302cca113fbd5964af4e1b0e50c1a920b5f9c0eaa1136305f0b5a8d167b163a843d3df
|
||||
DIST tinysparql-3.9.2.tar.xz 2111352 BLAKE2B de128835e736b940f09793dcc7bd4a71680410fea8c00ab6a36d85b2d62639b3f08ddded74f4d1851c6060e5f5f82841a5ef714191a29869546549dd21d1722b SHA512 8d70571ada4097c56fb45844489405cc4b468f33ef5bb4db7020ad77882701097499111628ffbdac7e5dafb1f85b5801a3c2166ccf070a745a2f63b52ba3e314
|
||||
DIST tracker-3.6.0.tar.xz 2560980 BLAKE2B f10720b624b2b00eb510961f7346bb6c1fdc278237126d1b5f4b9af2d0f67cc74896b65bce89de14a085e55441fe64985cb13da06242838fe43dd0739e8d5bce SHA512 d3b7d4c1fd1cdcccc0d78c05f43b85f5cdab584e378cb56a2b568293ff95c887650d41c3c7f65de8864a0b6f80ae26410f4a443f045a80e30bacdf7ef9499697
|
||||
|
||||
112
app-misc/tinysparql/tinysparql-3.9.2.ebuild
Normal file
112
app-misc/tinysparql/tinysparql-3.9.2.ebuild
Normal file
@@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic gnome.org gnome2-utils linux-info meson python-any-r1 systemd vala xdg
|
||||
|
||||
DESCRIPTION="Low-footprint RDF triple store with SPARQL 1.1 interface"
|
||||
HOMEPAGE="https://gnome.pages.gitlab.gnome.org/tinysparql"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="3/0" # libtracker-sparql-3.0 soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="gtk-doc +localsearch stemmer systemd test vala zeroconf"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PV_SERIES=$(ver_cut 1-2)
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.52:2
|
||||
>=sys-apps/dbus-1.3.2
|
||||
>=dev-libs/gobject-introspection-1.54:=
|
||||
>=dev-libs/icu-4.8.1.2:=
|
||||
>=dev-libs/json-glib-1.4
|
||||
>=net-libs/libsoup-2.99.2:3.0
|
||||
>=dev-libs/libxml2-2.7:=
|
||||
>=dev-db/sqlite-3.29.0:3
|
||||
zeroconf? ( net-dns/avahi )
|
||||
systemd? ( >=sys-apps/systemd-2.42 )
|
||||
stemmer? ( dev-libs/snowball-stemmer:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
$(vala_depend)
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
gtk-doc? (
|
||||
dev-util/gi-docgen
|
||||
media-gfx/graphviz
|
||||
app-text/xmlto
|
||||
)
|
||||
test? (
|
||||
$(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
|
||||
$(python_gen_any_dep 'dev-python/tap-py[${PYTHON_USEDEP}]')
|
||||
)
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
PDEPEND="localsearch? ( >=app-misc/localsearch-3.6_rc )"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b \
|
||||
"dev-python/pygobject[${PYTHON_USEDEP}]" \
|
||||
"dev-python/tap-py[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
local CONFIG_CHECK="~INOTIFY_USER"
|
||||
linux-info_pkg_setup
|
||||
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS
|
||||
|
||||
local emesonargs=(
|
||||
$(meson_use gtk-doc docs)
|
||||
-Dman=true
|
||||
$(meson_feature stemmer)
|
||||
-Dunicode_support=icu
|
||||
$(meson_feature zeroconf avahi)
|
||||
-Dbash_completion_dir="$(get_bashcompdir)"
|
||||
-Dsystemd_user_services_dir="$(systemd_get_userunitdir)"
|
||||
$(meson_use test tests)
|
||||
-Dintrospection=enabled
|
||||
$(meson_feature vala vapi)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use gtk-doc; then
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
mv "${ED}"/usr/share/doc/Tsparql-3.0 "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
Reference in New Issue
Block a user