Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 169004 Details for
Bug 240090
libv4l userspace v4l libraries (libv4l1, libv4l2, libv4lconvert) abstraction layer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
skype-compatible ebuild
libv4l-0.5.1.ebuild (text/plain), 2.04 KB, created by
Alexandre Rostovtsev (RETIRED)
on 2008-10-18 18:43:35 UTC
(
hide
)
Description:
skype-compatible ebuild
Filename:
MIME Type:
Creator:
Alexandre Rostovtsev (RETIRED)
Created:
2008-10-18 18:43:35 UTC
Size:
2.04 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit multilib > >DESCRIPTION="V4L userspace libraries" >HOMEPAGE="http://people.atrpms.net/~hdegoede/" >SRC_URI="http://people.atrpms.net/~hdegoede/${P}.tar.gz" > >LICENSE="LGPL-2.1" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="" > >EMULTILIB_PKG="true" > >src_unpack() { > unpack ${A} > > if has_multilib_profile; then > for ABI in $(get_install_abis); do > cp -pr "${S}" "${S}-${ABI}" > done > fi >} > >make_libv4l() { > tc-export CC > emake PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" CFLAGS="${CFLAGS}" \ > || die "emake failed" >} > >src_compile() { > if has_multilib_profile; then > einfo "Building multilib libv4l for ABIs: $(get_install_abis)" > for ABI in $(get_install_abis); do > cd "${S}-${ABI}" > make_libv4l > done > else > make_libv4l > fi >} > >make_install_libv4l() { > emake PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" \ > DESTDIR="${D}" install || die "emake install failed" >} > >src_install() { > dodoc ChangeLog README* TODO > if has_multilib_profile; then > for ABI in $(get_install_abis); do > cd "${S}-${ABI}" > make_install_libv4l > done > else > make_install_libv4l > fi >} > >pkg_postinst() { > elog > elog "libv4l includes wrapper libraries for compatibility and pixel format" > elog "conversion, which are especially useful for users of the gspca usb" > elog "webcam driver in kernel 2.6.27 and higher." > elog > elog "To add v4l2 compatibility to a v4l application 'myapp', launch it via" > if has_multilib_profile; then > elog "one of the following:" > for ABI in $(get_install_abis); do > elog "LD_PRELOAD=/usr/$(get_libdir)/libv4l/v4l1compat.so myapp" > done > elog > else > elog "LD_PRELOAD=/usr/$(get_libdir)/libv4l/v4l1compat.so myapp" > fi > elog "To add automatic pixel format conversion to a v4l2 application, use" > if has_multilib_profile; then > elog "one of the following:" > for ABI in $(get_install_abis); do > elog "LD_PRELOAD=/usr/$(get_libdir)/libv4l/v4l2convert.so myapp" > done > else > elog "LD_PRELOAD=/usr/$(get_libdir)/libv4l/v4l2convert.so myapp" > fi > elog >}
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 240090
:
167365
|
167366
|
168510
|
168854
| 169004