valac: Depend on clang, glib-dev, pkg-config

As mentioned in #644.
This commit is contained in:
Fredrik Fornwall 2017-01-03 17:46:59 -05:00
parent 5ef5713d2d
commit 74b5c53c18
2 changed files with 4 additions and 5 deletions

View File

@ -3,9 +3,9 @@ _VALA_MAJOR=0
_VALA_MINOR=34 _VALA_MINOR=34
_VALA_PATCH=4 _VALA_PATCH=4
TERMUX_PKG_VERSION=$_VALA_MAJOR.$_VALA_MINOR.$_VALA_PATCH TERMUX_PKG_VERSION=$_VALA_MAJOR.$_VALA_MINOR.$_VALA_PATCH
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas' TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
TERMUX_PKG_SRCURL=http://download.gnome.org/sources/vala/$_VALA_MAJOR.$_VALA_MINOR/vala-$TERMUX_PKG_VERSION.tar.xz TERMUX_PKG_SRCURL=https://download.gnome.org/sources/vala/$_VALA_MAJOR.$_VALA_MINOR/vala-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_DESCRIPTION='C# like language for the GObject system' TERMUX_PKG_DESCRIPTION='C# like language for the GObject system'
TERMUX_PKG_DEPENDS="glib" TERMUX_PKG_DEPENDS="clang, glib-dev, pkg-config"
TERMUX_PKG_SHA256=6b17bd339414563ebc51f64b0b837919ea7552d8a8ffa71cdc837d25c9696b83 TERMUX_PKG_SHA256=6b17bd339414563ebc51f64b0b837919ea7552d8a8ffa71cdc837d25c9696b83

View File

@ -54,8 +54,7 @@ class TermuxBuildFile(object):
return set([ return set([
# Replace parenthesis to handle version qualifiers, as in "gcc (>= 5.0)": # Replace parenthesis to handle version qualifiers, as in "gcc (>= 5.0)":
re.sub(r'\(.*?\)', '', dep).strip() for dep in comma_deps.split(',') re.sub(r'\(.*?\)', '', dep).replace('-dev', '').strip() for dep in comma_deps.split(',')
if 'libandroid-support-dev' not in dep
]) ])
# no deps found # no deps found