summaryrefslogtreecommitdiff
path: root/media-video
diff options
context:
space:
mode:
Diffstat (limited to 'media-video')
-rw-r--r--media-video/Manifest.gzbin25361 -> 25367 bytes
-rw-r--r--media-video/ffmpeg-chromium/Manifest4
-rw-r--r--media-video/ffmpeg-chromium/ffmpeg-chromium-112.ebuild233
-rw-r--r--media-video/ffmpeg-chromium/ffmpeg-chromium-114.ebuild2
-rw-r--r--media-video/v4l2loopback/Manifest4
-rw-r--r--media-video/v4l2loopback/v4l2loopback-0.12.7.ebuild59
-rw-r--r--media-video/v4l2loopback/v4l2loopback-9999.ebuild19
7 files changed, 74 insertions, 247 deletions
diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz
index a5edf75dbf98..ee3ce55c1d2b 100644
--- a/media-video/Manifest.gz
+++ b/media-video/Manifest.gz
Binary files differ
diff --git a/media-video/ffmpeg-chromium/Manifest b/media-video/ffmpeg-chromium/Manifest
index 50c7e28f3445..fd959936119e 100644
--- a/media-video/ffmpeg-chromium/Manifest
+++ b/media-video/ffmpeg-chromium/Manifest
@@ -3,10 +3,8 @@ AUX ffmpeg-chromium-100.patch 1653 BLAKE2B 4d0b025b024aa9ce9e325487c09bb3a566b45
AUX ffmpeg-chromium-vk-headers.patch 1733 BLAKE2B 8d6e7b72d1dbfcd21d3549be4c54c76a0fa72c3b4bf9882e4e9baa7e69e00739ed9a6c65ff1e21cb6abc00fa09941713ee090b9538c7a4665cd79e4be4e5f4d9 SHA512 2f424c344fcfa24048dcefa082b6216375ff8fb28f830cdfaeb1e84dc84146640b0243741b3688b4ea614a0d91e2cb858cf3251baafbdc412bad595d2e71518e
DIST ffmpeg-chromium-102.tar.gz 15165192 BLAKE2B ecf9b9ff538730d8a265e25e3d30900b119bfa5baa8e097e58151d744c95b3e768b96f477f6394015cd77a8ae35991c7cdaee5fb2f700d129b6c6d7ee87b34d9 SHA512 f5aa4c47e801d2547321c7995240e004706f9b5835610f9726ac45a63ac58a62de64d463ddeb8c1a001d31d89a4dbaee3a1be568c33316f29dc2b675b2f3161a
DIST ffmpeg-chromium-106.tar.xz 9707176 BLAKE2B 8ab9b006328e15faa38b8014f2870e7a9fd9eaacc723cd6079bfaadc05db4d1f8c542dff5a331e1f93c9c877eea6d2ed0dc2bf567c77680227b22b2a9baf8834 SHA512 9f04feee42bf548cbda542be16f186bfe0d8179289a1512cf77ec492a8608b2c9d5c758f93fb6d229be67c20762075dd266fa4b203556f8b7ec4bf66579f2b6b
-DIST ffmpeg-chromium-112.tar.xz 9888952 BLAKE2B 48a2e0e93a890ae3ec436b2c9504c6f5d063c2ed04ed67db9c8b17f1d1111ce56519a8af8c44635901de7f46fb2f0529818e70874a17432c64c1192968a3ae4b SHA512 f0d5e7cd77d5daeddf1c2d47b3435bf9306fdbf23239890cbbaef86ad6e462e9606da5282c39dcd5f32ac6a721b5dd5f01c1f1525f6a66a0dad8a927db2c3217
DIST ffmpeg-chromium-114.tar.xz 9934024 BLAKE2B cc11bd00bcf6bef5f946a16f1544881c71503207ba3c6ec57cdc37124ea562366dced2e029f31e57a6f78ec7073412ac0b8ec470d14975a3cc40fad2e96ec5df SHA512 1b1743664d58f5b92971d113ea441604e0b46f28b22df1b02ab0431b8e884789fb6d81b4f50ff1526f716381abcc63e1b336d23edd9ea28abe8b3526fba08ce9
EBUILD ffmpeg-chromium-102.ebuild 6538 BLAKE2B 33469609d0b3df8f6e22fdf323cdbd06dfcffb7ed510e245eb6b95666f731b5605b324d3bbd4ce26dcc354ef8f4d30260ff978a211bce5b699ee7b332df062fa SHA512 bb8a3ed827c20ef2794d6c55abac93fb949ea3827383db6aedfe29f46df3b84a687e24cc6eb7a0a0517a12907380325333f0f1ea744cf439a0cc93932fbe5717
EBUILD ffmpeg-chromium-106.ebuild 6334 BLAKE2B 4222019adfa1bbc7246bc4ea3015c2bf53349d9c7e56081e82a14dda3b23feb6aa37fb9aa4c74f38a1896c92506a64e16db5816de5b5921b82faab403e769e8a SHA512 9dfbef0a57b24d0dc7cb1e99202bcc4e0b1fe6e4f1f660285255d5fd35445d7bb710c367d3bb7a41bc65c3a32784eae2b418de07c78e23a2b40a4ed88c75ef87
-EBUILD ffmpeg-chromium-112.ebuild 6296 BLAKE2B 3cfb3bfa4c4cefae6a25d6d8022d18c95fb5082fab8c38d5e20cb60ef299730504c039b37c56ff75ef393d47b030e37b87c13cc627a88184ae88545c24653e7d SHA512 45a701c406715e8e9de95bf9c081b8cd25d15cb2e6e80a5f5e34bd6044d9bee0be6888f461fe6fc79f0c573b82c3566e8360f66f068f9919a9c31ee29f8423cf
-EBUILD ffmpeg-chromium-114.ebuild 6297 BLAKE2B e30f8561e354b5359cd2407dbaf398e5857b1ea68af3618c8d3b0100d785b0c1f7ced7f4968e3a1702a40c97e5a9c3f6c83ba9bf05c0a210e094abc10193d9c2 SHA512 023dc4f427c23f450805176c0523a22cecceb5f228b64d1c68b7e62d765fb6107b03ba66b5aa4b4a94e76e942a107f9026ad3fb2dc867998d836c2dbf3071984
+EBUILD ffmpeg-chromium-114.ebuild 6296 BLAKE2B 1e3ee40c1d873e541e59667ba803c7af7fa8859c7cfb94eb6d8319495c4bca8dc7702ded479123f716389ca2a70ad12c7560899bab98275dd4e2a8e144e9d996 SHA512 b7797d932d6246a359bd15f2ce0a2695d33f77bbe23e769bebcf2bcd97cc29a770340c6818194e952106f658471a8fd7b33b321bee8b0d47f3636f13b09f15e8
MISC metadata.xml 589 BLAKE2B 60a8f7a2eca511672dc67487956c589fffbb86ca6500d61c266916be92d1cde6c26246516289f129bbce05b07b811bdfcc0136d56676ce4097e5f19b361f375a SHA512 3953c626bb570af8cceedbf8b4035a0259e789823c296d11e6823237d05bd5d25a08260c6a8815bcea02bee56a522b0bb8da2b8aacd6be417b1992c4b0d22964
diff --git a/media-video/ffmpeg-chromium/ffmpeg-chromium-112.ebuild b/media-video/ffmpeg-chromium/ffmpeg-chromium-112.ebuild
deleted file mode 100644
index 45bd93ba86c5..000000000000
--- a/media-video/ffmpeg-chromium/ffmpeg-chromium-112.ebuild
+++ /dev/null
@@ -1,233 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-COMMIT="ee0c52d52036ecadfd38affec86c04937480bedb"
-DESCRIPTION="FFmpeg built specifically for codec support in Chromium-based browsers"
-HOMEPAGE="https://ffmpeg.org/"
-SRC_URI="https://dev.gentoo.org/~chewi/distfiles/${P}.tar.xz"
-
-SLOT="${PV}"
-LICENSE="
- !gpl? ( LGPL-2.1 )
- gpl? ( GPL-2 )
-"
-
-KEYWORDS="amd64 ~arm ~arm64"
-
-# Options to use as use_enable in the foo[:bar] form.
-# This will feed configure with $(use_enable foo bar)
-# or $(use_enable foo foo) if no :bar is set.
-# foo is added to IUSE.
-FFMPEG_FLAG_MAP=(
- cpudetection:runtime-cpudetect debug
- +gpl
- vaapi vdpau vulkan
- # decoders
- mmal +opus:libopus
- nvenc:ffnvcodec
- # Threads; we only support pthread for now but ffmpeg supports more
- +threads:pthreads
-)
-
-IUSE="
- ${FFMPEG_FLAG_MAP[@]%:*}
-"
-
-# Strings for CPU features in the useflag[:configure_option] form
-# if :configure_option isn't set, it will use 'useflag' as configure option
-ARM_CPU_FEATURES=(
- cpu_flags_arm_thumb:armv5te
- cpu_flags_arm_v6:armv6
- cpu_flags_arm_thumb2:armv6t2
- cpu_flags_arm_neon:neon
- cpu_flags_arm_vfp:vfp
- cpu_flags_arm_vfpv3:vfpv3
- cpu_flags_arm_v8:armv8
-)
-ARM_CPU_REQUIRED_USE="
- arm64? ( cpu_flags_arm_v8 )
- cpu_flags_arm_v8? ( cpu_flags_arm_vfpv3 cpu_flags_arm_neon )
- cpu_flags_arm_neon? ( cpu_flags_arm_thumb2 cpu_flags_arm_vfp )
- cpu_flags_arm_vfpv3? ( cpu_flags_arm_vfp )
- cpu_flags_arm_thumb2? ( cpu_flags_arm_v6 )
- cpu_flags_arm_v6? ( cpu_flags_arm_thumb )
-"
-X86_CPU_FEATURES_RAW=( 3dnow:amd3dnow 3dnowext:amd3dnowext aes:aesni avx:avx avx2:avx2 fma3:fma3 fma4:fma4 mmx:mmx mmxext:mmxext sse:sse sse2:sse2 sse3:sse3 ssse3:ssse3 sse4_1:sse4 sse4_2:sse42 xop:xop )
-X86_CPU_FEATURES=( ${X86_CPU_FEATURES_RAW[@]/#/cpu_flags_x86_} )
-X86_CPU_REQUIRED_USE="
- cpu_flags_x86_avx2? ( cpu_flags_x86_avx )
- cpu_flags_x86_fma4? ( cpu_flags_x86_avx )
- cpu_flags_x86_fma3? ( cpu_flags_x86_avx )
- cpu_flags_x86_xop? ( cpu_flags_x86_avx )
- cpu_flags_x86_avx? ( cpu_flags_x86_sse4_2 )
- cpu_flags_x86_aes? ( cpu_flags_x86_sse4_2 )
- cpu_flags_x86_sse4_2? ( cpu_flags_x86_sse4_1 )
- cpu_flags_x86_sse4_1? ( cpu_flags_x86_ssse3 )
- cpu_flags_x86_ssse3? ( cpu_flags_x86_sse3 )
- cpu_flags_x86_sse3? ( cpu_flags_x86_sse2 )
- cpu_flags_x86_sse2? ( cpu_flags_x86_sse )
- cpu_flags_x86_sse? ( cpu_flags_x86_mmxext )
- cpu_flags_x86_mmxext? ( cpu_flags_x86_mmx )
- cpu_flags_x86_3dnowext? ( cpu_flags_x86_3dnow )
- cpu_flags_x86_3dnow? ( cpu_flags_x86_mmx )
-"
-
-CPU_FEATURES_MAP=(
- ${ARM_CPU_FEATURES[@]}
- ${X86_CPU_FEATURES[@]}
-)
-IUSE="${IUSE}
- ${CPU_FEATURES_MAP[@]%:*}"
-
-CPU_REQUIRED_USE="
- ${ARM_CPU_REQUIRED_USE}
- ${X86_CPU_REQUIRED_USE}
-"
-
-RDEPEND="
- mmal? ( media-libs/raspberrypi-userland )
- opus? ( >=media-libs/opus-1.0.2-r2 )
- vaapi? ( >=media-libs/libva-1.2.1-r1:0= )
- nvenc? ( >=media-libs/nv-codec-headers-9.1.23.1 )
- vdpau? ( >=x11-libs/libvdpau-0.7 )
- vulkan? ( >=media-libs/vulkan-loader-1.2.189:= )
-"
-
-DEPEND="${RDEPEND}
-"
-BDEPEND="
- >=sys-devel/make-3.81
- virtual/pkgconfig
- cpu_flags_x86_mmx? ( || ( >=dev-lang/nasm-2.13 >=dev-lang/yasm-1.3 ) )
-"
-
-REQUIRED_USE="
- ${CPU_REQUIRED_USE}"
-RESTRICT="
- test
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-100.patch
- "${FILESDIR}"/chromium.patch
-)
-
-src_prepare() {
- export revision=git-N-g${COMMIT:0:10}
- default
-
- # -fdiagnostics-color=auto gets appended after user flags which
- # will ignore user's preference.
- sed -i -e '/check_cflags -fdiagnostics-color=auto/d' configure || die
-
- echo 'include $(SRC_PATH)/ffbuild/libffmpeg.mak' >> Makefile || die
-}
-
-src_configure() {
- local myconf=( )
-
- # bug 842201
- use ia64 && tc-is-gcc && append-flags \
- -fno-tree-ccp \
- -fno-tree-dominator-opts \
- -fno-tree-fre \
- -fno-code-hoisting \
- -fno-tree-pre \
- -fno-tree-vrp
-
- local ffuse=( "${FFMPEG_FLAG_MAP[@]}" )
-
- for i in "${ffuse[@]#+}" ; do
- myconf+=( $(use_enable ${i%:*} ${i#*:}) )
- done
-
- # CPU features
- for i in "${CPU_FEATURES_MAP[@]}" ; do
- use ${i%:*} || myconf+=( --disable-${i#*:} )
- done
-
- # Try to get cpu type based on CFLAGS.
- # Bug #172723
- # We need to do this so that features of that CPU will be better used
- # If they contain an unknown CPU it will not hurt since ffmpeg's configure
- # will just ignore it.
- for i in $(get-flag mcpu) $(get-flag march) ; do
- [[ ${i} = native ]] && i="host" # bug #273421
- myconf+=( --cpu=${i} )
- break
- done
-
- # LTO support, bug #566282, bug #754654, bug #772854
- is-flagq "-flto*" && myconf+=( "--enable-lto" )
- filter-lto
-
- # Mandatory configuration
- myconf=(
- --disable-stripping
- # This is only for hardcoded cflags; those are used in configure checks that may
- # interfere with proper detections, bug #671746 and bug #645778
- # We use optflags, so that overrides them anyway.
- --disable-optimizations
- --disable-libcelt # bug #664158
- "${myconf[@]}"
- )
-
- # cross compile support
- if tc-is-cross-compiler ; then
- myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
- case ${CHOST} in
- *mingw32*)
- myconf+=( --target-os=mingw32 )
- ;;
- *linux*)
- myconf+=( --target-os=linux )
- ;;
- esac
- fi
-
- # Use --extra-libs if needed for LIBS
- set -- "${S}/configure" \
- --prefix="${EPREFIX}/usr" \
- --libdir="${EPREFIX}/usr/$(get_libdir)" \
- --shlibdir="${EPREFIX}/usr/$(get_libdir)" \
- --cc="$(tc-getCC)" \
- --cxx="$(tc-getCXX)" \
- --ar="$(tc-getAR)" \
- --nm="$(tc-getNM)" \
- --strip="$(tc-getSTRIP)" \
- --ranlib="$(tc-getRANLIB)" \
- --pkg-config="$(tc-getPKG_CONFIG)" \
- --optflags="${CFLAGS}" \
- --disable-all \
- --disable-autodetect \
- --disable-error-resilience \
- --disable-everything \
- --disable-faan \
- --disable-iconv \
- --disable-network \
- --enable-avcodec \
- --enable-avformat \
- --enable-avutil \
- --enable-decoder=aac,flac,h264,libopus,mp3,pcm_alaw,pcm_f32le,pcm_mulaw,pcm_s16be,pcm_s16le,pcm_s24be,pcm_s24le,pcm_s32le,pcm_u8,theora,vorbis,vp8 \
- --enable-demuxer=aac,flac,matroska,mov,mp3,ogg,wav \
- --enable-parser=aac,flac,h264,mpegaudio,opus,vorbis,vp3,vp8,vp9 \
- --enable-pic \
- --enable-static \
- "${myconf[@]}" \
- ${EXTRA_FFMPEG_CONF}
-
- echo "${@}"
- "${@}" || die
-}
-
-src_compile() {
- emake V=1 libffmpeg
-}
-
-src_install() {
- emake V=1 DESTDIR="${D}" install-libffmpeg
-}
diff --git a/media-video/ffmpeg-chromium/ffmpeg-chromium-114.ebuild b/media-video/ffmpeg-chromium/ffmpeg-chromium-114.ebuild
index 2ffa543ad4a4..a550da7245bf 100644
--- a/media-video/ffmpeg-chromium/ffmpeg-chromium-114.ebuild
+++ b/media-video/ffmpeg-chromium/ffmpeg-chromium-114.ebuild
@@ -16,7 +16,7 @@ LICENSE="
gpl? ( GPL-2 )
"
-KEYWORDS="~amd64 ~arm ~arm64"
+KEYWORDS="amd64 ~arm ~arm64"
# Options to use as use_enable in the foo[:bar] form.
# This will feed configure with $(use_enable foo bar)
diff --git a/media-video/v4l2loopback/Manifest b/media-video/v4l2loopback/Manifest
index 3eb193c3f794..fec6e14fc2af 100644
--- a/media-video/v4l2loopback/Manifest
+++ b/media-video/v4l2loopback/Manifest
@@ -1,4 +1,6 @@
DIST v4l2loopback-0.12.5.tar.gz 51468 BLAKE2B 514f686fc6f87feebedb1b047e764fa03938c265c88db0fedfb6aba3544f5b8b495631fc0bcdf4b88c1c4d522f6b4d7546b4d0d10381f6be2efc7f405511033a SHA512 5fd2affbb4a7f38bb78f996179de6570b2bd69cfed2a79c4505e7ea2cdf5b65c0a6807f1f4e03f320b667f5cbe62f26fadd412bc0fec5944e4e394635bf5fb3d
+DIST v4l2loopback-0.12.7.tar.gz 52145 BLAKE2B 08b0dd6dfd065f8bc450aad8d711d1723fe65bbee6be4624038f34e8ad8bc2ed6e544fc5771fb42b0e8c92213c2db71aff5857c0b1fd6343c6900bf27df618d7 SHA512 fcfe55396e9ddad56e592ffccd955c8ceff49c11cfbc5af382123ee0c15b41729b78cb763acbb17d288c48498f2183a4b24f146758ae67e1982b7ab2b07ff973
EBUILD v4l2loopback-0.12.5-r1.ebuild 1111 BLAKE2B 31929aa7ccf2fc89409ee34e02d365f3937a624ee4de351ebe64677b9dba4a8218c5e97b85357cecdea5a4a9062537cd12b6262ecbd77eb42dfa76242b3addce SHA512 51e911a9ebd032b97a5d19ad4c781b808c66a61f23ce6ccd73bca73d4595b0ac36b0447d84afb27e424281f600724f4140b04691fe6d8a6af7696cb623b27729
-EBUILD v4l2loopback-9999.ebuild 1133 BLAKE2B baa88185bf1d82c52e1c4788c7a21b04d3191acda4081eaad5bee2ae290b80813d8e416d1764582851696702610964b2dca2db80470cdb32ba2960925f51056d SHA512 70a0a9d6d7527883731302fd385c494949678a58b12d61003fc490a50e30917438937eef32d3c0b248939711a690742d9a214193a6d9dfe88c33dcb7979d0067
+EBUILD v4l2loopback-0.12.7.ebuild 1110 BLAKE2B 7862b24e98ba06af078b331025d269ba2fed15b537c514cc6a9e80c42b0d3bab6a8c28a20c952a6959c5888d5f53d4bf701be7fcc56f412ea934c6bfa28286a9 SHA512 63dacd6350c4398b2294f497c5ebf63371edbb4153baa1f4cd713bdae1eca880baab672e612c7d11eaad626c60e121eab2e8ef958d7c82effa1280fe49a0b19f
+EBUILD v4l2loopback-9999.ebuild 1110 BLAKE2B 7862b24e98ba06af078b331025d269ba2fed15b537c514cc6a9e80c42b0d3bab6a8c28a20c952a6959c5888d5f53d4bf701be7fcc56f412ea934c6bfa28286a9 SHA512 63dacd6350c4398b2294f497c5ebf63371edbb4153baa1f4cd713bdae1eca880baab672e612c7d11eaad626c60e121eab2e8ef958d7c82effa1280fe49a0b19f
MISC metadata.xml 350 BLAKE2B d9a59e7368e495faf38e1663514d9ab1b0b152b0154f3b513ccc08770f4ca3dcc3236010431101e8bd279594c60fe5afa26a1be886d5eb5ecfc54b3a5fc27ffa SHA512 0a86fe8cb27cd34495a9e9baab914faf53ea652befce624d8494864cd86276c6b648f09b9f75a191e3f4b1f7a3d84622db5eacd628ccbe689b9e516b12a48c88
diff --git a/media-video/v4l2loopback/v4l2loopback-0.12.7.ebuild b/media-video/v4l2loopback/v4l2loopback-0.12.7.ebuild
new file mode 100644
index 000000000000..20dda14f748d
--- /dev/null
+++ b/media-video/v4l2loopback/v4l2loopback-0.12.7.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod-r1 toolchain-funcs
+
+case ${PV} in
+9999)
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/umlaeute/v4l2loopback.git"
+ ;;
+*)
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/umlaeute/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ ;;
+esac
+
+DESCRIPTION="v4l2 loopback device whose output is its own input"
+HOMEPAGE="https://github.com/umlaeute/v4l2loopback"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="examples"
+
+CONFIG_CHECK="VIDEO_DEV"
+
+pkg_setup() {
+ linux-mod-r1_pkg_setup
+ export KERNELRELEASE=${KV_FULL}
+}
+
+src_prepare() {
+ default
+ sed -i -e 's/gcc /$(CC) /' examples/Makefile || die
+}
+
+src_compile() {
+ local modlist=(
+ v4l2loopback=video:
+ )
+
+ linux-mod-r1_src_compile
+ if use examples; then
+ emake CC="$(tc-getCC)" -C examples
+ fi
+}
+
+src_install() {
+ linux-mod-r1_src_install
+ dosbin utils/v4l2loopback-ctl
+ dodoc doc/kernel_debugging.txt
+ dodoc doc/docs.txt
+ if use examples; then
+ dosbin examples/yuv4mpeg_to_v4l2
+ docinto examples
+ dodoc examples/{*.sh,*.c,Makefile}
+ fi
+}
diff --git a/media-video/v4l2loopback/v4l2loopback-9999.ebuild b/media-video/v4l2loopback/v4l2loopback-9999.ebuild
index 760951059416..20dda14f748d 100644
--- a/media-video/v4l2loopback/v4l2loopback-9999.ebuild
+++ b/media-video/v4l2loopback/v4l2loopback-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit linux-mod toolchain-funcs
+inherit linux-mod-r1 toolchain-funcs
case ${PV} in
9999)
@@ -11,7 +11,6 @@ case ${PV} in
EGIT_REPO_URI="https://github.com/umlaeute/v4l2loopback.git"
;;
*)
- inherit vcs-snapshot
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/umlaeute/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
;;
@@ -25,11 +24,9 @@ SLOT="0"
IUSE="examples"
CONFIG_CHECK="VIDEO_DEV"
-MODULE_NAMES="v4l2loopback(video:)"
-BUILD_TARGETS="all"
pkg_setup() {
- linux-mod_pkg_setup
+ linux-mod-r1_pkg_setup
export KERNELRELEASE=${KV_FULL}
}
@@ -39,14 +36,18 @@ src_prepare() {
}
src_compile() {
- linux-mod_src_compile
+ local modlist=(
+ v4l2loopback=video:
+ )
+
+ linux-mod-r1_src_compile
if use examples; then
emake CC="$(tc-getCC)" -C examples
fi
}
src_install() {
- linux-mod_src_install
+ linux-mod-r1_src_install
dosbin utils/v4l2loopback-ctl
dodoc doc/kernel_debugging.txt
dodoc doc/docs.txt