diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-02-16 20:28:16 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-02-16 20:32:53 -0800 |
commit | cc9d52b3e4909908af77d037551471b42db9c2fb (patch) | |
tree | 00f80d030e35a1a803c00a0e32fcf01f36460572 /x11-libs/colord-gtk | |
parent | x11-misc/colord: Version bump to 1.4.6 (diff) | |
download | gentoo-cc9d52b3e4909908af77d037551471b42db9c2fb.tar.gz gentoo-cc9d52b3e4909908af77d037551471b42db9c2fb.tar.bz2 gentoo-cc9d52b3e4909908af77d037551471b42db9c2fb.zip |
x11-libs/colord-gtk: Version bump to 0.3.0
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs/colord-gtk')
-rw-r--r-- | x11-libs/colord-gtk/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/colord-gtk/colord-gtk-0.3.0.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/x11-libs/colord-gtk/Manifest b/x11-libs/colord-gtk/Manifest index 922295c12f23..8ee9f62d959b 100644 --- a/x11-libs/colord-gtk/Manifest +++ b/x11-libs/colord-gtk/Manifest @@ -1 +1,2 @@ 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 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..4f5121f700bb --- /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 +} |