forked from gentoo/gentoo
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: https://bugs.gentoo.org/691624 Package-Manager: Portage-2.3.71, Repoman-2.3.17 RepoMan-Options: --force Signed-off-by: Bernardo Meurer <bernardo@standard.ai> Closes: gentoo#12690 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
- Loading branch information
1 parent
2182153
commit e3c4c14
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST granite-0.5.0.tar.gz 365015 BLAKE2B 47b88d0b08a300fecc561161e1722cc1a544f58580d21244b6584f6aba7756afe6548dd663620fe9a09406fc0be2766b1d1093a21d262a5ab001992f309239ed SHA512 6042f40c1338768281ab3e6ad0bfdd8c5c69fc4951a069b0779a22b8999b35110ea8f09cf025dd88bafef7eca6cc0d076a608d55f01c078186e150908f8e4650 | ||
DIST granite-5.2.4.tar.gz 390145 BLAKE2B 30abee1669bf2211aa776a5ddf38b914bc95e466f2853f4e852b77947b666c06ce8ac77a47b22bce0cdbf8e6804935007b5cef700c49db302528b7bbb0063543 SHA512 3a52a92a49f887bb802754b99b7c9c3fd13c197c74da7c25f1fd4c03b76d916197079b813909d2cceb11cb10b26e9f64978563b95319d0c744c5b612c50ce306 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
VALA_MIN_API_VERSION=0.40 | ||
|
||
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 -> ${P}.tar.gz" | ||
|
||
LICENSE="LGPL-3+" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm ~x86" | ||
# FIXME: Figure out issues with enabling doc. | ||
# See https://github.com/gentoo/gentoo/pull/12690#issuecomment-525027164 | ||
IUSE="test" | ||
|
||
BDEPEND=" | ||
$(vala_depend) | ||
>=dev-util/meson-0.48.2 | ||
virtual/pkgconfig | ||
" | ||
DEPEND=" | ||
>=dev-libs/glib-2.50:2 | ||
dev-libs/libgee:0.8[introspection] | ||
>=x11-libs/gtk+-3.22:3[introspection] | ||
" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_prepare() { | ||
vala_src_prepare | ||
eapply_user | ||
} | ||
|
||
pkg_postinst() { | ||
xdg_icon_cache_update | ||
} | ||
|
||
pkg_postrm() { | ||
xdg_icon_cache_update | ||
} |