/[gentoo-x86]/media-video/transcode/transcode-1.1.7-r2.ebuild
Gentoo

Contents of /media-video/transcode/transcode-1.1.7-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 6 13:21:58 2014 UTC (5 years, 7 months ago) by mgorny
Branch: MAIN
Changes since 1.1: +3 -3 lines
Replace obsolete mirror://bitbucket with the real URI.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-1.1.7-r2.ebuild,v 1.1 2013/05/27 09:09:58 thev00d00 Exp $
4
5 EAPI=5
6 inherit eutils libtool multilib
7
8 DESCRIPTION="A suite of utilities for transcoding video and audio codecs in different containers"
9 HOMEPAGE="http://tcforge.berlios.de/"
10 SRC_URI="https://www.bitbucket.org/france/${PN}-tcforge/downloads/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
15 IUSE="3dnow a52 aac alsa altivec dv dvd +iconv imagemagick jpeg lzo mjpeg mmx mp3 mpeg nuv ogg oss pic postproc quicktime sdl sse sse2 theora truetype v4l vorbis X x264 xml xvid"
16
17 RDEPEND="
18 >=virtual/ffmpeg-0.10
19 a52? ( media-libs/a52dec )
20 aac? ( media-libs/faac )
21 alsa? ( media-libs/alsa-lib )
22 dv? ( media-libs/libdv )
23 dvd? ( media-libs/libdvdread )
24 iconv? ( virtual/libiconv )
25 imagemagick? ( media-gfx/imagemagick )
26 jpeg? ( virtual/jpeg )
27 lzo? ( >=dev-libs/lzo-2 )
28 mjpeg? ( media-video/mjpegtools )
29 mp3? ( media-sound/lame )
30 mpeg? ( media-libs/libmpeg2 )
31 ogg? ( media-libs/libogg )
32 postproc? ( >=virtual/ffmpeg-0.10 )
33 quicktime? ( >=media-libs/libquicktime-1 )
34 sdl? ( >=media-libs/libsdl-1.2.5[X?] )
35 theora? ( media-libs/libtheora )
36 truetype? ( >=media-libs/freetype-2 )
37 v4l? ( media-libs/libv4l )
38 vorbis? ( media-libs/libvorbis )
39 X? ( x11-libs/libXpm x11-libs/libXaw x11-libs/libXv )
40 x264? ( media-libs/x264 )
41 xml? ( dev-libs/libxml2 )
42 xvid? ( media-libs/xvid )
43 "
44
45 DEPEND="
46 ${RDEPEND}
47 virtual/pkgconfig
48 v4l? ( >=sys-kernel/linux-headers-2.6.11 )
49 "
50
51 REQUIRED_USE="
52 sse? ( mmx )
53 sse2? ( mmx sse )
54 3dnow? ( mmx )
55 nuv? ( lzo )
56 "
57
58 src_prepare() {
59 epatch \
60 "${FILESDIR}"/${P}-ffmpeg.patch \
61 "${FILESDIR}"/${P}-ffmpeg-0.10.patch \
62 "${FILESDIR}"/${P}-ffmpeg-0.11.patch \
63 "${FILESDIR}"/${P}-preset-free.patch \
64 "${FILESDIR}"/${P}-libav-9.patch
65
66 elibtoolize
67 }
68
69 src_configure() {
70 local myconf
71 use x86 && myconf="$(use_enable !pic x86-textrels)" #271476
72
73 econf \
74 $(use_enable mmx) \
75 $(use_enable 3dnow) \
76 $(use_enable sse) \
77 $(use_enable sse2) \
78 $(use_enable altivec) \
79 $(use_enable v4l libv4l2) \
80 $(use_enable v4l libv4lconvert) \
81 $(use_enable mpeg libmpeg2) \
82 $(use_enable mpeg libmpeg2convert) \
83 --enable-experimental \
84 --enable-deprecated \
85 $(use_enable v4l) \
86 $(use_enable oss) \
87 $(use_enable alsa) \
88 $(use_enable postproc libpostproc) \
89 $(use_enable truetype freetype2) \
90 $(use_enable mp3 lame) \
91 $(use_enable xvid) \
92 $(use_enable x264) \
93 $(use_enable ogg) \
94 $(use_enable vorbis) \
95 $(use_enable theora) \
96 $(use_enable dvd libdvdread) \
97 $(use_enable dv libdv) \
98 $(use_enable quicktime libquicktime) \
99 $(use_enable lzo) \
100 $(use_enable a52) \
101 $(use_enable aac faac) \
102 $(use_enable xml libxml2) \
103 $(use_enable mjpeg mjpegtools) \
104 $(use_enable sdl) \
105 $(use_enable imagemagick) \
106 $(use_enable jpeg libjpeg) \
107 $(use_enable iconv) \
108 $(use_enable nuv) \
109 $(use_with X x) \
110 --with-mod-path=/usr/$(get_libdir)/transcode \
111 ${myconf}
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" docsdir=/usr/share/doc/${PF} install
116 dodoc AUTHORS ChangeLog README STYLE TODO
117 find "${ED}"usr -name '*.la' -exec rm -f {} +
118 }

  ViewVC Help
Powered by ViewVC 1.1.20