diff --git a/media-libs/aperture/Manifest b/media-libs/aperture/Manifest new file mode 100644 index 0000000..fd25107 --- /dev/null +++ b/media-libs/aperture/Manifest @@ -0,0 +1 @@ +DIST aperture-20230221.tar.gz 36355 BLAKE2B d269843ef31fb4c7ad794c1a1970dc6516f40d39250e156eafab4374e8d3901778725921772645fc6d84cf748a1db5eebfa56dbc4f4e8c81bd75189db69f3fad SHA512 984f259d59dd25da45676fa1753ec06bb5a584af510ac191c98f74d4dfcc9d559173a495d41813d64766d14869a0e282bd4a0ad6dfca1776136b2835a5f908b8 diff --git a/media-libs/aperture/aperture-20230221.ebuild b/media-libs/aperture/aperture-20230221.ebuild new file mode 100644 index 0000000..6f87ef8 --- /dev/null +++ b/media-libs/aperture/aperture-20230221.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_USE_DEPEND="vapigen" + +inherit vala meson gnome2-utils xdg + +COMMIT="afeb7faf8a24282434b6381cd78c0f9032972f2c" +DESCRIPTION="A camera library for GTK3" +HOMEPAGE="https://gitlab.gnome.org/jwestman/libaperture" +SRC_URI="https://gitlab.gnome.org/jwestman/libaperture/-/archive/${COMMIT}/libaperture-${COMMIT}.tar.gz -> ${P}.tar.gz " + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+introspection +vala" +REQUIRED_USE="vala? ( introspection )" + +DEPEND=" + >=x11-libs/gtk+-3.0 + >=media-libs/gstreamer-1.0 +" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}/libaperture-${COMMIT}" + +src_prepare() { + default + eapply_user + use vala && vala_src_prepare + +}