Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 480828 Details for
Bug 621228
media-video/handbrake is not really compatible with ffmpeg (even not fully compatible with system libav)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
handbrake-1.0.7-r1.ebuild
handbrake-1.0.7-r1.ebuild (text/plain), 3.93 KB, created by
Pacho Ramos
on 2017-07-05 11:12:24 UTC
(
hide
)
Description:
handbrake-1.0.7-r1.ebuild
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2017-07-05 11:12:24 UTC
Size:
3.93 KB
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=6 > >PYTHON_COMPAT=( python2_7 ) > >inherit autotools eutils gnome2-utils python-any-r1 > >if [[ ${PV} = *9999* ]]; then > EGIT_REPO_URI="https://github.com/HandBrake/HandBrake.git" > inherit git-r3 > KEYWORDS="" >else > MY_P="HandBrake-${PV}" > SRC_URI="http://handbrake.fr/rotation.php?file=${MY_P}.tar.bz2 -> ${P}.tar.bz2" > S="${WORKDIR}/${MY_P}" > KEYWORDS="~amd64 ~x86" >fi > >DESCRIPTION="Open-source, GPL-licensed, multiplatform, multithreaded video transcoder" >HOMEPAGE="http://handbrake.fr/" >LICENSE="GPL-2" > >SLOT="0" > >IUSE="+fdk gstreamer gtk libav libav-aac system-ffmpeg x265" >REQUIRED_USE=" > ^^ ( fdk libav-aac ) > libav? ( system-ffmpeg ) >" > >RDEPEND=" > dev-libs/jansson > media-libs/a52dec > media-libs/libass:= > >=media-libs/libbluray-1.0 > media-libs/libdvdnav > media-libs/libdvdread > media-libs/libsamplerate > media-libs/libtheora > media-libs/libvorbis > media-libs/libvpx > media-libs/opus > media-libs/x264:= > media-sound/lame > sys-libs/zlib > system-ffmpeg? ( > libav? ( >=media-video/libav-10.1:0=[fdk?] ) > !libav? ( >=media-video/ffmpeg-2.3:0=[fdk?] ) ) > gstreamer? ( > media-libs/gstreamer:1.0 > media-libs/gst-plugins-base:1.0 > media-libs/gst-plugins-good:1.0 > media-libs/gst-plugins-bad:1.0 > media-libs/gst-plugins-ugly:1.0 > media-plugins/gst-plugins-a52dec:1.0 > media-plugins/gst-plugins-libav:1.0 > media-plugins/gst-plugins-x264:1.0 > ) > gtk? ( > >=x11-libs/gtk+-3.10 > dev-libs/dbus-glib > dev-libs/glib:2 > x11-libs/cairo > x11-libs/gdk-pixbuf:2 > x11-libs/libnotify > x11-libs/pango > virtual/libgudev:= > ) > fdk? ( media-libs/fdk-aac ) > x265? ( >=media-libs/x265-1.7:0= ) >" > >DEPEND="${RDEPEND} > ${PYTHON_DEPS} > dev-lang/yasm > dev-util/intltool > sys-devel/automake >" > >pkg_setup() { > python-any-r1_pkg_setup >} > >src_prepare() { > default > > # Get rid of leftover bundled library build definitions, > sed -i 's:.*\(/contrib\|contrib/\).*::g' \ > "${S}"/make/include/main.defs \ > || die "Contrib removal failed." > if ! use system-ffmpeg; then > sed -i -e 's:MODULES += pkg:MODULES += contrib/ffmpeg\nMODULES += pkg:' "${S}"/make/include/main.defs || die > sed -i -e '1iinclude $(SRC/)make/include/contrib.defs\' "${S}"/make/include/main.defs || die > fi > > # Apply non-upstreamed patches only when we not try to use bundled > # ffmpeg > if use system-ffmpeg; then > # Remove libdvdnav duplication and call it on the original instead. > # It may work this way; if not, we should try to mimic the duplication. > eapply "${FILESDIR}/${PN}-9999-remove-dvdnav-dup.patch" > > # Remove faac dependency; TODO: figure out if we need to do this at all. > eapply "${FILESDIR}/${PN}-9999-remove-faac-dependency.patch" > > # Fix missing x265 link flag > eapply "${FILESDIR}/${PN}-9999-fix-missing-x265-link-flag.patch" > fi > > # Get rid of libav specific code when using system-ffmpeg and not > # system libav > if use system-ffmpeg && ! use libav; then > eapply -R "${FILESDIR}/${PN}-0.10.3-nolibav.patch" > fi > > cd "${S}/gtk" > # Don't run autogen.sh. > sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed" > eautoreconf >} > >src_configure() { > ./configure \ > --force \ > --verbose \ > --prefix="${EPREFIX}/usr" \ > --disable-gtk-update-checks \ > $(use_enable libav-aac) \ > $(use_enable fdk fdk-aac) \ > $(use_enable gtk) \ > $(usex !gstreamer --disable-gst) \ > $(use_enable x265) || die "Configure failed." >} > >src_compile() { > emake -C build > > # TODO: Documentation building is currently broken, try to fix it. > # > # if use doc ; then > # emake -C build doc > # fi >} > >src_install() { > emake -C build DESTDIR="${D}" install > > dodoc README.markdown AUTHORS.markdown NEWS.markdown THANKS.markdown >} > >pkg_postinst() { > einfo "For the CLI version of HandBrake, you can use \`HandBrakeCLI\`." > > if use gtk ; then > einfo "" > einfo "For the GTK+ version of HandBrake, you can run \`ghb\`." > fi > > gnome2_icon_cache_update >} > >pkg_preinst() { > gnome2_icon_savelist >} > >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 621228
: 480828