media-video/ffmpeg: use get_exeext on fftools_*
authorMarty E. Plummer <hanetzer@protonmail.com>
Tue, 17 Oct 2017 00:03:53 +0000 (19:03 -0500)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 17 Oct 2017 05:35:05 +0000 (07:35 +0200)
Otherwise build will fail at building tools/aviocat instead of
tools/aviocat.exe and so on.

Package-Manager: Portage-2.3.11, Repoman-2.3.3

media-video/ffmpeg/ffmpeg-3.2.6.ebuild
media-video/ffmpeg/ffmpeg-3.2.7.ebuild
media-video/ffmpeg/ffmpeg-3.3.3.ebuild
media-video/ffmpeg/ffmpeg-3.3.4.ebuild
media-video/ffmpeg/ffmpeg-3.4.ebuild
media-video/ffmpeg/ffmpeg-9999.ebuild
media-video/ffmpeg/metadata.xml

index b80c746f8b2c99901cdef1c8fd1666f5393b51bc..4ff6951374b43a07d7fbffc2cb8bce3abdbb2182 100644 (file)
@@ -433,7 +433,7 @@ multilib_src_compile() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               emake V=1 tools/${i}
+                               emake V=1 tools/${i}$(get_exeext)
                        fi
                done
        fi
@@ -445,7 +445,7 @@ multilib_src_install() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               dobin tools/${i}
+                               dobin tools/${i}$(get_exeext)
                        fi
                done
        fi
index 15961769e9ce13038391f29a6afa54c5f0de3e6b..5cf850715a9e863e27807077faddee1f4526ff2b 100644 (file)
@@ -433,7 +433,7 @@ multilib_src_compile() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               emake V=1 tools/${i}
+                               emake V=1 tools/${i}$(get_exeext)
                        fi
                done
        fi
@@ -445,7 +445,7 @@ multilib_src_install() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               dobin tools/${i}
+                               dobin tools/${i}$(get_exeext)
                        fi
                done
        fi
index 7152de0c54a7bd458e6c811259a8e7e7cc0a71fc..9c490223fed44bdfd83911154088534bdd93fed2 100644 (file)
@@ -466,7 +466,7 @@ multilib_src_compile() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               emake V=1 tools/${i}
+                               emake V=1 tools/${i}$(get_exeext)
                        fi
                done
 
@@ -485,7 +485,7 @@ multilib_src_install() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               dobin tools/${i}
+                               dobin tools/${i}$(get_exeext)
                        fi
                done
 
index 527fc20e356f9ee376b9a6f98fad3e19e43b86c7..d3e8813093879b815cbbeb48565a4d9a8d37bf65 100644 (file)
@@ -467,7 +467,7 @@ multilib_src_compile() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               emake V=1 tools/${i}
+                               emake V=1 tools/${i}$(get_exeext)
                        fi
                done
 
@@ -486,7 +486,7 @@ multilib_src_install() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               dobin tools/${i}
+                               dobin tools/${i}$(get_exeext)
                        fi
                done
 
index 265ef86db52c22dadfb68286cd7e38e7c833f6fe..5fc93de56d55f30b36dd2d086bc9494e6166ad9d 100644 (file)
@@ -446,7 +446,7 @@ multilib_src_compile() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               emake V=1 tools/${i}
+                               emake V=1 tools/${i}$(get_exeext)
                        fi
                done
 
@@ -465,7 +465,7 @@ multilib_src_install() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               dobin tools/${i}
+                               dobin tools/${i}$(get_exeext)
                        fi
                done
 
index 41b89ca5e01106d33d928996b74f1132df2003ca..fa68683f56f801bc0a1facaaff423e83e4af7b3b 100644 (file)
@@ -446,7 +446,7 @@ multilib_src_compile() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               emake V=1 tools/${i}
+                               emake V=1 tools/${i}$(get_exeext)
                        fi
                done
 
@@ -465,7 +465,7 @@ multilib_src_install() {
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do
                        if use fftools_${i} ; then
-                               dobin tools/${i}
+                               dobin tools/${i}$(get_exeext)
                        fi
                done
 
index a0b4d7e7ad7361bf48d86510d3bce2574a07188f..a23d63c7c238eb97b5f8438f5d4c85125ea41180 100644 (file)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-    <email>media-video@gentoo.org</email>
-  </maintainer>
-  <use>
+<maintainer type="project">
+       <email>media-video@gentoo.org</email>
+</maintainer>
+<use>
        <flag name="amr">Enables Adaptive Multi-Rate Audio support</flag>
        <flag name="amrenc">Enables Adaptive Multi-Rate Audio encoding support with <pkg>media-libs/vo-amrwbenc</pkg>.</flag>
        <flag name="armv5te">Enables optimizations for armv5te processors.</flag>
        <flag name="zeromq">Enables <pkg>net-libs/zeromq</pkg> support with the zmq/azmq filters.</flag>
        <flag name="zimg">Enables <pkg>media-libs/zimg</pkg> based scale filter.</flag>
        <flag name="zvbi">Enables <pkg>media-libs/zvbi</pkg> based teletext decoder.</flag>
-  </use>
-  <slots>
-    <slot name="0">For building against. This is the only slot that provides
-     headers and command line tools. Binary compatibility slots come and go
-     as required, so always pin dependencies to this slot when appropriate.</slot>
-  </slots>
+</use>
+<slots>
+       <slot name="0">For building against. This is the only slot that provides
+       headers and command line tools. Binary compatibility slots come and go
+       as required, so always pin dependencies to this slot when appropriate.</slot>
+</slots>
 </pkgmetadata>