2fd8d4df94
```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 ```
13 lines
538 B
Bash
13 lines
538 B
Bash
# Template file for 'olive'
|
|
pkgname=olive
|
|
version=0.1.2
|
|
revision=2
|
|
build_style=qmake
|
|
hostmakedepends="qt5-qmake qt5-host-tools pkg-config"
|
|
makedepends="qt5-devel qt5-multimedia-devel qt5-svg-devel ffmpeg-devel frei0r-plugins"
|
|
short_desc="Non-linear video editor"
|
|
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.olivevideoeditor.org"
|
|
distfiles="https://github.com/olive-editor/olive/archive/${version}.tar.gz"
|
|
checksum=cb9a5b109e67a47f03448633cbc7a257aa8e6c3c76a59c1fada77fd3d97875c1
|