commit:     3f8a381f28357726ca9b5bd7c9846254153bd61e
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 15 14:01:03 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Apr 15 14:16:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f8a381f

dev-libs/vala-common: bump to 0.40.15

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.40.15.ebuild | 76 +++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-libs/vala-common/Manifest b/dev-libs/vala-common/Manifest
index cb2d59b201d..e5f67080e86 100644
--- a/dev-libs/vala-common/Manifest
+++ b/dev-libs/vala-common/Manifest
@@ -1,3 +1,4 @@
 DIST vala-0.36.15.tar.xz 2880300 BLAKE2B 
ea83bde6396f3be1c96038d63ae30b18fa070a6f7a06b75569bfed9d7792c898201a1f24d000f5b6415bb890cf975758341a97f22db74da02fcbeb3f283e546f
 SHA512 
1c8f888832b2dd4248737a5a27f00f42d8bab2fe0a0790a7df5c426f4e3e1d0919ed0f6f6fd905be758ed477ba840e18f608e67811389c811ba65710094abe61
 DIST vala-0.40.14.tar.xz 3398668 BLAKE2B 
6df1e47439000e1a49dda4d58651b7039737a2648563fc4e09d679bf63d968d9dafcc9ab5e371ca450bab70163f9fb1fb30ffa75451940f9a1518d7fb3a5ebf1
 SHA512 
0387bbcf35055f2b4a8f790370847bcc12a92d7969d9ed583b0630be8b637a9e28895508da9cdfab8baf97ad5fdc9249bf82e31e6c1ee19d0026f5061c027db8
+DIST vala-0.40.15.tar.xz 3406020 BLAKE2B 
aaa2967a140fae94b4609f4b54f2e37c71fe79453cb3ea30568ee018d2227d1c45061440ad632bcfc53650fbe4dba2f062d8095f95936623a49efb5e97f2c2bb
 SHA512 
abb918b00afab7a85586f9bd26b78be87e19b725752cbb77dd428da2e6241b1f3d4aaa70e3e6daf6f373562d02f1ff8016e6c9107e2bf088d9b84334adecdda2
 DIST vala-0.42.6.tar.xz 3354840 BLAKE2B 
0cc5c91967cbadda8c12143d4de6ebffa60c7031bc314338e7ca1e036866b460bf78e28b7f7737bee8243198ffa655c99b3e743d639c5d2b5ed93f210fc692bc
 SHA512 
664fa303d6b2b037254bc6e19d79b7894444f5c38fb7b1fcb73f37512dc97bc01c8ddbb23563093e271c562a9fb49c96fcc9019889a57a95a4e8e162c8619f2f

diff --git a/dev-libs/vala-common/vala-common-0.40.15.ebuild 
b/dev-libs/vala-common/vala-common-0.40.15.ebuild
new file mode 100644
index 00000000000..29fd6de8fd0
--- /dev/null
+++ b/dev-libs/vala-common/vala-common-0.40.15.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