1 |
commit: aca13183a7450c32e9c6bd968a4808a9e33d9c35 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 1 16:08:04 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 1 17:34:17 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca13183 |
7 |
|
8 |
dev-lang/qu-prolog: Drop Qt4-based ebuild |
9 |
|
10 |
Bug: https://bugs.gentoo.org/645628 |
11 |
Package-Manager: Portage-2.3.27, Repoman-2.3.9 |
12 |
|
13 |
dev-lang/qu-prolog/qu-prolog-10.0.ebuild | 97 -------------------------------- |
14 |
1 file changed, 97 deletions(-) |
15 |
|
16 |
diff --git a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild b/dev-lang/qu-prolog/qu-prolog-10.0.ebuild |
17 |
deleted file mode 100644 |
18 |
index a32be5b617f..00000000000 |
19 |
--- a/dev-lang/qu-prolog/qu-prolog-10.0.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,97 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils multilib qmake-utils |
28 |
- |
29 |
-MY_P=qp${PV} |
30 |
- |
31 |
-DESCRIPTION="Extended Prolog supporting quantifiers, object-variables and substitutions" |
32 |
-HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html" |
33 |
-SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz" |
34 |
- |
35 |
-LICENSE="Apache-2.0 GPL-2+" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64 ppc x86" |
38 |
-IUSE="debug doc examples pedro qt4 readline threads" |
39 |
- |
40 |
-RDEPEND=" |
41 |
- !dev-util/mpatch |
42 |
- !dev-util/rej |
43 |
- !games-rpg/kqlives |
44 |
- qt4? ( dev-qt/qtgui:4 ) |
45 |
- pedro? ( net-misc/pedro ) |
46 |
- readline? ( app-misc/rlwrap )" |
47 |
-DEPEND="${RDEPEND} |
48 |
- dev-lang/perl" |
49 |
- |
50 |
-S="${WORKDIR}"/${MY_P} |
51 |
- |
52 |
-src_prepare() { |
53 |
- epatch "${FILESDIR}"/${P}-configure.patch |
54 |
- epatch "${FILESDIR}"/${P}-associated-item.patch |
55 |
- epatch "${FILESDIR}"/${P}-gcc6.patch |
56 |
-} |
57 |
- |
58 |
-src_configure() { |
59 |
- econf \ |
60 |
- --libdir=/usr/$(get_libdir) \ |
61 |
- $(use_enable debug) \ |
62 |
- $(use_enable threads multiple-threads) |
63 |
- |
64 |
- if use qt4; then |
65 |
- cd "${S}"/src/xqp || die |
66 |
- eqmake4 xqp.pro |
67 |
- fi |
68 |
-} |
69 |
- |
70 |
-src_compile() { |
71 |
- emake OPTIMISATION="${CXXFLAGS}" |
72 |
- |
73 |
- if use qt4; then |
74 |
- cd "${S}"/src/xqp || die |
75 |
- emake |
76 |
- fi |
77 |
-} |
78 |
- |
79 |
-src_install() { |
80 |
- sed \ |
81 |
- -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \ |
82 |
- -i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die |
83 |
- |
84 |
- dobin bin/{qc,qecat,qp,kq} |
85 |
- |
86 |
- into /usr/$(get_libdir)/${PN} |
87 |
- dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp} |
88 |
- |
89 |
- use qt4 && dobin src/xqp/xqp |
90 |
- |
91 |
- insinto /usr/$(get_libdir)/${PN}/bin |
92 |
- doins bin/rl_commands |
93 |
- doins bin/{qc1.qup,qecat,qg,qp}.qx |
94 |
- |
95 |
- insinto /usr/$(get_libdir)/${PN}/library |
96 |
- doins prolog/library/*.qo |
97 |
- |
98 |
- insinto /usr/$(get_libdir)/${PN}/compiler |
99 |
- doins prolog/compiler/*.qo |
100 |
- |
101 |
- doman doc/man/man1/*.1 |
102 |
- |
103 |
- dodoc README |
104 |
- |
105 |
- if use doc ; then |
106 |
- docinto reference-manual |
107 |
- dodoc doc/manual/*.html |
108 |
- docinto user-guide |
109 |
- dodoc doc/user/main.pdf |
110 |
- fi |
111 |
- |
112 |
- if use examples ; then |
113 |
- insinto /usr/share/doc/${PF}/examples |
114 |
- doins examples/*.ql |
115 |
- docinto examples |
116 |
- newdoc examples/README README.examples |
117 |
- fi |
118 |
-} |