commit:     0851f96aca4ae62d41563790a9f7f863025f163e
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 20:32:06 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 20:32:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0851f96a

dev-libs/vala-common: bump to 0.42.6

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

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

diff --git a/dev-libs/vala-common/Manifest b/dev-libs/vala-common/Manifest
index eddf0c4c808..0b43177dc5b 100644
--- a/dev-libs/vala-common/Manifest
+++ b/dev-libs/vala-common/Manifest
@@ -2,3 +2,4 @@ DIST vala-0.36.15.tar.xz 2880300 BLAKE2B 
ea83bde6396f3be1c96038d63ae30b18fa070a6
 DIST vala-0.36.17.tar.xz 2898524 BLAKE2B 
4a5a373bacd4e4a392350c7819e0498054e38f50dce89658412d7aeb5642892ef9f32a7689ebd45f53c41f064e0b6d2f52fb441be67a1dd48e67311a1e764637
 SHA512 
93d4fa600cd0ef62b71ed056b837f2c0a42c3aba25b021b2bbd2045428550307727827b250dae546926ea3fe2e33a5ac80c9b24b5100f02550ec584dd5da5e92
 DIST vala-0.40.13.tar.xz 3394588 BLAKE2B 
cb3055b859b220f999bc5b4533251a069e9c10690963bc92b087b0ab351f0d78eb8f5992b747cc345d9d2a3dba69c68d130bca20604036c2c62e380442675e8b
 SHA512 
0590224ec5128f6939b66109b6bcf7f764af3ece28f9bce9a5d715f53defbc8746d5d20599039b067848da2f38fdae7a057427be1ea9ef0fe09e0ce45db091d0
 DIST vala-0.42.5.tar.xz 3350460 BLAKE2B 
790c9f9e9e656ce96226f1ac6a0d090033ecf1943d024da0c9ee174bf65f76a14721819c6c2263c5b094f16cf112cc964000000ee42c9a7fdc0f2ad6fc01feb7
 SHA512 
1862307eab505e500326f84e267648f084926629f6b45b9abb6a90a20a7aa6dd2fc305962b9028c5ca7becb574573cca43fbecd9294b782d9942e71639a32aa9
+DIST vala-0.42.6.tar.xz 3354840 BLAKE2B 
0cc5c91967cbadda8c12143d4de6ebffa60c7031bc314338e7ca1e036866b460bf78e28b7f7737bee8243198ffa655c99b3e743d639c5d2b5ed93f210fc692bc
 SHA512 
664fa303d6b2b037254bc6e19d79b7894444f5c38fb7b1fcb73f37512dc97bc01c8ddbb23563093e271c562a9fb49c96fcc9019889a57a95a4e8e162c8619f2f

diff --git a/dev-libs/vala-common/vala-common-0.42.6.ebuild 
b/dev-libs/vala-common/vala-common-0.42.6.ebuild
new file mode 100644
index 00000000000..29fd6de8fd0
--- /dev/null
+++ b/dev-libs/vala-common/vala-common-0.42.6.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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 ~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