1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="a gtk+ calendar widget for chinese lunar library"
9 HOMEPAGE="https://github.com/yetist/lunar-calendar"
10 SRC_URI="https://github.com/yetist/lunar-calendar/archive/v${PV}.tar.gz -> ${P}.tar.gz"
15 IUSE="doc vala introspection test"
16 RESTRICT="!test? ( test )"
17 RDEPEND=">=dev-python/pygobject-2.11.5"
21 dev-util/gdbus-codegen
24 >=dev-util/intltool-0.35
25 doc? ( dev-util/gtk-doc )
26 vala? ( dev-lang/vala )
27 introspection? ( dev-libs/gobject-introspection )"
29 DOCS="COPYING NEWS README.md"
34 $(meson_use vala vapi)
35 $(meson_use introspection introspection)
36 $(meson_use test tests)
43 einfo "To make gtk applicants show lunar automaticly,"
44 einfo "set the two envirent variables."
45 einfo "GTK3_MODULES is for gtk3,and GTK_MODULES for gtk2."
46 einfo "For example,write the two lines to .xprofile"
47 einfo "export GTK3_MODULES=lunar-calendar-module"
48 einfo "export GTK_MODULES=lunar-calendar-module"