From e94b9a9b0cf02443bf7375afb476e5975ae47eed Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Jan 2013 20:57:01 +0100 Subject: Add a basic dh-based debian directory Merges pull request #1. --- debian/README.debian | 6 ++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 12 ++++++++++++ debian/copyright | 7 +++++++ debian/dirs | 5 +++++ debian/mime | 20 ++++++++++++++++++++ debian/rules | 12 ++++++++++++ debian/source/format | 1 + debian/source/options | 2 ++ scripts/mpv-config | 2 +- 11 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 debian/README.debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/mime create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/options 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'. + +-- Wessel Dankers , 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 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 +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 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 "$@" -- cgit v1.2.3