From f87bfbf57f255d60046a85f660281f0785ac872e Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sun, 2 Mar 2014 04:27:04 -0800 Subject: enable more codecs in debian package --- debian/control | 12 +++++++++--- debian/rules | 20 ++++++++++++++------ 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/debian/control b/debian/control index 4cd3b5d..f5afc5b 100644 --- a/debian/control +++ b/debian/control @@ -27,7 +27,7 @@ Build-Depends: # libharfbuzz-dev, libjack-jackd2-dev | libjack-dev, libjpeg-dev, - libopenjpeg-dev, + libopenjpeg-dev, liblcms2-dev, liblircclient-dev, liblua5.1-0-dev, @@ -36,6 +36,8 @@ Build-Depends: libncurses5-dev, libncursesw5-dev, # libopus-dev, + libopencore-amrnb-dev, + libopencore-amrwb-dev, libpulse-dev, libquvi-dev | libquvi-0.9-dev, libschroedinger-dev, @@ -43,11 +45,15 @@ Build-Depends: libspeex-dev, libtheora-dev, libtool, + libtwolame-dev, libv4l-dev [!hurd-any], libva-dev [!hurd-any], libvdpau-dev, libvorbis-dev, + libvo-aacenc-dev, + libvo-amrwbenc-dev, libvpx-dev, + libwavpack-dev, libx264-dev, libx11-dev, libxext-dev, @@ -68,12 +74,12 @@ Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libgl1-mesa-dri, - i965-va-driver | xvba-va-driver | libva-intel-vaapi-driver | va-driver, + i965-va-driver | xvba-va-driver | libva-intel-vaapi-driver | va-driver, nvidia-vdpau-driver | nvidia-driver-binary | nvidia-current | vdpau-driver Suggests: libaacs0 Description: mplayer/mplayer2 based video player MPV is a versatile CLI movie player, based on mplayer and mplayer2. . - This package is not part of Debian. It was created by mpv-build scripts with + This package is not part of Debian. It was created by mpv-build scripts with statically linked ffmpeg (not libav) and libass from upstream. Homepage:https://github.com/mpv-player/mpv-build diff --git a/debian/rules b/debian/rules index 0c81b3e..2584996 100755 --- a/debian/rules +++ b/debian/rules @@ -9,12 +9,12 @@ ifeq ($(DEB_HOST_ARCH_CPU),arm) endif # To enable parallel building: # You can either set DEB_BUILD_OPTIONS=paralell= in your build environment -# or provide the -j option to debuild or dpkg-buildpackage, which +# or provide the -j option to debuild or dpkg-buildpackage, which # ammounts to the same thing. ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) # use MFLAGS, rather than MAKEFLAGS as the latter is used by make internally - MFLAGS += -j$(NUMJOBS) + MFLAGS += -j$(NUMJOBS) WAFFLAGS += -j$(NUMJOBS) endif @@ -29,7 +29,7 @@ build: install: exec dh $@ # Handle all other targets in the usual way. -# The --parallel flag to dh doesn't seem to have the intended effect +# The --parallel flag to dh doesn't seem to have the intended effect # so leave it out. %: exec dh $@ @@ -39,15 +39,23 @@ ffmpeg_config: scripts/ffmpeg-config \ --enable-libgsm \ --enable-libmp3lame \ + --enable-libopencore-amrnb \ + --enable-libopencore-amrwb \ --enable-libopenjpeg \ + --enable-libpulse \ --enable-libschroedinger \ --enable-libspeex \ --enable-libtheora \ + --enable-libtwolame \ + --enable-libvo-aacenc \ + --enable-libvo-amrwbenc \ --enable-libvorbis \ --enable-libvpx \ + --enable-libwavpack \ --enable-libxvid \ - --enable-libx264 -# --enable-libopus + --enable-libx264 \ + --enable-version3 +# --enable-libopus ffmpeg_build: ffmpeg_config scripts/ffmpeg-build $(MFLAGS) @@ -60,7 +68,7 @@ libass_build: libass_config # put the config in the right place and drop the local/ since it's package managed now override_dh_auto_configure: ffmpeg_build libass_build - scripts/mpv-config --prefix=/usr --confdir=/etc/mpv + scripts/mpv-config --prefix=/usr --confdir=/etc/mpv override_dh_auto_build: scripts/mpv-build $(WAFLAGS) -- cgit v1.2.3