diff options
Diffstat (limited to 'x11-libs/colord-gtk')
-rw-r--r-- | x11-libs/colord-gtk/Manifest | 2 | ||||
-rw-r--r-- | x11-libs/colord-gtk/colord-gtk-0.3.0.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/x11-libs/colord-gtk/Manifest b/x11-libs/colord-gtk/Manifest index 1883de41afb1..a8aff5920abe 100644 --- a/x11-libs/colord-gtk/Manifest +++ b/x11-libs/colord-gtk/Manifest @@ -1,4 +1,6 @@ AUX colord-gtk-0.2.0-optional-introspection.patch 1471 BLAKE2B 3d4ce65f6241538fc4f8b6114c95ef229654093dabed26ebf1c66aabda2d5039749cce8580a4974c70afdd49e127b791a561a04202338c9b6512870804bce4db SHA512 a49618d773acb377c8015243ac6657e17b65e1f0f54228c391617118ae61199662a6d6398d5c5cd02ceb4cc74dc2b4cedf6488536fbe418768480285c5500773 DIST colord-gtk-0.2.0.tar.xz 20480 BLAKE2B 73bbb349e84e5bfd28358cbe22609de84b86f90eb96a3fedc6e30a1764d9c667cd82408116cdf65591496ab4e2f59f2b415cd1aa8f995fe2162ee4d649c5d496 SHA512 797eebfd4451fcae4cf70835f5de3d9bdc9e8401ddb82a2fef2310002f28bf523b599c587ff35eb89ceff38a245a6311129ad90b107f837ac4f42f268c9aad97 +DIST colord-gtk-0.3.0.tar.xz 21768 BLAKE2B e6fe56dfa969f18bd406d481dd13e83b689a820aeddaf1482ec97e89a3f78d4228544c79849d330962f3d45e3506f1c0b2540ed7bfab36ede04008877d503b94 SHA512 95ea9e8925d56462b8e5230a6737ca8e75d2273b2803e00f7aa2f933d22f88373194dccc00117fce85579274cc0daf88876fa265510580b1610734bb45220896 EBUILD colord-gtk-0.2.0.ebuild 1349 BLAKE2B dcffb41a0c1a73a35a1c507a5003006e2a229eb2172226e8f7b0ecd3aca7d47b4d871ca7a607ba3149af15dcf60a9dd3bc3bff5a20fafb6636c65a50ced0b030 SHA512 367aa2ec128152ec52e99724945dc1edef7c327b048fb7bc2dc976439456b9a144b84ff59d8c7d360a23106027f1d3d345f9b0022fe0a3e0a5896c2b7d0442a7 +EBUILD colord-gtk-0.3.0.ebuild 1328 BLAKE2B 161b6c7e464ac60cfa5ea0e6b4e2d7f08af4e1223e1b8a4b56a6a986dc4f3b02d1914fe6e2bc752c0313b7f3a425363862b98bdd33db6b899e17c970fd3a3c29 SHA512 a1297515b7454fb6a429e8e75990e7f4d6e47cced288befc8a337c2c60e88d23c216d9c341ecc8ab17894552590fb950f217ea0140adf9900d14315509d872b8 MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8 diff --git a/x11-libs/colord-gtk/colord-gtk-0.3.0.ebuild b/x11-libs/colord-gtk/colord-gtk-0.3.0.ebuild new file mode 100644 index 000000000000..656c769a9861 --- /dev/null +++ b/x11-libs/colord-gtk/colord-gtk-0.3.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_USE_DEPEND="vapigen" + +inherit meson vala + +DESCRIPTION="GTK support library for colord" +HOMEPAGE="https://www.freedesktop.org/software/colord/" +SRC_URI="https://www.freedesktop.org/software/colord/releases/${P}.tar.xz" + +LICENSE="LGPL-3+" +SLOT="0/1" # subslot = libcolord-gtk soname version +KEYWORDS="amd64 ~arm arm64 ~mips ~ppc64 ~riscv x86" + +IUSE="doc +introspection vala" +REQUIRED_USE="vala? ( introspection )" + +DEPEND=" + >=dev-libs/glib-2.28:2 + >=x11-misc/colord-0.1.27:=[introspection?,vala?] + x11-libs/gtk+:3[introspection?] + >=gui-libs/gtk-4.4:4[introspection?] +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-libs/libxslt + >=sys-devel/gettext-0.17 + virtual/pkgconfig + doc? ( + app-text/docbook-xml-dtd:4.1.2 + >=dev-util/gtk-doc-1.9 + ) + app-text/docbook-xsl-ns-stylesheets + introspection? ( >=dev-libs/gobject-introspection-0.9.8 ) + vala? ( $(vala_depend) ) +" + +RESTRICT="test" # Tests need a display device with a default color profile set + +src_prepare() { + use vala && vala_src_prepare + default +} + +src_configure() { + local -a emesonargs=( + -Dgtk4=true + -Dgtk3=true + -Dgtk2=false + $(meson_use introspection) + $(meson_use vala vapi) + -Dtests=false + -Dman=true + $(meson_use doc docs) + ) + meson_src_configure +} |