dev-libs/vala-common: Version bump
authorPacho Ramos <pacho@gentoo.org>
Sat, 5 Sep 2015 13:19:46 +0000 (15:19 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 5 Sep 2015 13:20:25 +0000 (15:20 +0200)
Package-Manager: portage-2.2.20.1

dev-libs/vala-common/Manifest
dev-libs/vala-common/vala-common-0.28.1.ebuild [new file with mode: 0644]

index 418160131fc1c6f71b524a2a371fac50ada8971b..18ad2ddd6ce71bb4f1f9ffc828d53e6dabb470d2 100644 (file)
@@ -1,3 +1,4 @@
 DIST vala-0.24.0.tar.xz 2666032 SHA256 22a37c977512c19cd29c373eaaef96cb2c994795d491106f32387f3f9d1e899c SHA512 a5897af7926affbdb018f0c31d4ec84d3322dc03e7cc64cb8b28c60fd4887a64b94760e061145aab5c36442a0d8665f3e3d584e09502e5f2587860d199317479 WHIRLPOOL d19cdf123abc3689c84c3746729a1452a8a9051271aaa64782db226ab4c276e963fa574900b4d145577d4fd0329cb29f73782b5f67ac1650ad1bdf663096e88f
 DIST vala-0.26.2.tar.xz 2682856 SHA256 37f13f430c56a93b6dac85239084681fd8f31c407d386809c43bc2f2836e03c4 SHA512 9c8dcb59f01e7f77c79f5f9ed996930c23444bddf22898ee775602e54f817b4cbd7c477c9a46a140acca57db9d8047b8fcffdb87f51276ff1719857faed6e535 WHIRLPOOL 492790367f93b0e913ccb1c3c04c098473020f68236f6ec3c70eeb85023bbb913ecef366793996e4952b79dadd4d3687e167d8b9eed87daac950c6d66d9153bc
 DIST vala-0.28.0.tar.xz 2720652 SHA256 0d9e3bd3f82145664875f7c29b2f544ba92d2814f75412948f774c0727fc977f SHA512 4f9adc4a3e672c25b508f5193bb1984e848dcaca059c2eb733e93ca7f58b5d58028a56f4234a62baa30ff50b63d87af24510334eba41630692c5f16e580bad88 WHIRLPOOL cfdd97f90f033b030d768ed66e78b5f86b6e1e50bac34806cd70dda168a5ff3192249d08ee9e020e0ea33d753b20aa69c6e269c65fa193a19e6ae4353912c7d2
+DIST vala-0.28.1.tar.xz 2721228 SHA256 1c0eaea6134b75af17221cb699f13d7236d607bb48192565c3d865c38f184f47 SHA512 41e58eebd7a333a928c52e6493f6677c63f9c6f57da7876b8e9edf138eaf5477a0d18266cdec6029d7c21cd711b709050a2ef99bc6b31ce618fbbef7e0b072af WHIRLPOOL 73b072552f0c8bd18db2255759b73a7711a6170a13c1c96503a3ffad48d3355cbda4064a2e9cefc42b3894d0a91c1979b943bc583f6bdb34ef8d52649ff726c4
diff --git a/dev-libs/vala-common/vala-common-0.28.1.ebuild b/dev-libs/vala-common/vala-common-0.28.1.ebuild
new file mode 100644 (file)
index 0000000..5baa04e
--- /dev/null
@@ -0,0 +1,77 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GNOME_ORG_MODULE="vala"
+
+inherit gnome.org
+
+DESCRIPTION="Build infrastructure for packages that use Vala"
+HOMEPAGE="https://wiki.gnome.org/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
+}