diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libhandy/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libhandy/libhandy-0.0.9.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/libhandy/Manifest b/dev-libs/libhandy/Manifest new file mode 100644 index 0000000..e6e2472 --- /dev/null +++ b/dev-libs/libhandy/Manifest @@ -0,0 +1 @@ +DIST libhandy-0.0.9.tar.gz 136914 BLAKE2B ff59370f1af89b5cc8fa82e7b81af95dc62763c3fcddf33b892c01732bf1c0f59b643a2c6ddc994c9fa8aaf76e15c914e776c2d32369b3ede2816a6ef88cdb72 SHA512 e9509f34659c77af3dd72474bcf3dbfc4dc509980a730cc4d051adf0ce305c92a4b0aec4b2b3aedcd115b1384595d046c7ec0a7cf38595c116b58c1a19452a5f diff --git a/dev-libs/libhandy/libhandy-0.0.9.ebuild b/dev-libs/libhandy/libhandy-0.0.9.ebuild new file mode 100644 index 0000000..b2f90e8 --- /dev/null +++ b/dev-libs/libhandy/libhandy-0.0.9.ebuild @@ -0,0 +1,42 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal meson vala + +DESCRIPTION="A library full of GTK+ widgets for mobile phones" +HOMEPAGE="https://source.puri.sm/Librem5/libhandy" + + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + + SRC_URI="" + EGIT_REPO_URI="https://source.puri.sm/Librem5/${PN}.git" +else + SRC_URI="https://source.puri.sm/Librem5/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-v${PV}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="dev-util/meson + dev-lang/vala + dev-util/glade + dev-libs/gobject-introspection + gnome-base/gnome-desktop" + +VALA_USE_DEPEND=vapigen +BUILD_DIR="${S}/build" + +src_prepare() { + default + + vala_src_prepare --vala-api-version $(vala_best_api_version) +} |