diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2020-11-16 00:30:45 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2020-11-16 00:30:45 -0800 |
commit | c11246c4e504c19dc88eb41f302640930635c756 (patch) | |
tree | 94b1b608ae1929fca5f812c15cedaa7f34327f60 | |
parent | 99a8f6eed01968c1cc7d96fdf6fed5308d9c5b5d (diff) | |
download | mpv-build-c11246c4e504c19dc88eb41f302640930635c756.tar.bz2 mpv-build-c11246c4e504c19dc88eb41f302640930635c756.tar.xz |
debian: make python3 work
Debian is determined to make the python3 upgrade as painful as possible
-rw-r--r-- | README.rst | 5 | ||||
-rw-r--r-- | debian/control | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -100,6 +100,11 @@ package:: mk-build-deps -s sudo -i +Debian no longer provides an unversioned "python" binary, so you need to +create your own symlink from python3 (or python2) if this is the cae:: + + which python || sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 3 + You can now build the mpv Debian package with the following command:: dpkg-buildpackage -uc -us -b -j4 diff --git a/debian/control b/debian/control index 032376d..ca73984 100644 --- a/debian/control +++ b/debian/control @@ -65,7 +65,7 @@ Build-Depends: libxv-dev, libxvidcore-dev, pkg-config, - python, + python | python2 | python3, python-docutils | python3-docutils, x11proto-core-dev, yasm, |