dev-libs/granite: New package, dependency of net-misc/tootle-9999.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Package-Manager: Portage-2.3.62, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
parent
f2c64fcd56
commit
6a1122db40
13
dev-libs/granite/Manifest
Normal file
13
dev-libs/granite/Manifest
Normal file
@ -0,0 +1,13 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST 5.2.3.tar.gz 418821 BLAKE2B 30185d8e61e9d354ad338a49b1b304033d2055c37a7f33e2cf1993a719192ac4aa71d8ac9eaca73801c09d453599cdf25ff789a1a88f976fa3c6a9cf62661af1 SHA512 363bd49428f3d6a7c1591f9f8c195fef5065d6b2562569142cbd09a2efd264074f3be004ccd573830a7969c5aae57711b5dd1f4eddd6d9cc89d4086e20edf05c
|
||||
EBUILD granite-5.2.3.ebuild 1357 BLAKE2B 761f96a9d4162f0abc4396b06dfb4f56c65c5032e31cc5abe2cfcfbc7d47bc8f15ac1cb05a67d05acba03f8f26d7c15e4165a14b65ab5f13449925355ed3fede SHA512 75fe519086d651c19e72597a1f40dbf9475e502ff1c48a3c1d67539cc7248bceaf82285df0ec800318cd92c623f290c97707a2549477b23fbf4e1890cd2a3eef
|
||||
MISC metadata.xml 716 BLAKE2B dfe544b3476d0d258b6faa03fc843822a31de63dd653373cf76e6d3af41c7d907cd3a4c06967f5cdb45ef89ca355c6eb9227b55789dda231ba76ea351fb36860 SHA512 9fa526e09ebda3c0268b3c8b4c5df2c2277089b6bf793b130d5d37556174e86d0f50467da85e5f195bfcab5fb021b0fb84e7269a66a943e07aa1e1bb00346136
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXMzL+wAKCRDPw5SX8bJu
|
||||
Bwb9AP9DYDOlLJvONlEisxtzczPhUHk78Gw72I2dS47ZVubqYgD/ei8kAiIPC5+D
|
||||
TDqsobBkY02wNRsxHtgf1TRBUhBp6y0=
|
||||
=g7+t
|
||||
-----END PGP SIGNATURE-----
|
61
dev-libs/granite/granite-5.2.3.ebuild
Normal file
61
dev-libs/granite/granite-5.2.3.ebuild
Normal file
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson vala xdg-utils
|
||||
|
||||
DESCRIPTION="Elementary OS library that extends Gtk+"
|
||||
HOMEPAGE="https://github.com/elementary/granite"
|
||||
SRC_URI="https://github.com/elementary/${PN}/archive/${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="demo nls"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libgee:0.8[introspection]
|
||||
x11-libs/gtk+:3[introspection]"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-util/meson
|
||||
dev-lang/vala
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
# NOTE: Did not get documentation to compile, revisit later.
|
||||
# doc? (
|
||||
# dev-lang/vala[valadoc]
|
||||
# dev-util/gtk-doc
|
||||
# )
|
||||
# !doc? ( dev-lang/vala )
|
||||
|
||||
src_prepare() {
|
||||
vala_src_prepare
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Disable building of the demo application.
|
||||
use demo || sed -i "/^subdir('demo')$/d" meson.build || die
|
||||
|
||||
# Disable generation of the translations.
|
||||
use nls || sed -i "/^subdir('po')$/d" meson.build || die
|
||||
|
||||
# # Use valadoc-$(vala_best_api_version) instead of valadoc.
|
||||
# use doc && sed -i "s/find_program('valadoc')/find_program('valadoc-$(vala_best_api_version)')/" doc/meson.build || die
|
||||
|
||||
# local emesonargs=( $(meson_use doc documentation) )
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
19
dev-libs/granite/metadata.xml
Normal file
19
dev-libs/granite/metadata.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>tastytea</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Granite is a companion library for GTK+ and GLib. Among other things,
|
||||
it provides complex widgets and convenience functions designed for
|
||||
use in apps built for elementary OS.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="demo">Build the Granite demo application (to present all available UI features provided by the library)</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">elementary/granite</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Reference in New Issue
Block a user