diff options
author | James Le Cuirot <chewi@gentoo.org> | 2021-10-24 21:11:36 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2021-10-24 21:22:26 +0100 |
commit | 32311848ad9df29b7ec316a072d2a5c6f8719ff2 (patch) | |
tree | 1da50651575ee9b78060575b9391457007f0983a /media-libs/libv4l | |
parent | media-tv/v4l-utils: Add warning about ir-keytable changes (diff) | |
download | gentoo-32311848ad9df29b7ec316a072d2a5c6f8719ff2.tar.gz gentoo-32311848ad9df29b7ec316a072d2a5c6f8719ff2.tar.bz2 gentoo-32311848ad9df29b7ec316a072d2a5c6f8719ff2.zip |
media-libs/libv4l: Version bump to 1.22.1, EAPI 8
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-libs/libv4l')
-rw-r--r-- | media-libs/libv4l/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libv4l/libv4l-1.22.1.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest index 8ad11332de46..b7cae8ef2396 100644 --- a/media-libs/libv4l/Manifest +++ b/media-libs/libv4l/Manifest @@ -1 +1,2 @@ DIST v4l-utils-1.20.0.tar.bz2 2030419 BLAKE2B 218082b88c42dcb9da3dbdd81b184c0e7402ca7ba35678a2905e16c11db1fe7065a19ec84b5fd57e2ed4718965c3e8097f8e8bdd04a38a485716efe3ec62e42a SHA512 179ca8dbbf7af5fa4870b70f17645d7834fe6ba52670ae6b58473efa257db0cd812ce14f16574cc4491c0bcb218835e4c29f1354882a151687eecec97852fc63 +DIST v4l-utils-1.22.1.tar.bz2 2086238 BLAKE2B a3f01a17ea7c8925c74dd883d30b42f54b7926d253dac79e4cadaba43abc33672804257b3b92e5aa640ead6b5aaaa2458f05e21642044d7dea77e5580a8dbe9a SHA512 8a634d8995d13f453dfaf90ca5d0dfb26f2f4b10a0d200d76a949c46f77040d12fc0a5b35e05d7b1ba68bcfc85a445be5a5ab1d4a7d4eabfe3a254038ccc6170 diff --git a/media-libs/libv4l/libv4l-1.22.1.ebuild b/media-libs/libv4l/libv4l-1.22.1.ebuild new file mode 100644 index 000000000000..af9048e8367b --- /dev/null +++ b/media-libs/libv4l/libv4l-1.22.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools linux-info multilib-minimal + +MY_P="v4l-utils-${PV}" + +DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package" +HOMEPAGE="https://git.linuxtv.org/v4l-utils.git" +SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2" + +LICENSE="LGPL-2.1+" +SLOT="0/0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="dvb jpeg" + +RDEPEND=" + dvb? ( virtual/libudev[${MULTILIB_USEDEP}] ) + !elibc_glibc? ( sys-libs/argp-standalone ) + jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) + !media-tv/v4l2-ctl + !<media-tv/ivtv-utils-1.4.0-r2 +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + CONFIG_CHECK="~SHMEM" + linux-info_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # Hard disable the flags that apply only to the utils. + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + $(use_enable dvb libdvbv5) \ + --disable-qv4l2 \ + --disable-qvidcap \ + --disable-v4l-utils \ + $(use_with jpeg) \ + $(use_with dvb libudev) +} + +multilib_src_compile() { + emake -C lib +} + +multilib_src_install() { + emake -j1 -C lib DESTDIR="${D}" install +} + +multilib_src_install_all() { + dodoc ChangeLog README.lib* TODO + + # no static archives + find "${D}" -name '*.la' -delete || die +} |