4f75cf25fd
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
34 lines
1.6 KiB
Bash
34 lines
1.6 KiB
Bash
# Template file for 'tracker3-miners'
|
|
pkgname=tracker3-miners
|
|
version=3.0.5
|
|
revision=1
|
|
wrksrc=tracker-miners-${version}
|
|
build_style=meson
|
|
# missing libgrss for miner_rss
|
|
configure_args="-Dtracker_core=system -Ddocs=false -Dextract=true
|
|
-Dfunctional_tests=false -Dcue=enabled -Dexif=enabled -Dflac=enabled
|
|
-Dgif=enabled -Dgsf=enabled -Diptc=enabled -Diso=enabled -Djpeg=enabled
|
|
-Dpdf=enabled -Dplaylist=enabled -Dpng=enabled -Draw=enabled -Dtaglib=enabled
|
|
-Dtiff=enabled -Dvorbis=enabled -Dxml=enabled -Dxmp=enabled -Dxps=enabled
|
|
-Dminer_rss=false -Dbattery_detection=upower -Dcharset_detection=icu
|
|
-Dgeneric_media_extractor=gstreamer -Dgstreamer_backend=discoverer
|
|
-Dsystemd_user_services=false -Dnetwork_manager=enabled"
|
|
hostmakedepends="pkg-config glib-devel intltool asciidoc"
|
|
makedepends="tracker3-devel ffmpeg-devel dbus-devel exempi-devel libflac-devel
|
|
libglib-devel libgexiv2-devel gstreamer1-devel icu-devel libcue-devel
|
|
libexif-devel libgsf-devel libgxps-devel libiptcdata-devel libjpeg-turbo-devel
|
|
libosinfo-devel libpng-devel libseccomp-devel tiff-devel libxml2-devel
|
|
libvorbis-devel poppler-glib-devel taglib-devel totem-pl-parser-devel
|
|
upower-devel zlib-devel gst-plugins-base1-devel giflib-devel
|
|
NetworkManager-devel libharfbuzz"
|
|
short_desc="Data miners for tracker3"
|
|
maintainer="q66 <daniel@octaforge.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://developer.gnome.org/libtracker-miner/stable"
|
|
distfiles="${GNOME_SITE}/tracker-miners/${version%.*}/tracker-miners-${version}.tar.xz"
|
|
checksum=c9be14871b1398e6e656a354a8f8f59e69e93169017f2b28308ef439324fd12b
|
|
|
|
# relies on unsupported ops in chroot
|
|
do_check() {
|
|
:
|
|
}
|