ae69000001
* arduino and antiword 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 ```
47 lines
1.5 KiB
Bash
47 lines
1.5 KiB
Bash
# Template file for 'anjuta'
|
|
pkgname=anjuta
|
|
version=3.34.0
|
|
revision=4
|
|
build_style=gnu-configure
|
|
build_helper="gir qemu"
|
|
configure_args="--disable-compile-warnings --disable-schemas-compile
|
|
PYTHON=python3
|
|
SVN_INCLUDES=$XBPS_CROSS_BASE/usr/include SVN_LIBS=$XBPS_CROSS_BASE/usr/lib
|
|
$(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool flex itstool python3 autogen glib-devel
|
|
libtool automake gettext-devel gnome-common yelp-tools which gtk-doc
|
|
vala-devel $(vopt_if gir gobject-introspection)"
|
|
makedepends="gtksourceview-devel libxml2-devel vte3-devel gjs-devel
|
|
libxslt-devel glade3-devel graphviz-devel vala-devel
|
|
libgda-devel devhelp-devel sqlite-devel apr-util-devel
|
|
neon-devel subversion-devel python3-devel gdl-devel"
|
|
depends="autogen"
|
|
short_desc="GNOME Integrated Development Environment"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://projects.gnome.org/anjuta"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=42a93130ed3ee02d064a7094e94e1ffae2032b3f35a87bf441e37fc3bb3a148f
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
anjuta-devel_package() {
|
|
replaces="anjuta-docs>=0"
|
|
short_desc+=" - development files"
|
|
depends="anjuta>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/doc
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|