[SCM] mpv/master: Add mplayer2 transitional package
jcowgill at users.alioth.debian.org
jcowgill at users.alioth.debian.org
Wed Oct 26 10:40:31 UTC 2016
The following commit has been merged in the master branch:
commit 1ef5c58015019a414bd89c98b1de215c3fcbcca5
Author: James Cowgill <james410 at cowgill.org.uk>
Date: Sat Oct 22 16:43:10 2016 +0100
Add mplayer2 transitional package
diff --git a/debian/control b/debian/control
index abeba4b..913077c 100644
--- a/debian/control
+++ b/debian/control
@@ -96,3 +96,15 @@ Description: video player based on MPlayer/mplayer2 (client library dev files)
variety of video file formats, audio and video codecs, and subtitle types.
.
This package provides development files for libmpv.
+
+Package: mplayer2
+Section: oldlibs
+Architecture: all
+Depends: mpv, ${misc:Depends}
+Multi-Arch: foreign
+Replaces: mplayer
+Conflicts: mplayer
+Description: transitional dummy package for mpv
+ This is a transitional dummy package to get upgrading systems to install
+ the mpv package. It can safely be removed once no other package depends
+ on it.
diff --git a/debian/mplayer2.links b/debian/mplayer2.links
new file mode 100644
index 0000000..1f8720a
--- /dev/null
+++ b/debian/mplayer2.links
@@ -0,0 +1 @@
+usr/bin/mpv usr/bin/mplayer
diff --git a/debian/rules b/debian/rules
index 6049134..b76b2c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
export DEB_BUILD_MAINT_OPTIONS := hardening=+all # #741439, #799738
+PACKAGE_VERSION = $(shell dpkg-parsechangelog -SVersion)
+
%:
dh $@
@@ -25,6 +27,10 @@ override_dh_auto_install:
override_dh_installchangelogs:
dh_installchangelogs RELEASE_NOTES
+override_dh_gencontrol:
+ dh_gencontrol -pmplayer2 -- -v3:$(PACKAGE_VERSION)
+ dh_gencontrol --remaining-packages
+
override_dh_auto_clean:
test -s ./waf && python ./waf -v distclean || true
find . -name "*.pyc" -delete
--
mpv packaging
More information about the pkg-multimedia-commits
mailing list