summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2019-06-17 09:18:17 +0200
committerKeri Harris <keri@gentoo.org>2019-06-17 09:18:35 +0200
commit0436542509d8f54ab71929c1165f3fc8478f79e2 (patch)
tree10c76a1a82de777ffaaf2980945a810e4f05929e /dev-lang/swi-prolog
parentdev-dotnet/libgdiplus: skip tests due bug #687784 (diff)
downloadgentoo-0436542509d8f54ab71929c1165f3fc8478f79e2.tar.gz
gentoo-0436542509d8f54ab71929c1165f3fc8478f79e2.tar.bz2
gentoo-0436542509d8f54ab71929c1165f3fc8478f79e2.zip
dev-lang/swi-prolog: bump development version
Signed-off-by: Keri Harris <keri@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r--dev-lang/swi-prolog/Manifest1
-rw-r--r--dev-lang/swi-prolog/swi-prolog-8.1.8.ebuild99
2 files changed, 100 insertions, 0 deletions
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest
index d91e5e52b09..a412a61a809 100644
--- a/dev-lang/swi-prolog/Manifest
+++ b/dev-lang/swi-prolog/Manifest
@@ -11,3 +11,4 @@ DIST swipl-8.0.2.tar.gz 10413446 BLAKE2B 72214b86cb7276ce528b2791ed08273d568952d
DIST swipl-8.1.5.tar.gz 10547299 BLAKE2B 2fd158ed21da8ca20cbd6a593f384e4ba362b493e338012c6e6c410dfdc64861fa8613fba33e6553cc26ef360d910ce708c45df6c020bebca756b3df5a0a777e SHA512 992f3d8deacce5bf9b5277ec30f79bff0c8d765ff891b126d9f30a7c2c0a3dca7448c58083007a677f162d371143a6936e08e8395b72f6ddc2efecd16b56fcef
DIST swipl-8.1.6.tar.gz 10638490 BLAKE2B bf64c8968971720ebba0eacf73a14b1f4ae3c84550ac2ef001f609e4a0793e1fb1bb9fbe2b5f9c6d7e54bf8f815eb81508fd42e6745a04c736d76ba03d6c6fac SHA512 809526860aa7d93403637856b8705806a0604e3feb96774c712549ad3b385e708c87de6e11fce1456fb278fe5815fbbca12247fe8725ba167c9151e236ec3485
DIST swipl-8.1.7.tar.gz 10650684 BLAKE2B 2a8c008997801bb9a7b074975c8d12ad86c3061373acf2c586db9b32a3feb3add945981ac24612e5076adc1e1f29eb3a1b1dca2299ac326552c61de364847520 SHA512 670d38b88ca8366186cc7be64170b6da6ed64ef41e7865bb1a4acc631fb8676f3a15dc04da2ca9521b4742d6693fa450539e0576c5db5f76a03a1bdd4eec45a6
+DIST swipl-8.1.8.tar.gz 10657374 BLAKE2B bfa858e88dae100f7415cb4eb307c51b62080fa34a9a3999672ae5f529e4b0a4aa6d2ceb665e451262ba3418722892baa95c6f9dd86946be49f12bd2f2cda113 SHA512 99443657235900327e4e2839da26c4a8c65c5905118766bcea6402516d520aae206b5ba381c99357ae5b18b983490099d820e083f47139b7cc2d2600908ae2d2
diff --git a/dev-lang/swi-prolog/swi-prolog-8.1.8.ebuild b/dev-lang/swi-prolog/swi-prolog-8.1.8.ebuild
new file mode 100644
index 00000000000..b986aa50d89
--- /dev/null
+++ b/dev-lang/swi-prolog/swi-prolog-8.1.8.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils eutils flag-o-matic multilib
+
+PATCHSET_VER="0"
+
+DESCRIPTION="versatile implementation of the Prolog programming language"
+HOMEPAGE="http://www.swi-prolog.org/"
+SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="archive berkdb debug doc +gmp java +libedit libressl minimal odbc pcre qt5 readline ssl test uuid X yaml"
+
+RDEPEND="sys-libs/ncurses:=
+ sys-libs/zlib
+ archive? ( app-arch/libarchive )
+ berkdb? ( >=sys-libs/db-4:= )
+ odbc? ( dev-db/unixODBC )
+ pcre? ( dev-libs/libpcre )
+ readline? ( sys-libs/readline:= )
+ libedit? ( dev-libs/libedit )
+ gmp? ( dev-libs/gmp:0 )
+ ssl? (
+ !libressl? ( dev-libs/openssl:0 )
+ libressl? ( dev-libs/libressl )
+ )
+ java? ( >=virtual/jdk-1.7:= )
+ uuid? ( dev-libs/ossp-uuid )
+ qt5? (
+ dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ )
+ X? (
+ virtual/jpeg:0
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXpm
+ x11-libs/libXt
+ x11-libs/libICE
+ x11-libs/libSM )
+ yaml? ( dev-libs/libyaml )"
+
+DEPEND="${RDEPEND}
+ X? ( x11-base/xorg-proto )
+ java? ( test? ( =dev-java/junit-3.8* ) )"
+
+S="${WORKDIR}/swipl-${PV}"
+BUILD_DIR="${S}/build"
+CMAKE_USE_DIR="${S}"
+
+src_prepare() {
+ EPATCH_FORCE=yes
+ EPATCH_SUFFIX=patch
+ if [[ -d "${WORKDIR}"/${PV} ]] ; then
+ epatch "${WORKDIR}"/${PV}
+ fi
+
+ sed -i -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" CMakeLists.txt || die
+
+ eapply_user
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+ use debug && append-flags -DO_DEBUG
+
+ mycmakeargs=(
+ -DSWIPL_INSTALL_PREFIX=$(get_libdir)/swipl
+ -DUSE_GMP=$(usex gmp)
+ -DINSTALL_DOCUMENTATION=$(use doc && usex archive)
+ -DSWIPL_PACKAGES_BASIC=$(usex !minimal)
+ -DSWIPL_PACKAGES_ARCHIVE=$(usex archive)
+ -DSWIPL_PACKAGES_ODBC=$(usex odbc)
+ -DSWIPL_PACKAGES_BDB=$(usex berkdb)
+ -DSWIPL_PACKAGES_PCRE=$(usex pcre)
+ -DSWIPL_PACKAGES_YAML=$(usex yaml)
+ -DSWIPL_PACKAGES_SSL=$(usex ssl)
+ -DSWIPL_PACKAGES_JAVA=$(usex java)
+ -DSWIPL_PACKAGES_QT=$(usex qt5)
+ -DSWIPL_PACKAGES_X=$(usex X)
+ -DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_test() {
+ USE_PUBLIC_NETWORK_TESTS=false \
+ USE_ODBC_TESTS=false \
+ cmake-utils_src_test -V
+}