commit: f6db40dcda59dc680cc35f6886089ee4e613584c Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> AuthorDate: Sat Jul 28 13:58:28 2018 +0000 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> CommitDate: Sat Jul 28 13:58:28 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6db40dc
dev-libs/vala-common: bump to 0.36.15 Package-Manager: Portage-2.3.43, Repoman-2.3.10 dev-libs/vala-common/Manifest | 1 + dev-libs/vala-common/vala-common-0.36.15.ebuild | 76 +++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/dev-libs/vala-common/Manifest b/dev-libs/vala-common/Manifest index 72059eba651..d39408941c6 100644 --- a/dev-libs/vala-common/Manifest +++ b/dev-libs/vala-common/Manifest @@ -1,2 +1,3 @@ DIST vala-0.36.13.tar.xz 2869616 BLAKE2B adb22fa45e34c2be2accde2bc928148d3115dc0757338d66feb111b4225879f21f2af5f49511eff53697127d3431d22736be827d3663ed8a5de6d8ac718b0cee SHA512 7c9bb2e50f660ec28d55f755019ba81eb0358327967d8046a14691b5fe9c805f731c6277cbb732fc19af60322e2293bb25176387944ca2de709cde0c22b44d1f DIST vala-0.36.14.tar.xz 2874504 BLAKE2B 217178c9018e8d6623e5997f36210ecccfa0176ae06a52bed6b54b5d6af3504c7157b9bfb162d44ef96e0b95fa2ebfff4171b935f911491f62f88c69f6087d57 SHA512 123c54a3ba2198b6cc7d40bfce20dee687a369e26346fb6675ce07692755ceb91bea7137f707b9f5a7972c99b12a77e9d4cc65ae055053f48909c80377661fbe +DIST vala-0.36.15.tar.xz 2880300 BLAKE2B ea83bde6396f3be1c96038d63ae30b18fa070a6f7a06b75569bfed9d7792c898201a1f24d000f5b6415bb890cf975758341a97f22db74da02fcbeb3f283e546f SHA512 1c8f888832b2dd4248737a5a27f00f42d8bab2fe0a0790a7df5c426f4e3e1d0919ed0f6f6fd905be758ed477ba840e18f608e67811389c811ba65710094abe61 diff --git a/dev-libs/vala-common/vala-common-0.36.15.ebuild b/dev-libs/vala-common/vala-common-0.36.15.ebuild new file mode 100644 index 00000000000..914750231de --- /dev/null +++ b/dev-libs/vala-common/vala-common-0.36.15.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2018 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 +}