/[gentoo-x86]/media-video/mjpegtools/mjpegtools-2.1.0-r2.ebuild
Gentoo

Diff of /media-video/mjpegtools/mjpegtools-2.1.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-2.1.0-r2.ebuild,v 1.5 2014/12/09 10:07:12 jer Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-2.1.0-r2.ebuild,v 1.6 2015/01/29 19:15:57 mgorny Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit autotools eutils flag-o-matic multilib-minimal toolchain-funcs 7inherit autotools eutils flag-o-matic multilib-minimal toolchain-funcs
8 8
11SRC_URI="mirror://sourceforge/mjpeg/${P}.tar.gz" 11SRC_URI="mirror://sourceforge/mjpeg/${P}.tar.gz"
12 12
13LICENSE="GPL-2" 13LICENSE="GPL-2"
14SLOT="1" 14SLOT="1"
15KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" 15KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
16IUSE="dv gtk mmx png quicktime sdl sdlgfx static-libs v4l" 16IUSE="dv gtk cpu_flags_x86_mmx png quicktime sdl sdlgfx static-libs v4l"
17REQUIRED_USE="sdlgfx? ( sdl )" 17REQUIRED_USE="sdlgfx? ( sdl )"
18 18
19RDEPEND=">=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] 19RDEPEND=">=virtual/jpeg-0-r2[${MULTILIB_USEDEP}]
20 quicktime? ( >=media-libs/libquicktime-1.2.4-r1[${MULTILIB_USEDEP}] ) 20 quicktime? ( >=media-libs/libquicktime-1.2.4-r1[${MULTILIB_USEDEP}] )
21 dv? ( >=media-libs/libdv-1.0.0-r3[${MULTILIB_USEDEP}] ) 21 dv? ( >=media-libs/libdv-1.0.0-r3[${MULTILIB_USEDEP}] )
25 >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] 25 >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
26 sdlgfx? ( media-libs/sdl-gfx ) 26 sdlgfx? ( media-libs/sdl-gfx )
27 )" 27 )"
28 28
29DEPEND="${RDEPEND} 29DEPEND="${RDEPEND}
30 mmx? ( dev-lang/nasm ) 30 cpu_flags_x86_mmx? ( dev-lang/nasm )
31 >=sys-apps/sed-4 31 >=sys-apps/sed-4
32 virtual/awk 32 virtual/awk
33 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" 33 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
34 34
35RDEPEND="${RDEPEND} 35RDEPEND="${RDEPEND}
57multilib_src_configure() { 57multilib_src_configure() {
58 [[ $(gcc-major-version) -eq 3 ]] && append-flags -mno-sse2 58 [[ $(gcc-major-version) -eq 3 ]] && append-flags -mno-sse2
59 59
60 local myconf=( 60 local myconf=(
61 --enable-compile-warnings 61 --enable-compile-warnings
62 $(use_enable mmx simd-accel) 62 $(use_enable cpu_flags_x86_mmx simd-accel)
63 $(use_enable static-libs static) 63 $(use_enable static-libs static)
64 --enable-largefile 64 --enable-largefile
65 65
66 $(use_with quicktime libquicktime) 66 $(use_with quicktime libquicktime)
67 $(use_with dv libdv) 67 $(use_with dv libdv)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20