diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-16 16:53:28 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-16 16:53:28 +0000 |
commit | 0949ff806b702d0baeebf2697a74fbc0bfcda4d4 (patch) | |
tree | 8a940aa29431c6cdf3be8cf14b8c994857ee60f3 /media-libs | |
parent | sys-fs/aufs-util: Fine grade blocker of sys-fs/aufs3, #461810 (diff) | |
download | gentoo-2-0949ff806b702d0baeebf2697a74fbc0bfcda4d4.tar.gz gentoo-2-0949ff806b702d0baeebf2697a74fbc0bfcda4d4.tar.bz2 gentoo-2-0949ff806b702d0baeebf2697a74fbc0bfcda4d4.zip |
Port to multilib-minimal.eclass and ABI_X86="32" to replace the existing copy in app-emulation/emul-linux-x86-medialibs.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libv4l/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/libv4l/libv4l-0.8.9-r1.ebuild | 53 |
2 files changed, 60 insertions, 1 deletions
diff --git a/media-libs/libv4l/ChangeLog b/media-libs/libv4l/ChangeLog index 4130b5ca04de..e0bdb4528e16 100644 --- a/media-libs/libv4l/ChangeLog +++ b/media-libs/libv4l/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libv4l # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/ChangeLog,v 1.84 2013/03/16 12:55:57 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/ChangeLog,v 1.85 2013/03/16 16:53:28 ssuominen Exp $ + +*libv4l-0.8.9-r1 (16 Mar 2013) + + 16 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> +libv4l-0.8.9-r1.ebuild: + Port to multilib-minimal.eclass and ABI_X86="32" to replace the existing copy + in app-emulation/emul-linux-x86-medialibs. 16 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> -libv4l-0.8.8.ebuild: old diff --git a/media-libs/libv4l/libv4l-0.8.9-r1.ebuild b/media-libs/libv4l/libv4l-0.8.9-r1.ebuild new file mode 100644 index 000000000000..8709ee4e5236 --- /dev/null +++ b/media-libs/libv4l/libv4l-0.8.9-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/libv4l-0.8.9-r1.ebuild,v 1.1 2013/03/16 16:53:28 ssuominen Exp $ + +EAPI=5 +inherit eutils linux-info toolchain-funcs multilib-minimal + +MY_P=v4l-utils-${PV} + +DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package" +HOMEPAGE="http://git.linuxtv.org/v4l-utils.git" +SRC_URI="http://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +# baselibs is for 32bit libjpeg, pending on converting libjpeg-turbo to multilib build +RDEPEND="virtual/jpeg + amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs[development] ) )" +DEPEND="${RDEPEND} + >=sys-kernel/linux-headers-2.6.32" + +S=${WORKDIR}/${MY_P} + +CONFIG_CHECK="~SHMEM" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.8.8-drop-Wp-flags.patch + tc-export CC + multilib_copy_sources +} + +multilib_src_configure() { + sed -i \ + -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \ + -e "/^LIBDIR =/s:/lib:/$(get_libdir):" \ + -e "/^CFLAGS :=/d" \ + Make.rules || die +} + +multilib_src_compile() { + emake -C lib +} + +multilib_src_install() { + emake -C lib DESTDIR="${D}" install +} + +multilib_src_install_all() { + dodoc ChangeLog README.lib* TODO +} |