diff options
author | Maciej Barć <xgqt@gentoo.org> | 2021-12-19 17:41:34 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2021-12-19 17:47:52 +0100 |
commit | 10f0650e4a3d0c08aca74cdbff97cef2841ba806 (patch) | |
tree | 5d541af7cedbdb08c18a87e616f32f97d5994c80 /dev-libs/granite/granite-5.5.0.ebuild | |
parent | dev-libs/granite: bump to 6.2.0 (diff) | |
download | gentoo-10f0650e4a3d0c08aca74cdbff97cef2841ba806.tar.gz gentoo-10f0650e4a3d0c08aca74cdbff97cef2841ba806.tar.bz2 gentoo-10f0650e4a3d0c08aca74cdbff97cef2841ba806.zip |
dev-libs/granite: drop old 5.5.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-libs/granite/granite-5.5.0.ebuild')
-rw-r--r-- | dev-libs/granite/granite-5.5.0.ebuild | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/dev-libs/granite/granite-5.5.0.ebuild b/dev-libs/granite/granite-5.5.0.ebuild deleted file mode 100644 index 985b8383dd0c..000000000000 --- a/dev-libs/granite/granite-5.5.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -VALA_MIN_API_VERSION=0.40 -BUILD_DIR="${WORKDIR}/${P}-build" - -inherit meson vala xdg - -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" -IUSE="doc" - -BDEPEND=" - $(vala_depend) - virtual/pkgconfig - doc? ( - >=dev-lang/vala-0.40.20[valadoc] - dev-util/gtk-doc - ) -" -DEPEND=" - >=dev-libs/glib-2.50:2 - >=x11-libs/gtk+-3.22:3[introspection] - dev-libs/libgee:0.8[introspection] -" -RDEPEND="${DEPEND}" - -src_prepare() { - default - vala_src_prepare - - # Fix docs - sed -i "s/find_program('valadoc')/find_program('valadoc-$(vala_best_api_version)')/g" doc/meson.build \ - || die "Failed to replace valadoc" - find lib/Widgets -type f -name "*.vala" -exec sed -ie "s@{{../doc@{{${BUILD_DIR}/doc@g" {} \; \ - || die "Failed to fix docs" -} - -src_configure() { - local emesonargs=( - $(meson_use doc documentation) - ) - meson_src_configure - - if use doc; then - cp -r ./doc/images "${BUILD_DIR}/doc/" || die "Failed to copy doc images" - fi -} - -src_install() { - use doc && local HTML_DOCS=( "${BUILD_DIR}/doc/granite/html/." ) - meson_src_install -} |