forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-lang/swi-prolog: bump development version
Signed-off-by: Keri Harris <[email protected]> Package-Manager: Portage-2.3.49, Repoman-2.3.11
- Loading branch information
1 parent
e78fb2d
commit f6f06cc
Showing
2 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
DIST swi-prolog-7.4.2-gentoo-patchset-3.tar.gz 3256 BLAKE2B d7997d7307db738f0948a89f5e1cee195be4424737e50df915a293c7cb1b3bc1ce09ebd372e8c5f24c95df7335676f12cdc04749de25396eac71471704cfc579 SHA512 bc1b408e311d10ab59fa221bf5ef3d3cb1003a3edcdd13fd000cbc647117458e1f130e960cc37968481ccc2047529ca128159fac8e0ee75114022ed439905cce | ||
DIST swi-prolog-7.6.4-gentoo-patchset-1.tar.gz 572 BLAKE2B 11ea1f22a997ea495a388627396ac571230de65b0ed2718c1127de04f563660fab0e6f8fd14b537de11a20c9651897f0b4f9d5a0d848c9d5f1f62e0c6e2b6705 SHA512 ce9f66af8764a89af42366d3e5c9d52d597f715022894cd4a2f283bb50be4070b3dbe3258ecf4bcf8808a6230ee023fce1edd9a8ad4342ceeb35d1b17770e4a2 | ||
DIST swi-prolog-7.7.20-gentoo-patchset-0.tar.gz 321 BLAKE2B d90e37016ba6d155af363ce679d0d5b6a1ce8986eb1437cf45ae15c9a8c036a488a0761fdbe2f734f784f4c35a6aa46825d43620778c5190a55894e5cc78014f SHA512 38c8335f8e574ba6860abfe87283bbb36583a1a0e9feb147a6d536477fad1ec5703063db521fc6747dac17642c756238d1c782297457c4554a9797eea9f5379e | ||
DIST swipl-7.4.2.tar.gz 16496738 BLAKE2B a8f45c4277e48c0aa38f8b278b466dcb9e0a776325a9ed9e08c252660671d3ee0ee441978394682276b3fb9b0eca73ad10e02aba4671630bef0a1e8f813dd3c5 SHA512 5b526d4f079e7a36184f871bb7341330bcadaeee2a69af981fbcad71ae76c77331b1f157174ac2b31d96e069dc530afa86c024de6709edd9dc8baee3b4ebffb3 | ||
DIST swipl-7.6.3.tar.gz 16772590 BLAKE2B 644be801e290ec9d949a9b7462256a35e11cf9afd62d0b62c315e3620a3943809f58698a23f279454e00299f7b7f7b91e8d9694a139e8c424cb2f83a4efc7a52 SHA512 d84af1a565935af9934c6b75192bb2dd87388ee8fe793ade35d5549a95ec5eb83da6b10508766e795f88393fededea4ec7a3a0c2f0f685d96ab615e171d7d1f4 | ||
DIST swipl-7.6.4.tar.gz 16777875 BLAKE2B 94409966362e649f4748b94b4ec25415bb827c7742aa39453d8e37db4ce992a65ad2d054ded4e651f2a9abe3a9438285bc9c9c895437c087ae6cf88f4afae9ca SHA512 f0ed16e4f1436115651c38a0bb37008d0dadad5a19b0f09894fcfc51dd3d429f86488e89cce00788c3c36cc2f0cd2957f92df47d5441133a6f8ea9d91ca5470f | ||
DIST swipl-7.7.17.tar.gz 17020719 BLAKE2B c818a9dcf6713398c41efdec186a141ddb09c319c5c5ceff7a200d0c83f131ad8de3165730b88026e117c26d3eab209ae30d096f307bfa5ab9ca7b3c3458c39b SHA512 f8ce0b6d582c21457a9264179e620edbbfd8de975c95cf86211fd99ca387d021cd503adb5bef2bbdacab1cdb83fbf384834fd706808985c1c24f25d960a494d7 | ||
DIST swipl-7.7.18.tar.gz 17025839 BLAKE2B e75be08c03965ff56e67ffc8b4743ce13da444d7a22f4c5234968ac38f131fe7762ff0b7c8c31f46d5f9f477293833483665cbcf191d54a9a51bb5661dcd460c SHA512 ec3daca594a6731d2f39851b8d7800f6040e401e132e153337393faf2595bcb1c0bc382477e34cc758f5d992731bfc2a60d2cdf563f3ca61643d35b0bc32a380 | ||
DIST swipl-7.7.19.tar.gz 17031626 BLAKE2B 0981ba2cb943d0dd16c7f91f4231fcf12c21dad26d738c7c7d3f7971bda92d209410181863dc1cf07f4eb528f5d3a5b98a4fd63873e1ee2cbbce440451cc9a69 SHA512 1c19f9a4ef3bc7a77bb7033a2a5862e821573d71e49aa9ae4d26a4c5eb60d2bdce53060f0851faa93e4f7a3ffdd15f89f0898f01005f15debdbb1e62004b99ad | ||
DIST swipl-7.7.20.tar.gz 16592015 BLAKE2B e8cbf8b282c3aa48ea59ac0c33548776567aea0cfc41d90fc029c78450e334f7b49ad5e422eeba49631b2750c06ef60bb14cad3ae812b52befeaefb602149852 SHA512 1a9bc27e43a03601a2f66ff38babc054c78ab7f49f287c9c97794fcc78e438de9b27dbc151d41db6e61b8f8a4a2584b1c0c6e010b286f3b3dbcd487a3ab7a3a1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# Copyright 1999-2018 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 | ||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.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/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=$(usex doc) | ||
-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() { | ||
cmake-utils_src_test -V | ||
} |