grilo-plugins: working fix for gcc6 build
This commit is contained in:
parent
2435aafed9
commit
3ff2b36355
@ -3,7 +3,7 @@ pkgname=grilo-plugins
|
|||||||
version=0.2.17
|
version=0.2.17
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --enable-shoutcast"
|
configure_args="--disable-static --enable-shoutcast --enable-compile-warnings=no"
|
||||||
hostmakedepends="pkg-config intltool itstool glib-devel gnome-doc-utils"
|
hostmakedepends="pkg-config intltool itstool glib-devel gnome-doc-utils"
|
||||||
# XXX missing plugins: fakemetadata.
|
# XXX missing plugins: fakemetadata.
|
||||||
makedepends="grilo-devel gom-devel gupnp-av-devel json-glib-devel
|
makedepends="grilo-devel gom-devel gupnp-av-devel json-glib-devel
|
||||||
@ -17,8 +17,3 @@ license="LGPL-2.1"
|
|||||||
homepage="http://live.gnome.org/Grilo"
|
homepage="http://live.gnome.org/Grilo"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||||
checksum=337669098cddf64a84fa9398aa1d7f994fea84bc5f7f1b348e1288f135713781
|
checksum=337669098cddf64a84fa9398aa1d7f994fea84bc5f7f1b348e1288f135713781
|
||||||
|
|
||||||
_gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
|
|
||||||
if [ "${_gccver%%.*}" -gt 5 ]; then
|
|
||||||
CXXFLAGS="-Wno-error=format-nonliteral"
|
|
||||||
fi
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user