diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-03-27 17:35:54 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-03-27 17:35:54 -0700 |
commit | 68a9f140a919dc36875bf9470bcfbf64ec7af5d5 (patch) | |
tree | 984673b3384d3674299f6d92e3f09c9408d8686d | |
parent | 1b49e1778f5835cdd4e4451f7e2e0f4fcb07351d (diff) | |
download | mpv-build-68a9f140a919dc36875bf9470bcfbf64ec7af5d5.tar.bz2 mpv-build-68a9f140a919dc36875bf9470bcfbf64ec7af5d5.tar.xz |
tweak debian build instructions
includes recommending dpkg-buildpackage over debuild (which does more
stuff that's probably not applicable to a local user build).
-rw-r--r-- | README.rst | 30 |
1 files changed, 16 insertions, 14 deletions
@@ -94,10 +94,14 @@ list of build dependencies with the command sudo apt-get install devscripts equivs + rm -f mpv-build-deps_*_*.deb + mk-build-deps -s sudo -i This will generate and install a dummy package that depends on the -required packages. +required packages. The rm -f command makes sure there are no previous +versions of the build-deps package lying around that may otherwise +confuse mk-build-deps. If you don't want to use sudo, you can also try: @@ -105,10 +109,6 @@ If you don't want to use sudo, you can also try: su -c 'dpkg -i mpv-build-deps_*.deb || apt-get install -f' -Note that it is advised you first remove any old mpv-build-deps -package files previously created by you before running the above -commands to ensure that you are installing the correct version. - Building a Debian package ========================= @@ -117,19 +117,21 @@ dependencies: ./update -You can then build a full mpv Debian package with the following command: +You can then build a full mpv Debian package with the following commands: - debuild -uc -us -b -j4 + dpkg-buildpackage -uc -us -b -j4 -(4 is the number of jobs running in parallel - change it to match your -number of processors.) The .deb file will be created in the parent -directory, and can be installed with +"4" is the number of jobs running in parallel - change it to match +your number of processors. The file mpv_<version>_<architecture>.deb +will be created in the parent directory. Install it with - sudo dpkg -i ../mpv_*_*.deb + sudo dpkg -i ../mpv_<version>_<architecture>.deb -As with the mpv-build-deps package, you should ensure you are -installing the correct mpv_<version>_<architecture>.deb and not one -you previously compiled. +where you must replace <version> with the version of mpv you just +built (as indicated in debian/changelog) and <architecture> with your +architecture. As with the mpv-build-deps package, you should ensure +you are installing the correct package and not one you previously +compiled. For further information regarding the Debian package, see debian/README.Debian. |