summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-23 20:57:01 +0100
committerwm4 <wm4@nowhere>2013-01-23 21:27:31 +0100
commite94b9a9b0cf02443bf7375afb476e5975ae47eed (patch)
treeef66023d6b724095a2f2eadafc861549d41755d3
parentc32d54a6b9de5fa2f8de0370ab43500186746197 (diff)
downloadmpv-build-e94b9a9b0cf02443bf7375afb476e5975ae47eed.tar.bz2
mpv-build-e94b9a9b0cf02443bf7375afb476e5975ae47eed.tar.xz
Add a basic dh-based debian directory
Merges pull request #1.
-rw-r--r--debian/README.debian6
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control12
-rw-r--r--debian/copyright7
-rw-r--r--debian/dirs5
-rw-r--r--debian/mime20
-rwxr-xr-xdebian/rules12
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/options2
-rwxr-xr-xscripts/mpv-config2
11 files changed, 72 insertions, 1 deletions
diff --git a/debian/README.debian b/debian/README.debian
new file mode 100644
index 0000000..d470113
--- /dev/null
+++ b/debian/README.debian
@@ -0,0 +1,6 @@
+mpv for Debian
+--------------
+
+ You can build the package using 'debuild -uc -b -j<number of jobs>'.
+
+-- Wessel Dankers <wsl@fruit.je>, Sun, 06 Jan 2013 13:44:11 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..927c2cf
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mpv (1.0git) stable; urgency=low
+
+ * Initial package.
+
+ -- Wessel Dankers <wsl@fruit.je> Sun, 06 Jan 2013 13:44:11 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..779da86
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,12 @@
+Source: mpv
+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
+
+Package: mpv
+Architecture: any
+Depends: ${shlibs:Depends},debconf
+Description: mplayer/mplayer2 based video player
+ MPV is a versatile CLI movie player, based on mplayer and mplayer2.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..03a2b2c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,7 @@
+This package was debianized by Wessel Dankers <wsl@fruit.je> on
+Sun, 06 Jan 2013 13:44:11 +0100.
+
+Original source can be found at: https://github.com/mpv-player
+
+Copyrighted by various authors. Licensed under the terms of GNU GPL.
+See /usr/share/common-licenses/GPL for details.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..8d1744a
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,5 @@
+usr/bin
+usr/share/man/man1
+usr/share/mplayer
+usr/lib/mplayer
+usr/share/applications
diff --git a/debian/mime b/debian/mime
new file mode 100644
index 0000000..422c07e
--- /dev/null
+++ b/debian/mime
@@ -0,0 +1,20 @@
+application/x-ogg; mplayer %s; description="Ogg Stream"
+application/ogg; mplayer %s; description="Ogg Stream"
+audio/mpeg; mplayer %s; description="MPEG Audio"
+audio/x-mpegurl; mplayer %s; description="Icecast Playlist"
+audio/x-ms-wax; mplayer %s; description="Windows Media Audio"
+audio/x-ms-wma; mplayer %s; description="Windows Media Audio"
+audio/x-pls; mplayer %s; description="MP3 ShoutCast/IceCast Playlist"
+audio/x-scpls; mplayer %s; description="Shoutcast Playlist"
+audio/x-wav; mplayer %s; description="WAV Audio"
+video/mpeg; mplayer %s; description="MPEG Video";
+video/quicktime; mplayer %s; description="Apple QuickTime Video";
+video/x-mpeg; mplayer %s; description="MPEG Video";
+video/x-mpeg2; mplayer %s; description="MPEG-2 Video";
+video/x-msvideo; mplayer %s; description="MS Video (AVI)";
+video/x-ms-afs; mplayer %s; description="Microsoft ASF Video";
+video/x-ms-asf; mplayer %s; description="Microsoft ASF Video";
+video/x-ms-wma; mplayer %s; description="Windows Media Audio";
+video/x-ms-wmv; mplayer %s; description="Windows Media Video";
+video/x-ms-wmx; mplayer %s; description="Windows Media Video";
+video/x-ms-wvx; mplayer %s; description="Windows Media Video";
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0177771
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#! /usr/bin/make -f
+
+build:
+ dh_testdir
+ $(MAKE) ffmpeg libass
+ scripts/mpv-config --prefix=/usr
+ $(MAKE) -C mpv
+
+%:
+ exec dh $@ --parallel
+
+override_dh_auto_build:
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..659f59c
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1,2 @@
+compression = xz
+compression-level = best
diff --git a/scripts/mpv-config b/scripts/mpv-config
index 1b3a976..2ba46d2 100755
--- a/scripts/mpv-config
+++ b/scripts/mpv-config
@@ -5,4 +5,4 @@ OPTIONS=""
BUILD="$(pwd)"
cd "$BUILD"/mpv
-PKG_CONFIG_PATH="$BUILD"/build_libs/lib/pkgconfig ./configure --extra-cflags=-I"$BUILD"/build_libs/include --extra-ldflags=-L"$BUILD"/build_libs/lib $OPTIONS
+PKG_CONFIG_PATH="$BUILD"/build_libs/lib/pkgconfig ./configure --extra-cflags=-I"$BUILD"/build_libs/include --extra-ldflags=-L"$BUILD"/build_libs/lib $OPTIONS "$@"