[SCM] mplayer2/master: Minimal ports to arm64 and ppc64el.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sat May 31 22:16:48 UTC 2014


The following commit has been merged in the master branch:
commit 2954928ca5d49fe1ca4bac0a9cbf9b8b2391b0b2
Author: Colin Watson <cjwatson at ubuntu.com>
Date:   Sat May 31 18:16:02 2014 -0400

    Minimal ports to arm64 and ppc64el.
    
    I haven't done any assembler optimisations so this may not be very fast,
    but it's at least good enough to satisfy dependencies of other packages.

diff --git a/debian/patches/aarch64.patch b/debian/patches/aarch64.patch
new file mode 100644
index 0000000..9e83057
--- /dev/null
+++ b/debian/patches/aarch64.patch
@@ -0,0 +1,29 @@
+From: Colin Watson <cjwatson at ubuntu.com>
+Description: Minimal port to arm64
+Date: Fri, 28 Mar 2014 01:08:16 +0000
+
+I haven't done any assembler optimisations so this may not be very fast,
+but it's at least good enough to satisfy dependencies of other packages.
+
+--- a/configure
++++ b/configure
+@@ -1102,6 +1102,7 @@ if test -z "$_target" ; then
+       sparc) host_arch=sparc ;;
+       sparc64) host_arch=sparc64 ;;
+       parisc*|hppa*|9000*) host_arch=hppa ;;
++      aarch64*) host_arch=aarch64 ;;
+       arm*|zaurus|cats) host_arch=arm ;;
+       sh3|sh4|sh4a) host_arch=sh ;;
+       s390) host_arch=s390 ;;
+@@ -1747,6 +1748,11 @@ case "$host_arch" in
+     _optimizing="$proc"
+     ;;
+ 
++  aarch64*)
++    arch='aarch64'
++    iproc='aarch64'
++    ;;
++
+   arm*)
+     arch='arm'
+     iproc='arm'
diff --git a/debian/patches/ppc64el.patch b/debian/patches/ppc64el.patch
new file mode 100644
index 0000000..f533951
--- /dev/null
+++ b/debian/patches/ppc64el.patch
@@ -0,0 +1,36 @@
+From: Colin Watson <cjwatson at ubuntu.com>
+Description: Minimal port to ppc64el
+Date: Fri, 28 Mar 2014 01:08:16 +0000
+
+I haven't done any assembler optimisations so this may not be very fast,
+but it's at least good enough to satisfy dependencies of other packages.
+
+--- a/configure
++++ b/configure
+@@ -222,7 +222,7 @@ x86() {
+ 
+ ppc() {
+   case "$host_arch" in
+-    ppc|ppc64|powerpc|powerpc64) return 0;;
++    ppc*|powerpc*) return 0;;
+     *) return 1;;
+   esac
+ }
+@@ -1097,7 +1097,7 @@ if test -z "$_target" ; then
+       x86_64|amd64|i[3-9]86*|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686|BePC) host_arch=i386 ;;
+       ia64) host_arch=ia64 ;;
+       macppc|ppc) host_arch=ppc ;;
+-      ppc64) host_arch=ppc64 ;;
++      ppc64*) host_arch=ppc64 ;;
+       alpha) host_arch=alpha ;;
+       sparc) host_arch=sparc ;;
+       sparc64) host_arch=sparc64 ;;
+@@ -1770,7 +1770,7 @@ case "$host_arch" in
+     iproc='sh4'
+     ;;
+ 
+-  ppc|ppc64|powerpc|powerpc64)
++  ppc*|powerpc*)
+     arch='ppc'
+     def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
+     iproc='ppc'
diff --git a/debian/patches/series b/debian/patches/series
index bb73a73..00619b1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,4 @@
 ftbfs-libav10.patch
 samba4.patch
+aarch64.patch
+ppc64el.patch

-- 
mplayer2 packaging



More information about the pkg-multimedia-commits mailing list