* fpc is kept at -Np0 ```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 ```
24 lines
968 B
Bash
24 lines
968 B
Bash
# Template file for 'falkon'
|
|
pkgname=falkon
|
|
version=3.1.0
|
|
revision=5
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules gettext pkg-config
|
|
qt5-qmake qt5-host-tools python3 $(vopt_if kde kcoreaddons)"
|
|
makedepends="qt5-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
|
|
qt5-plugin-sqlite qt5-plugin-tds qt5-declarative-devel qt5-webchannel-devel
|
|
qt5-webengine-devel qt5-location-devel qt5-x11extras-devel qt5-tools-devel
|
|
$(vopt_if kde 'kwallet-devel kio-devel purpose-devel' 'ki18n-devel xcb-util-devel')"
|
|
depends="qt5-plugin-sqlite"
|
|
short_desc="Cross-platform Qt Web Browser"
|
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/KDE/falkon"
|
|
distfiles="${KDE_SITE}/falkon/${version%.*}/falkon-${version}.tar.xz"
|
|
checksum=ce743cd80c0e2d525a784e29c9b487f73480119b0567f9ce8ef1f44cca527587
|
|
|
|
LDFLAGS="-Wl,--no-fatal-warnings"
|
|
|
|
build_options="kde"
|
|
desc_option_kde="KDE integration"
|
|
build_options_default="kde"
|