media-libs/ffmpegsource: update live ebuild
authorIlya Tumaykin <itumaykin@gmail.com>
Thu, 5 May 2016 00:57:04 +0000 (03:57 +0300)
committerIan Delaney <idella4@gentoo.org>
Mon, 9 May 2016 12:21:53 +0000 (20:21 +0800)
Bump EAPI to 6, drop unused static-libs USE.

Closes: https://github.com/gentoo/gentoo/pull/1439
Package-Manager: portage-2.2.28

Signed-off-by: Ian Delaney <idella4@gentoo.org>
media-libs/ffmpegsource/ffmpegsource-9999.ebuild

index f057f8af19356171c94464d56a3758184367b0dd..8e2ad6a8e77a1ce465d717164928452546fef9ee 100644 (file)
@@ -2,20 +2,18 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-AUTOTOOLS_AUTORECONF=1
-
-inherit autotools-utils flag-o-matic git-r3
+inherit autotools eutils flag-o-matic git-r3
 
 DESCRIPTION="A libav/ffmpeg based source library for easy frame accurate access"
 HOMEPAGE="https://github.com/FFMS/ffms2"
-EGIT_REPO_URI="https://github.com/FFMS/ffms2.git"
+EGIT_REPO_URI="git://github.com/FFMS/ffms2.git"
 
 LICENSE="MIT"
 SLOT="0/4"
 KEYWORDS=""
-IUSE="libav static-libs"
+IUSE="libav"
 
 RDEPEND="
        sys-libs/zlib
@@ -31,3 +29,13 @@ pkg_pretend() {
                die "Your compiler lacks C++11 support. Use GCC>=4.7.0 or Clang>=3.3."
        fi
 }
+
+src_prepare() {
+       default_src_prepare
+       eautoreconf
+}
+
+src_install() {
+       default_src_install
+       prune_libtool_files --modules
+}