Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317095 Details for
Bug 89432
media-video/handbrake - Open-source, GPL-licensed, multiplatform, multithreaded video transcoder.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
handbrake-0.9.6 ebuild, tested on amd64
handbrake-0.9.6.ebuild (text/plain), 4.97 KB, created by
vik
on 2012-07-04 08:29:36 UTC
(
hide
)
Description:
handbrake-0.9.6 ebuild, tested on amd64
Filename:
MIME Type:
Creator:
vik
Created:
2012-07-04 08:29:36 UTC
Size:
4.97 KB
patch
obsolete
># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ >EAPI=4 > >inherit python gnome2-utils toolchain-funcs > >DESCRIPTION="Video Encoder" >HOMEPAGE="http://handbrake.fr" >SRC_URI="http://iweb.dl.sourceforge.net/project/handbrake/${PV}/HandBrake-${PV}.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="-* ~amd64" >IUSE="gtk gst ffmpeg2" > ># fribidi is necessary to compile libass ># Don't need this dependency, net-libs/webkit-gtk, ># since I'm passing --disable-gtk-update-checks to configure. >DEPEND=">=sys-devel/gcc-4.0.0 > =dev-lang/python-2.7* > || ( > >=net-misc/curl-7.21.4 > >=net-misc/wget-1.13.4 > ) > >=dev-lang/yasm-0.8.0 > sys-libs/zlib > app-arch/bzip2 > dev-libs/fribidi > =sys-devel/automake-1.11* > gtk? ( > dev-util/intltool > >=dev-libs/dbus-glib-0.98 > >=x11-libs/gtk+-2.0 > >=sys-fs/udev-171[gudev] > x11-libs/libnotify > ) > gst? ( > media-libs/gstreamer > media-libs/gst-plugins-base > )" >RDEPEND="${DEPEND}" > ># the directory name differs from the package name so ># need to modify the source directory >S="${WORKDIR}/HandBrake-${PV}" > ># what version of python must be eselected in the user's environment >ESELECT_PY_VERSION=2.7 > ># what version of automake required >AUTOMAKE_VERSION=1.11 > ># Set these variables manually since handbrake's configure ># script doesn't handle outputs from use_enable correctly ># (i.e. --disable-ff-mpeg2 will break ./configure) >DISABLE_GST="--disable-gst" >ENABLE_FFMPEG2="" >FETCH="wget" > >pkg_setup() >{ > # make sure eselect for python set to ESELECT_PY_VERSION > python_pkg_setup > if [ -z $(python_get_version | grep "${ESELECT_PY_VERSION}") ]; then > elog "Package dependencies require you to set the \ >python version to ${ESELECT_PY_VERSION} before emerging ${PN}." > elog "Please run eselect python list; eselect python set 1 \ >(if python version ${ESELECT_PY_VERSION} is in the first slot, for example)." > die "Python environment must be changed to meet package \ >dependencies. See above explanation and run eselect python help for details." > fi > > # set the use flags for use in ./configure later on > if use gst ; then > DISABLE_GST=""; > fi > if use ffmpeg2 ; then > ENABLE_FFMPEG2="--enable-ff-mpeg2"; > fi > if [ -x /usr/bin/curl ]; then > FETCH="curl"; > fi >} > >src_prepare() >{ > # This hack is necessary to get libass to compile. > # The fribidi that libass is trying to build can't find glib.h > # unless I add those directories to the build path. This is > # fixed in Gentoo's version of fribidi but is broken with the > # snapshot of libass that Handbrake took before this release. ># mkdir "${S}/build" ># cp "${FILESDIR}/GNUmakefile.custom.defs" "${S}/build" > ># this hack didn't work either... ># append-flags $($(tc-getPKG_CONFIG) --cflags fribidi) > > # try creating an inline GNUmakefile.custom.defs based > # on the one under ${S}/contrib/libass/module.defs > CURRENT_FRIBIDI_CFLAGS=$($(tc-getPKG_CONFIG) --cflags fribidi) > FRIBIDI_FIX_PATH="${S}/build/GNUmakefile.custom.defs" > mkdir "${S}/build" > touch "${FRIBIDI_FIX_PATH}" > echo 'LIBASS.CONFIGURE.extra = \' >> "${FRIBIDI_FIX_PATH}" > echo '--disable-png --disable-enca \' >> "${FRIBIDI_FIX_PATH}" > echo 'FREETYPE_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfreetype" \' >> "${FRIBIDI_FIX_PATH}" > echo 'FREETYPE_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include/freetype2" \' >> "${FRIBIDI_FIX_PATH}" > echo 'FONTCONFIG_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfontconfig" \' >> "${FRIBIDI_FIX_PATH}" > echo 'FONTCONFIG_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include" \' >> "${FRIBIDI_FIX_PATH}" > echo 'FRIBIDI_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfribidi" \' >> "${FRIBIDI_FIX_PATH}" > echo 'FRIBIDI_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include '"${CURRENT_FRIBIDI_CFLAGS}" '"' >> "${FRIBIDI_FIX_PATH}" >} > >src_configure() >{ > elog "./configure --force --prefix=/usr $(use_enable gtk) \ >--disable-gtk-update-checks ${DISABLE_GST} \ >${ENABLE_FFMPEG2} --fetch=${FETCH}" > > # python configure script doesn't accept all econf flags > ./configure --force --prefix=/usr $(use_enable gtk) \ >--disable-gtk-update-checks ${DISABLE_GST} \ >${ENABLE_FFMPEG2} --fetch=${FETCH} >} > >src_compile() >{ > WANT_AUTOMAKE="${AUTOMAKE_VERSION}" emake -C build || die "failed compiling ${PN}" >} > >src_install() >{ > WANT_AUTOMAKE="${AUTOMAKE_VERSION}" emake -C build DESTDIR=${D} install || die "failed installing ${PN}" > elog "If you were required to change your python version, you \ >may now change back to the previous version you were using before \ >emerging ${PN}. Please run eselect python list; eselect python set 1 \ >(if python version ${ESELECT_PY_VERSION} is in the first slot, for example)." >} > >pkg_preinst() >{ > gnome2_icon_savelist >} > >pkg_postinst() >{ > gnome2_icon_cache_update >} > >pkg_postrm() >{ > gnome2_icon_cache_update >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 89432
:
62266
|
62267
|
62268
|
62269
|
62270
|
62271
|
62272
|
62299
|
62336
|
62337
|
101082
|
101084
|
101085
|
108892
|
113419
|
131602
|
137214
|
137216
|
137217
|
137219
|
151196
|
152689
|
152691
|
184913
|
194705
|
194707
|
202205
|
211115
|
211344
|
229397
|
249055
|
249058
|
249061
|
250701
|
250727
|
257334
|
267555
|
267557
|
272655
|
272659
|
272661
|
276611
|
276673
|
279435
|
302449
|
317019
|
317095
|
317544
|
317836
|
317838
|
317846
|
317848
|
319380
|
335014
|
335016
|
341898
|
341900
|
347446
|
348412
|
348414
|
348416