commit:     a37070c4d64fe1b1861c6286457e0509213d457a
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 00:02:15 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 00:02:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a37070c4

dev-libs/vala-common: bump to 0.36.14

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/vala-common/Manifest                   |  1 +
 dev-libs/vala-common/vala-common-0.36.14.ebuild | 76 +++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-libs/vala-common/Manifest b/dev-libs/vala-common/Manifest
index 898369441bc..ac14734c39d 100644
--- a/dev-libs/vala-common/Manifest
+++ b/dev-libs/vala-common/Manifest
@@ -1,3 +1,4 @@
 DIST vala-0.34.16.tar.xz 2795676 BLAKE2B 
64428099c209e13a6aad09233af650f412efa191ff4873fae1dbfb9bcc252e13d4e152733c9f199cd23323872fd912807a685980f651c1f784bfaffae7bf4162
 SHA512 
6411d55524a6c717c2eaf5cc1231ac931400e3f66d151a8b8856910258eb5bd7affe3a90946de34feb51aabfafce721b8d57f61e0475095b275d20b73cc4bbec
 DIST vala-0.34.9.tar.xz 2783952 BLAKE2B 
e90728075ac546e8abc125886182abd5fc357be5138bfea1ed058f41bf07968e55e032469cc068cefdb6a4d53f1c029ca7e728c57b00f6b9845e32c4410e8258
 SHA512 
8128dfbb50d0db2317feb4a358310de972ecb6f4dccaceb4d55cf3a024f4d83422e3137c92238e1a0a0b4766367ad307909a1310445017c71944ac30fc68d01f
 DIST vala-0.36.13.tar.xz 2869616 BLAKE2B 
adb22fa45e34c2be2accde2bc928148d3115dc0757338d66feb111b4225879f21f2af5f49511eff53697127d3431d22736be827d3663ed8a5de6d8ac718b0cee
 SHA512 
7c9bb2e50f660ec28d55f755019ba81eb0358327967d8046a14691b5fe9c805f731c6277cbb732fc19af60322e2293bb25176387944ca2de709cde0c22b44d1f
+DIST vala-0.36.14.tar.xz 2874504 BLAKE2B 
217178c9018e8d6623e5997f36210ecccfa0176ae06a52bed6b54b5d6af3504c7157b9bfb162d44ef96e0b95fa2ebfff4171b935f911491f62f88c69f6087d57
 SHA512 
123c54a3ba2198b6cc7d40bfce20dee687a369e26346fb6675ce07692755ceb91bea7137f707b9f5a7972c99b12a77e9d4cc65ae055053f48909c80377661fbe

diff --git a/dev-libs/vala-common/vala-common-0.36.14.ebuild 
b/dev-libs/vala-common/vala-common-0.36.14.ebuild
new file mode 100644
index 00000000000..914750231de
--- /dev/null
+++ b/dev-libs/vala-common/vala-common-0.36.14.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
+}

Reply via email to