From bdd36775df5888168f92a808507c38420d64351a Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 23 Jan 2019 15:26:47 -0200 Subject: [PATCH] v8: remove --- common/shlibs | 1 - srcpkgs/libv8 | 1 - srcpkgs/v8-devel | 1 - srcpkgs/v8/INSTALL.msg | 1 + srcpkgs/v8/template | 64 ++++-------------------------------------- 5 files changed, 7 insertions(+), 61 deletions(-) delete mode 120000 srcpkgs/libv8 delete mode 120000 srcpkgs/v8-devel create mode 100644 srcpkgs/v8/INSTALL.msg diff --git a/common/shlibs b/common/shlibs index a97577e8b1f..a6a9a1e2da9 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1013,7 +1013,6 @@ libLLVM-6.0.so libllvm6.0-6.0.0_1 libLLVM-7.so libllvm7-7.0.0_1 libisofs.so.6 libisofs-0.6.24_1 libmpack.so.0 libmpack-1.0.5_1 -libv8.so.3.24 libv8-3.24.35.22_1 libGeoIP.so.1 libgeoip-1.4.8_1 libnilfs.so.0 libnilfs-2.1.0_1 libnilfsgc.so.0 libnilfs-2.1.0_1 diff --git a/srcpkgs/libv8 b/srcpkgs/libv8 deleted file mode 120000 index 469d080845d..00000000000 --- a/srcpkgs/libv8 +++ /dev/null @@ -1 +0,0 @@ -v8 \ No newline at end of file diff --git a/srcpkgs/v8-devel b/srcpkgs/v8-devel deleted file mode 120000 index 469d080845d..00000000000 --- a/srcpkgs/v8-devel +++ /dev/null @@ -1 +0,0 @@ -v8 \ No newline at end of file diff --git a/srcpkgs/v8/INSTALL.msg b/srcpkgs/v8/INSTALL.msg new file mode 100644 index 00000000000..e1cab59b931 --- /dev/null +++ b/srcpkgs/v8/INSTALL.msg @@ -0,0 +1 @@ +v8 is no longer provided by Void Linux, and will be fully removed from the repos on 2019/04/23 diff --git a/srcpkgs/v8/template b/srcpkgs/v8/template index 788be753bbd..6316668cd31 100644 --- a/srcpkgs/v8/template +++ b/srcpkgs/v8/template @@ -1,61 +1,9 @@ # Template file for 'v8' pkgname=v8 -_sonamever=3.24 -version=${_sonamever}.35.33 -revision=3 -hostmakedepends="python" -makedepends="readline-devel" -short_desc="V8 JavaScript Engine" -maintainer="Juan RP " +version=3.24.35.33 +revision=4 +noarch=yes +build_style=meta +short_desc="V8 JavaScript Engine (removed package)" +license="metapackage" homepage="http://code.google.com/p/v8/" -license="BSD" -distfiles="http://commondatastorage.googleapis.com/chromium-browser-official/v8-${version}.tar.bz2" -checksum=ebde3d100aa61ee6cdff436ef8cc9291b99f0c246afddd67120838f1b85871ec - -case "${XBPS_TARGET_MACHINE}" in - x86_64*) _target="x64";; - i686*) _target="ia32";; - arm*) _target="arm"; _opts="hardfp=on snapshot=off";; - *) broken="unknown target architecture!" ;; -esac - -do_build() { - if [ $_target = arm ]; then - sed -e "s/m32flag':.*/m32flag':'',/" -i build/toolchain.gypi - fi - - LINK=${CXX} make ${makejobs} ${_target} ${_opts} i18nsupport=off \ - werror=no library=shared soname_version=${_sonamever} \ - console=readline disassembler=on \ - CXX.host=${CXX} CXX.link=${CXX} LINK.target=${CXX} \ - BUILTYPE=Release -} - -do_install() { - vbin out/${_target}.release/d8 - vinstall out/${_target}.release/lib.target/libv8.so.${_sonamever} 755 usr/lib - if [ $_target != arm ]; then - vbin out/${_target}.release/mksnapshot.${_target} mksnapshot - fi - - vmkdir usr/include - vcopy 'include/v8*.h' usr/include - - ln -sfr ${DESTDIR}/usr/lib/libv8.so.${_sonamever} ${DESTDIR}/usr/lib/libv8.so -} - -v8-devel_package() { - depends="libv8-${version}_${revision}" - short_desc+=" - development files" - pkg_install() { - vmove usr/include - vmove usr/lib/libv8.so - } -} - -libv8_package() { - short_desc+=" - runtime library" - pkg_install() { - vmove usr/lib/libv8.so.${_sonamever} - } -}