anjuta: remove XBPS_GCC_* usage, fix license

This commit is contained in:
maxice8 2018-12-31 19:05:31 -02:00 committed by maxice8
parent ba4c952cef
commit cb88e5ea0d
1 changed files with 11 additions and 19 deletions

View File

@ -1,38 +1,30 @@
# Template file for 'anjuta' # Template file for 'anjuta'
pkgname=anjuta pkgname=anjuta
version=3.28.0 version=3.28.0
revision=5 revision=6
build_style=gnu-configure build_style=gnu-configure
build_options="gir" configure_args="--disable-compile-warnings --disable-schemas-compile
configure_args="$(vopt_enable gir introspection)" $(vopt_enable gir introspection)"
short_desc="GNOME Integrated Development Environment"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="https://projects.gnome.org/anjuta"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b087b0a5857952d0edd24dae458616eb166a3257bc647d5279a9e71495544779
hostmakedepends="pkg-config intltool flex itstool python autogen glib-devel hostmakedepends="pkg-config intltool flex itstool python autogen glib-devel
$(vopt_if gir gobject-introspection)" $(vopt_if gir gobject-introspection)"
makedepends=" makedepends="gtksourceview-devel libxml2-devel vte3-devel gjs-devel
gtksourceview-devel libxml2-devel vte3-devel gjs-devel
libxslt-devel glade3-devel graphviz-devel vala-devel libxslt-devel glade3-devel graphviz-devel vala-devel
libgda-devel devhelp-devel sqlite-devel apr-util-devel libgda-devel devhelp-devel sqlite-devel apr-util-devel
neon-devel subversion-devel python-devel gdl-devel" neon-devel subversion-devel python-devel gdl-devel"
depends="autogen" depends="autogen"
short_desc="GNOME Integrated Development Environment"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://projects.gnome.org/anjuta"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b087b0a5857952d0edd24dae458616eb166a3257bc647d5279a9e71495544779
build_options="gir"
# Disable gir for cross builds. # Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir" build_options_default="gir"
fi fi
CFLAGS="-O2 -Wno-deprecated-declarations"
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
CFLAGS+=" -Wno-error=format-nonliteral -Wno-error=format-y2k -Wno-error=missing-include-dirs"
fi
CXXFLAGS="${CFLAGS}"
anjuta-devel_package() { anjuta-devel_package() {
replaces="anjuta-docs>=0" replaces="anjuta-docs>=0"
short_desc+=" - development files" short_desc+=" - development files"