summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-10 19:43:17 +0100
committerwm4 <wm4@nowhere>2013-03-10 19:43:17 +0100
commit439a50988209b011884574b7c32d01ccdd47dc5e (patch)
tree2a4da807904c465747d1c6a09f15f2e4489dbdcd
parentd76b948e90fa14a60022a7d024cce9415f8b1113 (diff)
downloadmpv-build-439a50988209b011884574b7c32d01ccdd47dc5e.tar.bz2
mpv-build-439a50988209b011884574b7c32d01ccdd47dc5e.tar.xz
Minor improvements to README.rst and debian/control
-rw-r--r--README.rst23
-rw-r--r--debian/control2
2 files changed, 23 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 8c4894d..80788dc 100644
--- a/README.rst
+++ b/README.rst
@@ -8,6 +8,13 @@ essential, and distribution packages are often too old or too broken.
Instructions
============
+Make sure git is installed. E.g. on Debian or Ubuntu:
+
+ apt-get install git
+
+Also check that the dependencies listed at the end of this file are
+installed.
+
Checkout the build repo:
git clone https://github.com/mpv-player/mpv-build.git
@@ -44,7 +51,7 @@ Dependencies
Essential dependencies (incomplete list):
-- gcc, yasm, git
+- gcc or clang, yasm, git
- X development headers (xlib, X extensions, vdpau, GL, Xv, ...)
- Audio output development headers (libasound, pulseaudio)
- fribidi, freetype, fontconfig development headers (for libass)
@@ -65,3 +72,17 @@ the required dependencies:
mpv has similar dependencies as mplayer, although there is some
mismatch.
+You can also try this in the mpv-build directory:
+
+ mk-build-deps -s sudo -ir
+
+This will generate and install a dummy package with the required
+dependencies. If you don't want to use sudo, you can also try:
+
+ mk-build-deps
+ dpkg -i mpv-build-deps_1.0_all.deb
+
+dpkg -i will requires root rights of course.
+
+Read debian/README.debian if you want to create a mpv package.
+
diff --git a/debian/control b/debian/control
index 779da86..d6d8b95 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: misc
Priority: optional
Maintainer: Wessel Dankers <wsl@fruit.je>
Standards-Version: 3.9.3
-Build-Depends: libjpeg-dev, libvdpau-dev, zlib1g-dev, x11proto-core-dev, libx11-dev, libxext-dev, libxinerama-dev, libxv-dev, libfreetype6-dev, libfribidi-dev, libfontconfig1-dev, libgl1-mesa-dev, debhelper (>= 7), autoconf, libtool, yasm, libpulse-dev, libasound2-dev, libbluray-dev, python3-docutils, libdvdnav-dev
+Build-Depends: c-compiler, libjpeg-dev, libvdpau-dev, zlib1g-dev, x11proto-core-dev, libx11-dev, libxext-dev, libxinerama-dev, libxv-dev, libfreetype6-dev, libfribidi-dev, libfontconfig1-dev, libgl1-mesa-dev, debhelper (>= 7), autoconf, libtool, yasm, libpulse-dev, libasound2-dev, libbluray-dev, python3-docutils, libdvdread-dev
Package: mpv
Architecture: any