diff options
author | Mart Raudsepp <leio@gentoo.org> | 2017-05-14 12:00:17 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2017-05-14 12:00:17 +0300 |
commit | 3bc14cbb7eccd24e7e51976d700eae4ae89a1e8a (patch) | |
tree | a20ef1ae786410e2fcf390c76a9431ed06ca6f72 /dev-libs/vala-common | |
parent | dev-lang/vala: old slots spring cleanup (diff) | |
download | gentoo-3bc14cbb7eccd24e7e51976d700eae4ae89a1e8a.tar.gz gentoo-3bc14cbb7eccd24e7e51976d700eae4ae89a1e8a.tar.bz2 gentoo-3bc14cbb7eccd24e7e51976d700eae4ae89a1e8a.zip |
dev-libs/vala-common: bump to 0.34.8
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-libs/vala-common')
-rw-r--r-- | dev-libs/vala-common/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/vala-common/vala-common-0.34.8.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/dev-libs/vala-common/Manifest b/dev-libs/vala-common/Manifest index c0b4714098fa..2b39338bacd8 100644 --- a/dev-libs/vala-common/Manifest +++ b/dev-libs/vala-common/Manifest @@ -1,2 +1,3 @@ DIST vala-0.32.1.tar.xz 2759528 SHA256 dd0d47e548a34cfb1e4b04149acd082a86414c49057ffb79902eb9a508a161a9 SHA512 d59db1bd9132f93f187c30ccabff9d21fe8685293a6494e5b009d883de4f844cc4b8dc5d3b6eb4e026a93490f2e4ff7ba83ff22a093c6f8f85e68d83f5fe1bb0 WHIRLPOOL d61a171cacb62f008e15408729b809f9a13f11880395526a9890ddfed1a41d0ad021c57c8d9d93ffdf6f99ee5231fffdb4fa1763d8b7238a8f62ae67f4aa22ca DIST vala-0.34.7.tar.xz 2776352 SHA256 1b2cb14f377d4c41fa3a86d3d01b93017015ce91b6714a85f27346073b4034fa SHA512 b7345f71ab59adfdba44a76529c7fe06255557aef8098f4214584c1d2ab4c014e1c2c60b2dfcb6cabc0d3d83b93dda850439fdab12b4a1498b2b202147c12e73 WHIRLPOOL 7102db5b0d6b563ec3f3fa5436209e4477804fa06ac6040d4c6f70e14864780f9698ce44881d7c8c688b920a7d245099977ea0032d5f47d9a93982ea770f6d29 +DIST vala-0.34.8.tar.xz 2778228 SHA256 22899bad63436ccfab4abc44face3bf4c1e4e72dea5891d67626dc360078c0a3 SHA512 03739173aa2b4e5d476037c77ac86543b97bd6eeb94f40dcce952da127e32baefa0dfa83f9d6e8ea254d4aee5ecd557964520926239bd119da72c771e30ece14 WHIRLPOOL b5874c5b08427d758fdd0e02f1f431296acc7451c609c75b06017e26ea11c835b89ddd1803de0a24f957b0c7f2ad6f4473c674b8cc76317a84c0d6d3b5ddaf8b diff --git a/dev-libs/vala-common/vala-common-0.34.8.ebuild b/dev-libs/vala-common/vala-common-0.34.8.ebuild new file mode 100644 index 000000000000..01ce4db1896f --- /dev/null +++ b/dev-libs/vala-common/vala-common-0.34.8.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME_ORG_MODULE="vala" + +inherit gnome.org + +DESCRIPTION="Build infrastructure for packages that use Vala" +HOMEPAGE="https://wiki.gnome.org/Projects/Vala" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x64-solaris" +IUSE="" + +# Previously ${PN} was part of dev-lang/vala +RDEPEND=" + !<dev-lang/vala-0.10.4-r2 + !<dev-lang/vala-0.12.1-r1:0.12 + !<dev-lang/vala-0.14.2-r2:0.14 + !<dev-lang/vala-0.16.1-r2:0.16 + !<dev-lang/vala-0.17.5:0.18 +" +DEPEND="" + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + insinto /usr/share/aclocal + doins vala.m4 vapigen/vapigen.m4 + insinto /usr/share/vala + doins vapigen/Makefile.vapigen +} + +pkg_postinst() { + # Hack to prevent alternatives_auto_makesym in previously installed + # dev-lang/vala's pkg_postrm from overwriting vala-common's files + if has_version '<dev-lang/vala-0.10.4-r2:0.10' && [[ -f "${EROOT}usr/share/aclocal/vala-0-10.m4" ]]; then + ebegin "Removing old vala-0.10 macros" + rm "${EROOT}usr/share/aclocal/vala-0-10.m4" &> /dev/null + eend $? + fi + if has_version '<dev-lang/vala-0.12.1-r1:0.12' && [[ -f "${EROOT}usr/share/aclocal/vala-0-12.m4" ]]; then + ebegin "Removing old vala-0.12 macros" + rm "${EROOT}usr/share/aclocal/vala-0-12.m4" &> /dev/null + eend $? + fi + if has_version '<dev-lang/vala-0.14.2-r2:0.14' && [[ -f "${EROOT}usr/share/aclocal/vala-0-14.m4" ]]; then + ebegin "Removing old vala-0.14 macros" + rm "${EROOT}usr/share/aclocal/vala-0-14.m4" &> /dev/null + eend $? + fi + if has_version '<dev-lang/vala-0.16.1-r2:0.16' && [[ -f "${EROOT}usr/share/aclocal/vala-0-16.m4" ]]; then + ebegin "Removing old vala-0.16 macros" + rm "${EROOT}usr/share/aclocal/vala-0-14.m4" &> /dev/null + eend $? + if [[ -f "${EROOT}usr/share/vala-0.16/Makefile.vapigen" ]]; then + ebegin "Removing old vala-0.16 makefile template" + rm "${EROOT}usr/share/vala-0.16/Makefile.vapigen" &> /dev/null + eend $? + fi + fi + if has_version '<dev-lang/vala-0.17.5:0.18' && [[ -f "${EROOT}usr/share/aclocal/vala-0-18.m4" ]]; then + ebegin "Removing old vala-0.18 macros" + rm "${EROOT}usr/share/aclocal/vala-0-12.m4" &> /dev/null + eend $? + if [[ -f "${EROOT}usr/share/vala-0.18/Makefile.vapigen" ]]; then + ebegin "Removing old vala-0.18 makefile template" + rm "${EROOT}usr/share/vala-0.18/Makefile.vapigen" &> /dev/null + eend $? + fi + fi +} |