diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/Manifest.gz | bin | 49750 -> 49754 bytes | |||
-rw-r--r-- | app-misc/jq/Manifest | 4 | ||||
-rw-r--r-- | app-misc/jq/jq-1.7_rc2.ebuild (renamed from app-misc/jq/jq-1.7_rc1.ebuild) | 4 | ||||
-rw-r--r-- | app-misc/tracker-miners/Manifest | 2 | ||||
-rw-r--r-- | app-misc/tracker-miners/tracker-miners-3.6_beta.ebuild | 177 | ||||
-rw-r--r-- | app-misc/tracker/Manifest | 2 | ||||
-rw-r--r-- | app-misc/tracker/tracker-3.6_beta.ebuild | 106 |
7 files changed, 290 insertions, 5 deletions
diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz Binary files differindex 9c831bf8985b..8ec1cfd93a0a 100644 --- a/app-misc/Manifest.gz +++ b/app-misc/Manifest.gz diff --git a/app-misc/jq/Manifest b/app-misc/jq/Manifest index 6bc26363ceae..47802d3ff170 100644 --- a/app-misc/jq/Manifest +++ b/app-misc/jq/Manifest @@ -8,8 +8,8 @@ AUX jq-1.7_pre20201109-fix-configure-test.patch 2324 BLAKE2B daccf3a6ea7868bdb85 AUX jq-1.7_pre20201109-no-git-bdep.patch 540 BLAKE2B 745496f01bbc19ede3f5c17be4a7384664ab990eca053d0b4521f1c863af97f9f64afeeb600109ba0f44f155497954c48c6907df198c24d503006c42aada2a97 SHA512 64cc678b5d0850aa9ffc4cd4ef340fa22b3ce120a8b302757528633a7dd785aad1559a0b0abd3e0b1fe3b0d92cfcc388910c84f7cdefca876c864b01358ac04f DIST jq-1.6.tar.gz 1750584 BLAKE2B c9be1314e9d027247de63492ee362e996ef85faf45a47ee421cad95ebde9188bff8d3fc7db64e717ab922e1052f3b1c1500f5589fc5b2199ab66effb000e442d SHA512 5da71f53c325257f1f546a2520fe47828b495c953270df25ea0e37741463fdda72f0ba4d5b05b25114ec30f27a559344c2b024bacabf610759f4e3e9efadb480 DIST jq-1.7_pre20201109.tar.gz 1181867 BLAKE2B 9db187ab927b635c43fbc6191aeffa00451b12253ae023bbabe6fba5fdf8fb393f8450ee2011ef58cb93e2f27994d454fac967984a721439aaac93259c02f7f1 SHA512 f2997d70edb36d0a23b71a7d933a763cedd7c74ffa3129c2a6cb7189aaff1c5095cdc51062b7cd119324ec2c83ebae6ff0b7da3941315303b7a31146b9eb285a -DIST jq-1.7_rc1.gh.tar.gz 1229662 BLAKE2B 3df964681eb8efbbab5932a5d58a3242cef5dfd9edb0486b7156f69aabbef33ee72141de14725ad2ea033bfb0dc4d3f29aa67f6ac2322ff474ba3bcceee78bd0 SHA512 c33ce7f7526d9d962c5507c9840da2a78c46e1c3b0e8b14a0e2185f4ed9d1b468f91e88bebfbf335a3cee40d357b9c30fb5b63ff780e448f8c5d4f7cc9393d95 +DIST jq-1.7_rc2.gh.tar.gz 1251670 BLAKE2B 89cb321d971ba68c81c866b1dbd704c8a3ee88e3a098ff952a8222fcdb5fcec8816a98f3854dcb483b328eadc0ed9d1b4af787cc7bc0bc03018d34f56c236e52 SHA512 18b469e13995a2651f08c040ddcc9d39659fa14715983e19ec5ed79398a60c54713d8abc370beed4bbeb9aa80191ef10aca5354823ba71ee953112db488ce983 EBUILD jq-1.6-r3.ebuild 2000 BLAKE2B e3d647a6c444db493d291f586d2accd96c34df232dcffc6137e66bbd7cbf7d164dac43d5d783e2666e6ff1135f9583dd2b1a48826808058295abf7c1ff2a311c SHA512 746bbeff6451adbd25916d5c0aad6630a5c2728841731d918b29bf7e4ea679b36b0b61489c8e5aa5bdd8e0a093b117fe04788a4046bbfc39039cb5c510e7cd69 EBUILD jq-1.7_pre20201109-r1.ebuild 2438 BLAKE2B b25860c0d8eb96b90fa79cfbe7f3fdc23b6376d0142dbc0fee9224aa3793c64d4345c18d49e88440884432885d68facef23724fbc279559f81d44fa835e1e821 SHA512 965be67264be11a74a2ce6486c2271062731eda59eadfd470a8fc29aac93d3c7bcb9fe677551926b9e14111cdc97205e5f1345b74bc3c949c148076d242b2813 -EBUILD jq-1.7_rc1.ebuild 2306 BLAKE2B d2d1e5344732ffb13d6c920bb12cf8b51e47160eee3df54923a768c2a1d8f31e36fdd0b2973b98362e6d45bd53933563f04e5d9e5d5f70cc337db07a5b01f7f3 SHA512 49e50dc70af4be20a0f7837301826dcdb79644e6c66acc10bcf238855f898beda686089281182f4b4c9ef15dc30f8f7834721c6b9c2802f6f4bfa8af8bf1d9be +EBUILD jq-1.7_rc2.ebuild 2215 BLAKE2B 1cdc20dc57281eee65f90a3a08235dd2a987a4aa524d360515cfa8459e032fdd47f00bbe7b7950146ca71188d17b0dd6abd3dbaa4e9cc60c3c138eec8e42de87 SHA512 527a6fa8aa535cbca982e4c3b086de55ca2c6b335267afe1dce3f8fd9e3ba0ee4da60882b51fe2afc9d8cac1187eeaacd23bcf1a46479d527712b11f7caf4861 MISC metadata.xml 619 BLAKE2B 07d8852baec2c77bdef39bd1bb742ce1148dfdde1c76af80727ea7dda9ebfdc61ee24e3992c3f868c312fb258b8f7a2064996b3a609a801eaeabe09b7a10f6a0 SHA512 10824dca3462dcf96b2025d71f47dbddb3b1fa7ba864fcb5d0a7782423213323143c7c224174b1ac9d69e0c1094285286c213809f023d25542a865fc064d1b04 diff --git a/app-misc/jq/jq-1.7_rc1.ebuild b/app-misc/jq/jq-1.7_rc2.ebuild index ff2204b79fda..99985e23fcbb 100644 --- a/app-misc/jq/jq-1.7_rc1.ebuild +++ b/app-misc/jq/jq-1.7_rc2.ebuild @@ -38,15 +38,13 @@ REQUIRED_USE="test? ( oniguruma )" src_prepare() { sed -e '/^dist_doc_DATA/d; s:-Wextra ::' -i Makefile.am || die - sed -r -e "s:(m4_define\(\[jq_version\],) .+\):\1 \[${PV}\]):" \ - -i configure.ac || die + printf "#!/bin/sh\\nprintf '%s'\\n\n" "${MY_PV}" > scripts/version || die # jq-1.6-r3-never-bundle-oniguruma makes sure we build with the system oniguruma, # but the bundled copy of oniguruma still gets eautoreconf'd since it # exists; save the cycles by nuking it. sed -e '/modules\/oniguruma/d' -i Makefile.am || die rm -rf "${S}"/modules/oniguruma || die - sed -i "s/^jq_version: .*/jq_version: \"${MY_PV}\"/" docs/site.yml || die default diff --git a/app-misc/tracker-miners/Manifest b/app-misc/tracker-miners/Manifest index c86c9870e1a1..fd35827c0ee7 100644 --- a/app-misc/tracker-miners/Manifest +++ b/app-misc/tracker-miners/Manifest @@ -1,5 +1,7 @@ DIST tracker-miners-3.5.2.tar.xz 7513024 BLAKE2B 6f144bb5e263c08c32b940dd18f98faa4201cfa1c40fa9c97b7e0406b6ed1c9547b1925337e0b3a7e5448dd7c2518b78f62e04e5beab221a55f464506baa151b SHA512 adb29549c94c68a46e2c5ede8a51bac2d014f772a5dc1c63f5cc6950da7f941e735bf5858c3306d2ad988ce2f60126bc97e5db746afe757b9b7cbc4f90518648 DIST tracker-miners-3.6.alpha.tar.xz 7514772 BLAKE2B 80b720a41d11c8d12b530c614f9501390d8b9b61d706b715add8f92577b04fa51dcc4415abaddb4dac107ecf26c337d004627d5d636fc37b20d1212a125df4a3 SHA512 cb6f1d48882d3198ac5de24830f3d4c94a49b1d42ff91afdfaa29dc8a4e1e987ea4bd77d829a8a110d535f45ed17614545eb98784552fd713b34abd20c139a76 +DIST tracker-miners-3.6.beta.tar.xz 7514096 BLAKE2B b1af3b443ba6f04ba08c5476e6253a25be3621cc199917ab347a438ca638fd19df3c02bb7fb3272829db32e9df0a290e6771281e9f41cb169b5ea8504950777b SHA512 9825e046d1a0048a18654d27371ff35a998187abb014978a3ebabefbd19d32f36b23325e34aa59580d1cf7676edf41a51026470fb26ce9e30019d1074e593c34 EBUILD tracker-miners-3.5.2.ebuild 4693 BLAKE2B 6a2b762d48023e0daf42567d17f0dcb20b12a0705f6e7f479905b0816b5996451639e5dac1621f2de87fe3a01d4291dbf5fff96839f7625ddb06d569666d6615 SHA512 0b58fc80e33e7c85ff475ea181df76ae130f778933a89b3d2d37eb3a610a6d98a411a0cfe3e88eb9460552072fe5e84b823f383f488fe9effe38990bc0afb16e EBUILD tracker-miners-3.6_alpha.ebuild 4756 BLAKE2B 82b73b8dd21627db589e7b6f335b5ec74339338bc35972d174bf22e448e1c92c5604c876244af9aa4633ab16a1f648f401631748229ec203ddc0c382177c1e05 SHA512 dbe80d63b8321af55076a9231309ef7357c634525256e68c2240cc6345f67d7c45335a1436f38a3990db79b5c994bf59134ce78c11a985281a49c7db613a160c +EBUILD tracker-miners-3.6_beta.ebuild 4767 BLAKE2B 274aa5f349da07bb38052a7c979b1c634ac6e4bc5643b8becf295a63df24e636448f49561a82ad2bc4ccbd5ee56fdea7b7d30cf0e666db71999c9efc25c9b468 SHA512 68a224b9c6efebd950bc17fea636bab2de71b5bf85025d3d7c1c207f4e761a86f99bdcf0774546030909f48c3b960493d1488885c7fd977f6dac6edd31e37ce7 MISC metadata.xml 835 BLAKE2B a7f0c667be6eaaebcd62fd782c72831f8f95f778d2ff1ee36c278fc3a902761ca10d73fd7e6b15afa83d36a960d5f20dc765b62dc6f85022db01d9d0d356bcbd SHA512 9d348dbec07ab8e344dab0d6f3acdc48e91d80171e411353b233f8b49989f4152817c8ed522c234d5dd9a3849cdab3d46f41256702a5d50bbf1e591f112cddd5 diff --git a/app-misc/tracker-miners/tracker-miners-3.6_beta.ebuild b/app-misc/tracker-miners/tracker-miners-3.6_beta.ebuild new file mode 100644 index 000000000000..278dc45df8ed --- /dev/null +++ b/app-misc/tracker-miners/tracker-miners-3.6_beta.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 systemd xdg + +DESCRIPTION="Collection of data extractors for Tracker/Nepomuk" +HOMEPAGE="https://wiki.gnome.org/Projects/Tracker" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="3" +IUSE="cue exif ffmpeg gif gsf +gstreamer iptc +iso +jpeg networkmanager +pdf +playlist raw +rss seccomp test +tiff upower +xml xmp xps" + +REQUIRED_USE="cue? ( gstreamer )" # cue is currently only supported via gstreamer, not ffmpeg +RESTRICT="!test? ( test )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# tracker-2.1.7 currently always depends on ICU (theoretically could be libunistring instead); +# so choose ICU over enca always here for the time being (ICU is preferred) +RDEPEND=" + >=dev-libs/glib-2.70:2 + >=app-misc/tracker-3.6_beta:3 + + >=sys-apps/dbus-1.3.1 + xmp? ( >=media-libs/exempi-2.1.0:= ) + raw? ( media-libs/gexiv2 ) + cue? ( media-libs/libcue:= ) + exif? ( >=media-libs/libexif-0.6 ) + gsf? ( >=gnome-extra/libgsf-1.14.24:= ) + xps? ( app-text/libgxps ) + iptc? ( media-libs/libiptcdata ) + jpeg? ( media-libs/libjpeg-turbo:0= ) + iso? ( >=sys-libs/libosinfo-1.10.0-r1 ) + >=media-libs/libpng-1.2:0= + seccomp? ( >=sys-libs/libseccomp-2.0 ) + tiff? ( media-libs/tiff:= ) + xml? ( >=dev-libs/libxml2-2.6 ) + pdf? ( >=app-text/poppler-0.16.0:=[cairo] ) + playlist? ( >=dev-libs/totem-pl-parser-3:= ) + sys-apps/util-linux + + gif? ( media-libs/giflib:= ) + + networkmanager? ( net-misc/networkmanager ) + + rss? ( >=net-libs/libgrss-0.7:0 ) + app-arch/gzip + + upower? ( >=sys-power/upower-0.9.0:= ) + + >=dev-libs/icu-4.8.1.1:= + + gstreamer? ( + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0 + >=media-plugins/gst-plugins-meta-1.20:1.0 ) + !gstreamer? ( + ffmpeg? ( media-video/ffmpeg:0= ) ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/asciidoc + dev-libs/libxslt + dev-util/glib-utils + dev-util/gdbus-codegen + + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]') + gstreamer? ( + media-libs/gstreamer:1.0[introspection] + || ( + media-plugins/gst-plugins-libav:1.0 + media-plugins/gst-plugins-openh264:1.0 + ) + ) + ) +" + +python_check_deps() { + python_has_version -b \ + "dev-python/pygobject[${PYTHON_USEDEP}]" \ + "dev-python/tappy[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + + # Avoid gst-inspect calls that may trigger sandbox; + # instead assume the detection will succeed and add the needed test deps for that + if use gstreamer; then + sed -i -e 's:detect-h264-codec.sh:/bin/true:' tests/functional-tests/meson.build || die + else + sed -i -e 's:detect-h264-codec.sh:/bin/false:' tests/functional-tests/meson.build || die + fi + gnome2_environment_reset # sets gstreamer safety variables +} + +src_configure() { + append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS + + local media_extractor="none" + if use gstreamer ; then + media_extractor="gstreamer" + elif use ffmpeg ; then + media_extractor="libav" + fi + + local emesonargs=( + -Dtracker_core=system + + -Dman=true + -Dextract=true + $(meson_use test functional_tests) + $(meson_use test tests_tap_protocol) + -Dminer_fs=true + $(meson_use rss miner_rss) + -Dwriteback=true + -Dabiword=true + -Dicon=true + -Dmp3=true + -Dps=true + -Dtext=true + -Dunzip_ps_gz_files=true # spawns gunzip + + $(meson_feature networkmanager network_manager) + $(meson_feature cue) + $(meson_feature exif) + $(meson_feature gif) + $(meson_feature gsf) + $(meson_feature iptc) + $(meson_feature iso) + $(meson_feature jpeg) + $(meson_feature pdf) + $(meson_feature playlist) + -Dpng=enabled + $(meson_feature raw) + $(meson_feature tiff) + $(meson_feature xml) + $(meson_feature xmp) + $(meson_feature xps) + + -Dbattery_detection=$(usex upower upower none) + # enca is a possibility, but right now we have tracker core always dep on icu and icu is preferred over enca + -Dcharset_detection=icu + -Dgeneric_media_extractor=${media_extractor} + # gupnp gstreamer_backend is in bad state, upstream suggests to use discoverer, which is the default + -Dsystemd_user_services_dir="$(systemd_get_userunitdir)" + ) + meson_src_configure +} + +src_test() { + export GSETTINGS_BACKEND="dconf" # Tests require dconf and explicitly check for it (env_reset set it to "memory") + export PYTHONPATH="${EROOT}"/usr/$(get_libdir)/tracker-3.0 + dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest index 3e6d169dba16..ef510d8bedb3 100644 --- a/app-misc/tracker/Manifest +++ b/app-misc/tracker/Manifest @@ -1,5 +1,7 @@ DIST tracker-3.5.3.tar.xz 2569412 BLAKE2B 8e35234f74eb4ae22c23661fedf6b3898e6daa41868d18473a9cbf998a7edbff893e63f15573585c130b8b7c40c65a4f5df8e057fd14dfe76dcfe2a9abed4cdb SHA512 ed75f7cbb75daab6597bab58937554b531bc2c32581148c2d828cb313644b198a057024c5202d0990237bc01119d1789f0fbc87868919fc2f00bcb40e76f7b23 DIST tracker-3.6.alpha.tar.xz 2570268 BLAKE2B 3fc175457daecfd6733039d10b6724b47853fb06194fc2248b1643b765284ebfb0c56eeb56d8a2019bc289f0ca320c1db0d84e20a0e1b7a26fbb57ee24a2d14b SHA512 d74c2ca4b8b34e4addf232c0be76478c1034828d04d0ea24528d845492287b08e68dfc5a5e34e0d2feda5c0630792ef1171db87a0140072ba60c9e56b56f6d3e +DIST tracker-3.6.beta.tar.xz 2563616 BLAKE2B bc815b9ef01dff6907721018fdb9e59e431aa9a4542d0bf2c195a25207d8ca6d5ffa15a85f72e6b78af33b90c1f3a59e52742f8e8c41e521fdff4e9c46c85994 SHA512 2fc289b7cedf6b42ef0aa935427c169ebc3904bb089573052be8c8513989bc214b9924c597e09f174fc1d9bac9181de96a9914841ba8891af17fdcc3727d7a47 EBUILD tracker-3.5.3.ebuild 2462 BLAKE2B 0dfa199cd395c7d92c3665c3b5ffa888298bb44d2992d00ac7e8cb007d46aaafdfe07d050c0a45cb01c1070827829a7d3a187b98e48888097bb1dbc6ae10c63a SHA512 c3b63de9f4071b035a9be78d6ede1822324d1c181150b9c40fc415b6760a720017b097c550154d8f46f4c4728404513cd9252271365819a0a34c8a96c016ac18 EBUILD tracker-3.6_alpha.ebuild 2462 BLAKE2B d4ff4bd1dde2efd6cc47c02f1f069966bb5cb8a92645505eff1b3f558407d8062e82177ac7b9ed24180ffd44f2759b0984abf436f8b7094d71d6381b602faaaa SHA512 773432f981e8b471234522d9311d69797180b02e16462720f555831ace47e20351d90f790144bdb7919cb556a00a699fad383fd51504fb1b0111535a5e02c0cb +EBUILD tracker-3.6_beta.ebuild 2462 BLAKE2B fcda5d67e78b25c97341cb79d2420f9b1f858e86a5ebfd9c2fb1e55540cc79beccef4a55dd411eeb2c7a845a69030de9f06bf56940b5bc8b605a54a8c752893d SHA512 ea3685a8026475dae4d63189b4e0665879f9367fe9f05f11a58bf8bdc30292ccb41e0514eb3f62d868ed6848333f9c9433eddaa7f2a317fcacad3de007b47980 MISC metadata.xml 586 BLAKE2B 8244e6f8d9491a0c224ed84f17ee6ad64b22e0c373243a319e7911739a7db6223ce47693ed5b31053b4465f35d20108db1469d74afcebb36b4516a53cbd7f98a SHA512 0a60b0e4b077bb03d02b7990511041695c5dff7a8a0972fa80abe9968b643ad5c2ba65182c079e8d5f3d1ef72a2c4dcc659d6ec283bf80813135c94cab2dddef diff --git a/app-misc/tracker/tracker-3.6_beta.ebuild b/app-misc/tracker/tracker-3.6_beta.ebuild new file mode 100644 index 000000000000..ed131634fa37 --- /dev/null +++ b/app-misc/tracker/tracker-3.6_beta.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit bash-completion-r1 flag-o-matic gnome.org gnome2-utils linux-info meson python-any-r1 systemd vala xdg + +DESCRIPTION="A tagging metadata database, search tool and indexer" +HOMEPAGE="https://wiki.gnome.org/Projects/Tracker https://gitlab.gnome.org/GNOME/tracker" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="3/0" # libtracker-sparql-3.0 soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="gtk-doc +miners stemmer test vala" +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 + 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 ) + test? ( + $(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]') + ) + ${PYTHON_DEPS} +" +PDEPEND="miners? ( >=app-misc/tracker-miners-3.6_beta )" + +python_check_deps() { + python_has_version -b \ + "dev-python/pygobject[${PYTHON_USEDEP}]" \ + "dev-python/tappy[${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 + -Dbash_completion_dir="$(get_bashcompdir)" + -Dsystemd_user_services_dir="$(systemd_get_userunitdir)" + $(meson_use test tests) + -Dintrospection=enabled + $(meson_feature vala vapi) + -Dsoup=soup3 + ) + 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/Tracker-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 +} |