summaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-04-07 12:16:34 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-04-07 12:16:34 (GMT)
commit6ee4439ce89892dd1c24f354d5bf6d575ef825e9 (patch)
tree89e08db9675db02c2ca6ae63fc4d6fbe7659d801 /build_tools
parent999bede4dbfbb5ccfe83f1939f8f5cabe1d8f954 (diff)
downloadlinhes_dev-6ee4439ce89892dd1c24f354d5bf6d575ef825e9.zip
mpv2.py: add check for makedepends_x86_64
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/bin/mpv2.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/build_tools/bin/mpv2.py b/build_tools/bin/mpv2.py
index 0431bc6..9c60214 100755
--- a/build_tools/bin/mpv2.py
+++ b/build_tools/bin/mpv2.py
@@ -159,7 +159,7 @@ class Packagefile(object):
self.repolist=["core", "extra",
"chroot-devel", "mv-core", "xmpl", "local"]
self.mydir = os.getcwd()
- self.variables = ['pkgbase','pkgname','pkgver','pkgrel','arch','epoch','depends','makedepends','checkdepends']
+ self.variables = ['pkgbase','pkgname','pkgver','pkgrel','arch','epoch','depends','makedepends','makedepends_x86_64','checkdepends']
self.pkgrel_incremented = False
self.makepkg_cmd = makepkg_cmd
self.cli_list = cli_list
@@ -223,7 +223,9 @@ class Packagefile(object):
self.pkg_dependencies = value.split()
elif item == "makedepends":
- self.makepkg_dependencies = value.split()
+ self.makepkg_dependencies = self.makepkg_dependencies + value.split()
+ elif item == "makedepends_x86_64":
+ self.makepkg_dependencies = self.makepkg_dependencies + value.split()
elif item == "checkdepends":
self.check_dependencies = value.split()