From b0632f33a9a34123e027e91c44916235a5cd9494 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Dec 2023 23:01:08 +0000 Subject: gentoo auto-resync : 01:12:2023 - 23:01:08 --- media-video/Manifest.gz | Bin 25199 -> 25191 bytes media-video/droidcam/Manifest | 3 +- media-video/droidcam/droidcam-2.0.0-r1.ebuild | 158 -------------------------- media-video/droidcam/droidcam-2.1.0.ebuild | 148 ++++++++++++++++++++++++ media-video/hevc-hm/Manifest | 2 +- media-video/hevc-hm/hevc-hm-17.0.ebuild | 2 +- media-video/parole/Manifest | 2 +- media-video/parole/parole-4.18.1.ebuild | 1 + 8 files changed, 154 insertions(+), 162 deletions(-) delete mode 100644 media-video/droidcam/droidcam-2.0.0-r1.ebuild create mode 100644 media-video/droidcam/droidcam-2.1.0.ebuild (limited to 'media-video') diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz index 21381e6749e3..57666e01da8d 100644 Binary files a/media-video/Manifest.gz and b/media-video/Manifest.gz differ diff --git a/media-video/droidcam/Manifest b/media-video/droidcam/Manifest index 716eb8c72b28..55f550cf0c21 100644 --- a/media-video/droidcam/Manifest +++ b/media-video/droidcam/Manifest @@ -1,5 +1,6 @@ AUX droidcam-2.0.0-libusbmuxd-20.patch 580 BLAKE2B 96f00d52d250f4153240e21cebffd0029dc3940aa61cde5295053d0842a28d61f570eb127ed681cc6a1e96b2c0f618c2dfa2f0cc6473fb08fc3cdd73826f72d4 SHA512 cb43712132eae371d2ed06462ba2e5ab69b50d1494ef1bf942d867302aaa4f169bfa0b02c930076c17bca44d7dfdb754aa38413a67b75fda10ff01ede8748e80 DIST droidcam-2.0.0.tar.gz 85146 BLAKE2B 95b96e7474ee457589d751caff156f9715f75cab3e54bef151334f8fe6371f5eed919e9a5df050ec683a65f15c2e40a06efc66e80e5323a8b0e6713980c75174 SHA512 68fe4de308df238fc096ad8b658c5d330400113c7ddf54bf0f070c9852e375273f80c7a8293bd9b5e357163305573931c94bb2bd005673086f718121181b2212 -EBUILD droidcam-2.0.0-r1.ebuild 3581 BLAKE2B 252355a8e409d0ada940058ded66a1d1fb19d305a4489b34f29eb204db1c06a02851a4a174d84dbf0eef1cb3e7757c2eacc55a2de26f60df018d80b73fc98d1c SHA512 584ed5cfe390eb1763bb7b3b5e36cbeecff2c770a98da347e346080126dff72350a06cbb5e5ba9b7f5b062ee6b9ca01c9273e046b83ccd179f068d9c996e2d32 +DIST droidcam-2.1.0.tar.gz 85061 BLAKE2B 167137f51051bd6e7a4969105eb89730be1f28bb7c8845d16f386b4e58fb36c2a80dce69b5fcfcffdd723ab653a87e7f4d7c72a1b867a25266e6099d358937ca SHA512 006a7bc425cf927b65dca3866dccc27131503e48130daa02e10e1f1caa7745dfc2a7170e739df145dc325fb37bf43ad0ace2bf7015aa766deda3d633584fec95 EBUILD droidcam-2.0.0-r3.ebuild 3102 BLAKE2B c2b0090649731843d34a0f5b587ca13e3550c899a54e6b3b8b17b6eebbf53634b0d1749ae522ec83135495834b45b639a52ba4dfb9ecf9c24ffcc8090c669614 SHA512 217a8bc340139ebcacf49317e21c27bd23aa136193a96eb4edc6e699ee64312d635eace7fb9c3605e1a1246d81cf3bb0cc406554b37fa5768bd6d8b5c8a1b2b9 +EBUILD droidcam-2.1.0.ebuild 3109 BLAKE2B a19a29055b9890e8bbafde271c482e263789c035a95cfb5acaf1e5797370aea23af11c12bd7b6cf574f747269583a54a3ad285c6c1b6c732bb76559c899b9f0a SHA512 51743f0de35de75ad9e29e4d82d8260c80b0c4893ca19ca4938bf4525ab5725ec6e4eca1f37080a1bd114b14314d61596719e3901770ee3b89e67f7325e07f6f MISC metadata.xml 1421 BLAKE2B 6d46f5cbd0a226d749b35d8e90a965d4f12fa609b6e95ea6effe87730bce525c0fadb14aa3eb8b99d60f91c7c46a542df5073a55f018f9c06877758360b91e60 SHA512 9dfe075ab79599ecfa3cb9cbf607e4e9a14dd6d002fb3f84bd2d809d962a8bf52b7a0a7166b6805ce4816a57c08e57ab4b224ae1de4e44130bb52f1674ea1e02 diff --git a/media-video/droidcam/droidcam-2.0.0-r1.ebuild b/media-video/droidcam/droidcam-2.0.0-r1.ebuild deleted file mode 100644 index 17c5115355ca..000000000000 --- a/media-video/droidcam/droidcam-2.0.0-r1.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop linux-mod xdg - -DESCRIPTION="Use your phone or tablet as webcam with a v4l device driver and app" -HOMEPAGE="https://www.dev47apps.com/droidcam/linux/" -SRC_URI="https://github.com/dev47apps/${PN}/archive/v${PV//_rc1/-RC}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${PV//_rc1/-RC}" - -KEYWORDS="~amd64" -LICENSE="GPL-2" -SLOT="0" - -IUSE="gtk" - -# Requires connection to phone/tablet -RESTRICT="test" - -DEPEND=" - app-pda/libplist - app-pda/libusbmuxd - dev-libs/glib - dev-libs/libayatana-appindicator - dev-libs/libxml2 - dev-util/android-tools - media-libs/alsa-lib - media-libs/libjpeg-turbo - >=media-libs/speex-1.2.0-r1 - media-video/ffmpeg - gtk? ( - x11-libs/gdk-pixbuf - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/pango - ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -BUILD_TARGETS="all" -MODULE_NAMES="v4l2loopback-dc(video:${S}/v4l2loopback:${S}/v4l2loopback)" -MODULESD_V4L2LOOPBACK_DC_ENABLED="yes" - -CONFIG_CHECK="~SND_ALOOP VIDEO_DEV MEDIA_SUPPORT MEDIA_CAMERA_SUPPORT" -ERROR_SND_ALOOP="CONFIG_SND_ALOOP is optionally required for audio support" - -PATCHES=( - "${FILESDIR}/${P}-libusbmuxd-20.patch" -) - -src_prepare() { - if ! use gtk; then - default - sed -i -e '/cflags gtk+/d' Makefile || die - else - default - # remove path and extension from Icon and Exec entry - sed -i -e 's/Icon=\/opt\/droidcam-icon.png/Icon=droidcam/g' \ - -e 's/\/usr\/local\/bin\/droidcam/droidcam/g' \ - droidcam.desktop || die - sed -i -e 's%/opt/droidcam-icon.png%/usr/share/icons/hicolor/96x96/apps/droidcam.png%g' src/droidcam.c || die - fi -} - -src_configure() { - set_arch_to_kernel - default -} - -src_compile() { - if use gtk; then - APPINDICATOR=ayatana-appindicator3-0.1 emake droidcam - fi - APPINDICATOR=ayatana-appindicator3-0.1 emake droidcam-cli - - if linux_chkconfig_present CC_IS_CLANG; then - BUILD_PARAMS+=' CC=${CHOST}-clang' - if linux_chkconfig_present LD_IS_LLD; then - BUILD_PARAMS+=' LD=ld.lld' - if linux_chkconfig_present LTO_CLANG_THIN; then - # kernel enables cache by default leading to sandbox violations - BUILD_PARAMS+=' ldflags-y=--thinlto-cache-dir= LDFLAGS_MODULE=--thinlto-cache-dir=' - fi - fi - fi - export KERNEL_DIR || die - linux-mod_src_compile -} - -src_test() { - pushd "v4l2loopback" || die - default - ./test || die - popd || die -} - -src_install() { - if use gtk; then - dobin droidcam - newicon -s 32 icon.png droidcam.png - newicon -s 96 icon2.png droidcam.png - domenu droidcam.desktop - fi - dobin droidcam-cli - - # The cli and gui do not auto load the module if unloaded (why not though?) - # so we just put it in modules-load.d to make sure it always works - insinto /etc/modules-load.d - if linux_config_exists; then - if linux_chkconfig_module SND_ALOOP; then - newins - "${PN}.conf" <<-EOF - v4l2loopback-dc - snd_aloop - EOF - else - newins - "${PN}.conf" <<-EOF - v4l2loopback-dc - EOF - fi - fi - - einstalldocs - linux-mod_src_install -} - -pkg_preinst() { - linux-mod_pkg_preinst - if use gtk; then - xdg_pkg_preinst - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - if use gtk; then - xdg_pkg_postinst - else - elog - elog "Only droidcam-cli has been installed since 'gtk' flag was not set" - elog - fi - - elog "The default resolution for v4l2loopback-dc (i.e. droidcam) is 640x480." - elog "You can change this value in /etc/modprobe.d/v4l2loopback-dc.conf" - elog - elog "Links to the Android/iPhone/iPad apps can be found at" - elog "https://www.dev47apps.com/" -} - -pkg_postrm() { - linux-mod_pkg_postrm - if use gtk; then - xdg_pkg_postrm - fi -} diff --git a/media-video/droidcam/droidcam-2.1.0.ebuild b/media-video/droidcam/droidcam-2.1.0.ebuild new file mode 100644 index 000000000000..224f92d74050 --- /dev/null +++ b/media-video/droidcam/droidcam-2.1.0.ebuild @@ -0,0 +1,148 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop linux-mod-r1 xdg + +DESCRIPTION="Use your phone or tablet as webcam with a v4l device driver and app" +HOMEPAGE="https://www.dev47apps.com/droidcam/linux/" +SRC_URI="https://github.com/dev47apps/${PN}/archive/v${PV//_rc1/-RC}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV//_rc1/-RC}" + +KEYWORDS="~amd64" +LICENSE="GPL-2" +SLOT="0" + +IUSE="gtk" + +# Requires connection to phone/tablet +RESTRICT="test" + +DEPEND=" + app-pda/libplist + app-pda/libusbmuxd + dev-libs/glib + dev-libs/libayatana-appindicator + dev-libs/libxml2 + dev-util/android-tools + media-libs/alsa-lib + media-libs/libjpeg-turbo + >=media-libs/speex-1.2.0-r1 + media-video/ffmpeg + gtk? ( + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/pango + ) +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +CONFIG_CHECK="~SND_ALOOP VIDEO_DEV MEDIA_SUPPORT MEDIA_CAMERA_SUPPORT" +ERROR_SND_ALOOP="CONFIG_SND_ALOOP is optionally required for audio support" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.0-libusbmuxd-20.patch" +) + +src_prepare() { + if ! use gtk; then + default + sed -i -e '/cflags gtk+/d' Makefile || die + else + default + # remove path and extension from Icon and Exec entry + sed -i -e 's/Icon=\/opt\/droidcam-icon.png/Icon=droidcam/g' \ + -e 's/\/usr\/local\/bin\/droidcam/droidcam/g' \ + droidcam.desktop || die + sed -i -e 's%/opt/droidcam-icon.png%/usr/share/icons/hicolor/96x96/apps/droidcam.png%g' src/droidcam.c || die + fi +} + +src_configure() { + set_arch_to_kernel + default +} + +src_compile() { + if use gtk; then + APPINDICATOR=ayatana-appindicator3-0.1 emake droidcam + fi + APPINDICATOR=ayatana-appindicator3-0.1 emake droidcam-cli + + local modlist=( + v4l2loopback-dc=video:v4l2loopback:v4l2loopback:all + ) + + local modargs=( + KERNEL_DIR="${KV_OUT_DIR}" + ) + + linux-mod-r1_src_compile +} + +src_test() { + pushd "v4l2loopback" || die + default + ./test || die + popd || die +} + +src_install() { + if use gtk; then + dobin droidcam + newicon -s 32 icon.png droidcam.png + newicon -s 96 icon2.png droidcam.png + domenu droidcam.desktop + fi + dobin droidcam-cli + + # The cli and gui do not auto load the module if unloaded, + # so we just put it in modules-load.d to make sure it always works + insinto /etc/modules-load.d + if linux_config_exists; then + if linux_chkconfig_module SND_ALOOP; then + newins - "${PN}.conf" <<-EOF + v4l2loopback-dc + snd_aloop + EOF + else + newins - "${PN}.conf" <<-EOF + v4l2loopback-dc + EOF + fi + fi + + linux-mod-r1_src_install +} + +pkg_preinst() { + if use gtk; then + xdg_pkg_preinst + fi +} + +pkg_postinst() { + linux-mod-r1_pkg_postinst + if use gtk; then + xdg_pkg_postinst + else + elog + elog "Only droidcam-cli has been installed since 'gtk' flag was not set" + elog + fi + + elog "The default resolution for v4l2loopback-dc (i.e. droidcam) is 640x480." + elog "You can change this value in /etc/modprobe.d/v4l2loopback-dc.conf" + elog + elog "Links to the Android/iPhone/iPad apps can be found at" + elog "https://www.dev47apps.com/" +} + +pkg_postrm() { + if use gtk; then + xdg_pkg_postrm + fi +} diff --git a/media-video/hevc-hm/Manifest b/media-video/hevc-hm/Manifest index def8fce65e17..3038c3557c9f 100644 --- a/media-video/hevc-hm/Manifest +++ b/media-video/hevc-hm/Manifest @@ -1,3 +1,3 @@ DIST HM-HM-17.0.tar.gz 1692323 BLAKE2B fa620ce66acbc634d9768303fe8d60711759a9d6d1ff91b69680993ae45e4581c9df4f0a4fe36719de9713fd29ba020278cf7ef9a51ebee6b01dc578bfbd8f2f SHA512 e8492ee63326da497d0731ef3f70e9f11043618ab5a7244aed94b248dba3f64e301f0ec2d12447a0ef22cc630cfa425341f65b4cacef184b453ba5125b7f8738 -EBUILD hevc-hm-17.0.ebuild 1128 BLAKE2B ee90a840b253115b6534b0ff827de38c58050e30320a20a72bbe395c03e00f21a5789823ebb4611edab721bf6f2a1e543b9fa1b0c8f6f53fd695bcea85cca375 SHA512 328042390e18dc58e3693459393d6582e25a692fd1ed20a3dcfa80f3b9b14b834868b38cb95e3c8eb703c8ea687b0f18b05155f902324640e260d7208886af98 +EBUILD hevc-hm-17.0.ebuild 1133 BLAKE2B ac6404146490bd64e30fa5646973c99fd1c95ace6c2183d1444c495e250da9dbdf0ef6c6a2d565f15d00883b5bd1ce80f6266cf8cbe11b36a9403806f82d94e4 SHA512 bc3c6b0fe8e97ec513576728aa755460a37890bd30078c0b895d414f7facc697d5b69807913d02bf173748e9711d22ccec19efe2db2efa3732113e6500b23983 MISC metadata.xml 260 BLAKE2B ee10cc021112a6e67381cc76d642cabfe9876b9e2da97243070551179a9f8eb2bcb67d8bf96822d40239c350808a8a129882914f1ce9b5f924c99d16ba1300a6 SHA512 0bc4c52638ab97c96d6e1ea6b8199201567dbdac880349e8ab501de49bbfba142e4f2f60baac9c0bc48df6f5d170d81d641277cc01762d720b720764bb162c1a diff --git a/media-video/hevc-hm/hevc-hm-17.0.ebuild b/media-video/hevc-hm/hevc-hm-17.0.ebuild index acf90fa78aa3..1acae003ffa4 100644 --- a/media-video/hevc-hm/hevc-hm-17.0.ebuild +++ b/media-video/hevc-hm/hevc-hm-17.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://vcgit.hhi.fraunhofer.de/jvet/HM/-/archive/HM-${PV}/HM-HM-${PV}. LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~ia64 ~loong ~mips ~riscv" +KEYWORDS="amd64 arm ~ia64 ~loong ~mips ~ppc ~riscv" S="${WORKDIR}/HM-HM-${PV}" diff --git a/media-video/parole/Manifest b/media-video/parole/Manifest index 52fc53d64d89..cad67390ed3a 100644 --- a/media-video/parole/Manifest +++ b/media-video/parole/Manifest @@ -1,5 +1,5 @@ DIST parole-4.18.0.tar.bz2 932686 BLAKE2B 49bbc93d1172daf29e73d5eacedfae2fb11f14684232e2c6cbcc84fcddfa65bcece6ef41c68fb58a0046e1a60280ff92e0890e5302f9e0751c1afce825bee7f3 SHA512 2988c8b6f9f0beab646a90116ee83f19d6e6689ea4d037ea643aa26d5716f7c452fa96ee1d4c6d01ee6c421b06cb5405f7256cfdb525ce1016c12f0a78cddb80 DIST parole-4.18.1.tar.bz2 934059 BLAKE2B db5b6345bcf8eae47668bfd504106b8f44bb272a7d9e88fb53824a4141c88a45f4fdcb6df5a5513ebba82ffda9438be91ffe060d1cc19f0ab56887dc3ff606e1 SHA512 ec2b8036f2be594dc13c37aca76b7250ec1792c7166501e9a2775efb731e87cf6894196243e68026437e2bbd4a9edf1aa9cfa076886e333e2ecf4523f8f1d647 EBUILD parole-4.18.0.ebuild 1389 BLAKE2B eb0852fb6cd17b6228e5bb371a27ac7b47b55fc51fc9f60938c73b92431c52b53c4d3c13ee429cb3139b1b80332938971e8aa5290b7fd554c1d3b8bebb21ef55 SHA512 c515808f28b3928ea9bb5d79389bafa3e9b93b119a75c8beab8242614d78af5475a74eeb99be396d7b596d5b19c32431907e4059085eb5baf95e1fb24127ec3c -EBUILD parole-4.18.1.ebuild 1478 BLAKE2B 8e17bb93c211625f73c411ba8062785fd9ee1140c6337c1f2a9c096c94c215094642c6af69332f6fb09d9e6e366fa89e26171682f5dc03e2022edc12de34498e SHA512 80fbeb2446ff5ea958ab5ec152ad16696074d73a9031504ca6ea67f5bbe02e16eb70ec8f1757495a8ef5e9c306f34eed6b4a75d8e4b13b11d329d6b03de32408 +EBUILD parole-4.18.1.ebuild 1510 BLAKE2B 3a121d112bd6c0067c9f6fe72105c8b78b6e262e3219d79efa8f35b59cf9dbf4f66df05c3e2e2611bb7b32d4e018b0c48dae1e747067756794db20cd454cf2d8 SHA512 5a9aacc93a4f8eaffdb4e35f6b5458d5abab815e041340bfa5cdd65e240c58775d49905c8c7b7357f0494bfd3476588003402c11bfb68395cad0901d5b0fb048 MISC metadata.xml 242 BLAKE2B e489d8bd8fc709502185e0439171cde4402146bc1ec7340bbe41550c06410a49faec8777cb7e79c3ba482feee774350beec5741ed8fe93a85ebed7b746f9200e SHA512 1bcfaf0482a1e7b5a7182d853dafaa2d47687bbc1c9d38b69ba35ce97cdeeff9bd2137a086c5af2a27b730a295e7cbd73d0b43fbe5af331bb7a3113d2117dff3 diff --git a/media-video/parole/parole-4.18.1.ebuild b/media-video/parole/parole-4.18.1.ebuild index 82f6f2b68574..5ed7d78ccc33 100644 --- a/media-video/parole/parole-4.18.1.ebuild +++ b/media-video/parole/parole-4.18.1.ebuild @@ -16,6 +16,7 @@ LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~mips ~x86" IUSE="libnotify taglib wayland X" +REQUIRED_USE="|| ( wayland X )" DEPEND=" >=dev-libs/dbus-glib-0.100 -- cgit v1.2.3