diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-18 05:54:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-18 05:54:20 +0100 |
commit | 5a1fb66df455454109e1de61d38b48f509dc68b8 (patch) | |
tree | 0213f12db1b0138bffda43d11208c5d701967638 /media-video/cheese | |
parent | 3a8423ee2874c2fd96358b28af08d38d83e9bdc0 (diff) |
gentoo auto-resync : 18:04:2023 - 05:54:20
Diffstat (limited to 'media-video/cheese')
-rw-r--r-- | media-video/cheese/Manifest | 2 | ||||
-rw-r--r-- | media-video/cheese/cheese-44.0.1.ebuild | 100 |
2 files changed, 102 insertions, 0 deletions
diff --git a/media-video/cheese/Manifest b/media-video/cheese/Manifest index 2ed003ba84b8..45551d6b501d 100644 --- a/media-video/cheese/Manifest +++ b/media-video/cheese/Manifest @@ -1,6 +1,8 @@ AUX cheese-43.0-buildfix.patch 762 BLAKE2B be49440d95b627586523da823085c1048186177881ee29f3d378d9d3fa49dac3799bc143cd594e10ecde9539b1e8a4defa1c6559d28376f8af2e8de0c4c24fd8 SHA512 8abb9a01b5b101fc8d6550db9b935ecaabe9eeec75527c189c9f3bb90c928637b953996966164517e71d084bc25c3997a2487771be4713276730013eecfb43e3 DIST cheese-43.0.tar.xz 1095328 BLAKE2B 728cf913336f09ae073508d6bf18f7bb0cf4bb0e16ad5d6acd5fb77b75577303b1a2d8820b280a31c15ebdcbf231205881440105c390a0f16681dc5274a74446 SHA512 07ed087490b4024ecbc097c1a62e24fdc0c5c8acac23ba3ed246104655a8b1786faee5caa5e59cfa7b725527b5aedc587b0f99a2b43100497f866966818e345e +DIST cheese-44.0.1.tar.xz 1096012 BLAKE2B 53723346eb917002b3a05edfa7bad4f83f4754f321bad6bd6a275aa48786fcf5b7ce78159b226621fcf36d21abd4b07e18f64aa17214e69ba3414b0cb254ff58 SHA512 27154db0b19a7c2f70ced4f750570b1ce0af6d8d18450d57c5a85d83f06ea041247c549e6fc73ecfb531df8a789d6f8527878e004b4c35077ef2b14badf4907a DIST cheese-44.0.tar.xz 1095980 BLAKE2B d7c5e50c8e7a5d84a2b7a2e8a1074094f4e89585e54e82a58ed8dec94e7b175d13e8dbacf739e8d4cc64fa9cd7d9f848bc0757406d0ac2290a0b910d237c1d22 SHA512 eb0a4bac724370b9347a513c84d47339882d2a42baf912f9b23bc4ae36c2ccb52a6045a6f09ed4eb1c50a04471368edffbd2ce4ef59701d82f8ae2eb40810658 EBUILD cheese-43.0.ebuild 2278 BLAKE2B 58557359a18d48e91df5f763588ed789e36df25ddae5a725d4cd06520d8006bdb5c0033e862341ef5d965d0ac518dcf0143bef3c10f1f9b2021bab4b4f2836d0 SHA512 cc5527fc9dd543aee3c87ed6510ab635fadf742d3e77bafd287e5723fb1498e731ff78514f1094b0836ded4c17b2758f660613add03c502b1dccf1a3669f2ab7 +EBUILD cheese-44.0.1.ebuild 2281 BLAKE2B cdb9606d5f6c3e376d94c4739920726ba22c1ceeb82cc15c96dd1faa05cbcc91642c48d27f3a5b4d93b7ed0ddbe47ccb0e2ba348ccf29cfc92cee61a5bfe1963 SHA512 cd9f1a94ed7eca7fbb76395e165e02603b14bfbd83a09e03fe650784afe2271c9cfd106c0366952428644a42e52c4e1b59d060d32b5c89472ce247b566acb07b EBUILD cheese-44.0.ebuild 2281 BLAKE2B cdb9606d5f6c3e376d94c4739920726ba22c1ceeb82cc15c96dd1faa05cbcc91642c48d27f3a5b4d93b7ed0ddbe47ccb0e2ba348ccf29cfc92cee61a5bfe1963 SHA512 cd9f1a94ed7eca7fbb76395e165e02603b14bfbd83a09e03fe650784afe2271c9cfd106c0366952428644a42e52c4e1b59d060d32b5c89472ce247b566acb07b MISC metadata.xml 528 BLAKE2B 8bb571eba870c101ab13171963f52397177155b00f7c251542267340c18193db8cfb62162fa3a2b3238c4d759f6252195907ebf6db4e2693cd44da7990f5a52d SHA512 6751fe57feca587302400f15019a00e735a952c9e11bdc8518f0d288b0a5655a9440a092677eecea5279804dab84ed0c1e4043435da901b5211356242452fee0 diff --git a/media-video/cheese/cheese-44.0.1.ebuild b/media-video/cheese/cheese-44.0.1.ebuild new file mode 100644 index 000000000000..4b21283de386 --- /dev/null +++ b/media-video/cheese/cheese-44.0.1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson vala virtualx xdg + +DESCRIPTION="A cheesy program to take pictures and videos from your webcam" +HOMEPAGE="https://wiki.gnome.org/Apps/Cheese" + +LICENSE="GPL-2+" +SLOT="0/8" # subslot = libcheese soname version +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="gtk-doc +introspection test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=media-libs/clutter-1.13.2:1.0[introspection?] + media-libs/clutter-gst:3.0 + >=media-libs/clutter-gtk-0.91.8:1.0 + x11-libs/gdk-pixbuf:2[jpeg,introspection?] + >=dev-libs/glib-2.39.90:2 + >=gnome-base/gnome-desktop-2.91.6:3= + >=media-libs/gstreamer-1.4:1.0[introspection?] + >=media-libs/gst-plugins-base-1.4:1.0[ogg,pango,theora,vorbis] + >=media-libs/gst-plugins-bad-1.4:1.0 + >=x11-libs/gtk+-3.13.4:3 + >=media-libs/libcanberra-0.26[gtk3] + x11-libs/libX11 + sys-apps/dbus + media-video/gnome-video-effects + introspection? ( >=dev-libs/gobject-introspection-1.56:= ) + + media-libs/cogl:1.0=[introspection?] + +" +RDEPEND="${DEPEND} + >=media-libs/gst-plugins-good-1.4:1.0 + + >=media-plugins/gst-plugins-jpeg-1.4:1.0 + || ( + >=media-plugins/gst-plugins-v4l2-1.4:1.0 + media-video/pipewire[gstreamer,v4l] + ) + >=media-plugins/gst-plugins-vpx-1.4:1.0 +" + +BDEPEND=" + gtk-doc? ( dev-util/gtk-doc ) + dev-libs/libxslt + app-text/docbook-xml-dtd:4.3 + dev-util/itstool + dev-libs/appstream-glib + dev-libs/libxml2:2 + dev-util/glib-utils + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + x11-base/xorg-proto + test? ( x11-libs/libXtst ) + $(vala_depend) +" + +PATCHES=( + "${FILESDIR}"/${PN}-43.0-buildfix.patch +) + +src_prepare() { + default + vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc gtk_doc) + $(meson_use introspection) + $(meson_use test tests) + -Dman=true + ) + + meson_src_configure + + # Hack: version.xml is not generated if gtk-doc is not enabled + echo ${PV} > docs/reference/version.xml +} + +src_test() { + gnome2_environment_reset # Avoid dconf that looks at XDG_DATA_DIRS, which can sandbox fail if flatpak is installed + virtx meson_src_test +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |