diff options
Diffstat (limited to 'media-libs/libv4l/libv4l-0.9.5.ebuild')
-rw-r--r-- | media-libs/libv4l/libv4l-0.9.5.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/libv4l/libv4l-0.9.5.ebuild b/media-libs/libv4l/libv4l-0.9.5.ebuild new file mode 100644 index 000000000000..142159324a5e --- /dev/null +++ b/media-libs/libv4l/libv4l-0.9.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils linux-info udev + +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="" + +RDEPEND="virtual/jpeg:0= + virtual/glu + virtual/opengl + x11-libs/libX11:= + !media-tv/v4l2-ctl + !<media-tv/ivtv-utils-1.4.0-r2" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/os-headers + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + CONFIG_CHECK="~SHMEM" + linux-info_pkg_setup +} + +src_configure() { + econf \ + --disable-static \ + --disable-qv4l2 \ + --disable-v4l-utils \ + --with-udevdir="$(get_udevdir)" +} + +src_compile() { + emake -C lib +} + +src_install() { + emake -j1 -C lib DESTDIR="${D}" install + dodoc ChangeLog README.lib* TODO + prune_libtool_files --all +} |