diff options
author | Herb Miller Jr <herb@hlmjr.com> | 2018-03-04 12:00:17 -0500 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2018-03-10 14:19:36 +0100 |
commit | 8b45a0e2352bbcb68bcc23381175aaacd01c902c (patch) | |
tree | cf107faa3b37ec392ba0516d3d80e18a330c35ef /dev-libs/granite | |
parent | net-wireless/gobi_loader: Update maintainer due to bug #279517 (diff) | |
download | gentoo-8b45a0e2352bbcb68bcc23381175aaacd01c902c.tar.gz gentoo-8b45a0e2352bbcb68bcc23381175aaacd01c902c.tar.bz2 gentoo-8b45a0e2352bbcb68bcc23381175aaacd01c902c.zip |
dev-libs/granite: Bump to version 0.5.
Pulls in some changes from elementary overlay.
Closes: https://github.com/gentoo/gentoo/pull/7350
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-libs/granite')
-rw-r--r-- | dev-libs/granite/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/granite/granite-0.5.0.ebuild | 61 | ||||
-rw-r--r-- | dev-libs/granite/metadata.xml | 18 |
3 files changed, 79 insertions, 1 deletions
diff --git a/dev-libs/granite/Manifest b/dev-libs/granite/Manifest index eb39f21aa55c..ae5ec018283d 100644 --- a/dev-libs/granite/Manifest +++ b/dev-libs/granite/Manifest @@ -1,3 +1,4 @@ DIST granite-0.2.1.tar.gz 146871 BLAKE2B 300aac52a3d383adbc0668169abcfa1d171705694d909c0053fc8c0881f7e8ff9724a86f218316245a2e0b88a4d986c14e68e0d37e7a159fc2e619d62c9cdc72 SHA512 a9cbe43e836c1e5430260bb8643b63b6712c17a60c184ed7105a9e96eb68e8107c09de655f58262a1dcab85cfb59beb18352b49a5ddb0817f9aff7b86d1e2bb1 DIST granite-0.2.3.1.tgz 152607 BLAKE2B 57720ad6ab0502adde57a89a291f3114f217e931399db34356cb97687c5ae4bc7973bf33285e86a1f2227c0982bc1a13bfffc52cafbc0d6cd01d980050ad1f9b SHA512 c4db7d3a9e65178fa961761355fdf4d3795513a5a8d0ba5a448761336817a0de027382421a86213b434449f257f3c869b6275357acb732b6dd382cf5ea86eca8 DIST granite-0.3.0.tar.gz 285072 BLAKE2B 21cb3d7216fd18d18f96e50b69a75db5127319c36129bd584b29cb359905cf4439163969b727dfa1decc642d03902390fbb656a5a76da6ad474475694d122590 SHA512 3ebbb7453b770f8b5b98cee0f96db8443d7583af0117b2d34c9daa82bf36d25418e0fcf61118e7551ced91e751d8b032998dc9cca2569e61c7227666c4383872 +DIST granite-0.5.0.tar.gz 365015 BLAKE2B 47b88d0b08a300fecc561161e1722cc1a544f58580d21244b6584f6aba7756afe6548dd663620fe9a09406fc0be2766b1d1093a21d262a5ab001992f309239ed SHA512 6042f40c1338768281ab3e6ad0bfdd8c5c69fc4951a069b0779a22b8999b35110ea8f09cf025dd88bafef7eca6cc0d076a608d55f01c078186e150908f8e4650 diff --git a/dev-libs/granite/granite-0.5.0.ebuild b/dev-libs/granite/granite-0.5.0.ebuild new file mode 100644 index 000000000000..6881a8819db5 --- /dev/null +++ b/dev-libs/granite/granite-0.5.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VALA_MIN_API_VERSION=0.32 + +inherit gnome2-utils vala cmake-utils + +DESCRIPTION="Elementary OS library that extends Gtk+" +HOMEPAGE="https://github.com/elementary/granite" +SRC_URI="https://github.com/elementary/${PN}/archive/$(get_version_component_range 1-2).tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="demo nls test" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/libgee:0.8[introspection] + >=x11-libs/gtk+-3.14:3[introspection]" +DEPEND="${RDEPEND} + $(vala_depend) + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +S="${WORKDIR}"/"${PN}"-"$(get_version_component_range 1-2)" + +src_prepare() { + + # Disable building of the demo application (if needed) + use demo || cmake_comment_add_subdirectory demo + + # Disable generation of the translations (if needed) + use nls || cmake_comment_add_subdirectory po + + cmake-utils_src_prepare + vala_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + -DVALA_EXECUTABLE=${VALAC} + ) + + cmake-utils_src_configure +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/dev-libs/granite/metadata.xml b/dev-libs/granite/metadata.xml index 87ed66a6e737..1071e73abde0 100644 --- a/dev-libs/granite/metadata.xml +++ b/dev-libs/granite/metadata.xml @@ -1,7 +1,23 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="person"> + <email>herb@hlmjr.com</email> + <name>Herb Miller Jr. (herbmillerjr)</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</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="launchpad">granite</remote-id> + <remote-id type="github">elementary/granite</remote-id> </upstream> </pkgmetadata> |