1 |
radhermit 13/11/04 23:58:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: highlight-3.16.ebuild |
5 |
Log: |
6 |
Version bump (fixes bug #407243, patch by Matti Bickel). |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.69 app-text/highlight/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/highlight/ChangeLog?rev=1.69&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/highlight/ChangeLog?rev=1.69&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/highlight/ChangeLog?r1=1.68&r2=1.69 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v |
20 |
retrieving revision 1.68 |
21 |
retrieving revision 1.69 |
22 |
diff -u -r1.68 -r1.69 |
23 |
--- ChangeLog 21 Jul 2013 10:02:58 -0000 1.68 |
24 |
+++ ChangeLog 4 Nov 2013 23:58:51 -0000 1.69 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-text/highlight |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v 1.68 2013/07/21 10:02:58 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v 1.69 2013/11/04 23:58:51 radhermit Exp $ |
30 |
+ |
31 |
+*highlight-3.16 (04 Nov 2013) |
32 |
+ |
33 |
+ 04 Nov 2013; Tim Harder <radhermit@g.o> +highlight-3.16.ebuild: |
34 |
+ Version bump (fixes bug #407243, patch by Matti Bickel). |
35 |
|
36 |
21 Jul 2013; Pacho Ramos <pacho@g.o> metadata.xml: |
37 |
Cleanup due http://gentoo.2317880.n4.nabble.com/sgml-herd-has-no-maintainers- |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-text/highlight/highlight-3.16.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/highlight/highlight-3.16.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/highlight/highlight-3.16.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: highlight-3.16.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-3.16.ebuild,v 1.1 2013/11/04 23:58:51 radhermit Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
inherit toolchain-funcs qt4-r2 flag-o-matic |
55 |
|
56 |
DESCRIPTION="converts source code to formatted text ((X)HTML, RTF, (La)TeX, XSL-FO, XML) with syntax highlight" |
57 |
HOMEPAGE="http://www.andre-simon.de/" |
58 |
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-3" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" |
63 |
IUSE="examples qt4" |
64 |
|
65 |
RDEPEND="dev-lang/lua |
66 |
qt4? ( |
67 |
dev-qt/qtgui:4 |
68 |
dev-qt/qtcore:4 |
69 |
)" |
70 |
DEPEND="${RDEPEND} |
71 |
dev-libs/boost |
72 |
virtual/pkgconfig" |
73 |
|
74 |
src_prepare() { |
75 |
sed -i "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \ |
76 |
src/core/datadir.cpp || die |
77 |
|
78 |
if has_version '<dev-lang/lua-5.2' ; then |
79 |
sed -i 's/-DUSE_LUA52//' src/makefile || die |
80 |
fi |
81 |
} |
82 |
|
83 |
src_compile() { |
84 |
myhlopts=( |
85 |
"CXX=$(tc-getCXX)" |
86 |
"AR=$(tc-getAR)" |
87 |
"LDFLAGS=${LDFLAGS}" |
88 |
"CFLAGS=${CXXFLAGS}" |
89 |
"DESTDIR=${D}" |
90 |
"PREFIX=${EPREFIX}/usr" |
91 |
"HL_CONFIG_DIR=${EPREFIX}/etc/highlight/" |
92 |
"HL_DATA_DIR=${EPREFIX}/usr/share/highlight/" |
93 |
"doc_dir=${EPREFIX}/usr/share/doc/${PF}/" |
94 |
"conf_dir=${EPREFIX}/etc/highlight/" |
95 |
) |
96 |
emake -f makefile "${myhlopts[@]}" |
97 |
if use qt4 ; then |
98 |
cd src/gui-qt |
99 |
eqmake4 'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"' |
100 |
emake |
101 |
fi |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
emake -f makefile "${myhlopts[@]}" install |
106 |
use qt4 && emake -f makefile "${myhlopts[@]}" install-gui |
107 |
|
108 |
if use examples ; then |
109 |
docompress -x /usr/share/doc/${PF}/examples |
110 |
else |
111 |
rm -rf "${ED}"/usr/share/doc/${PF}/examples |
112 |
fi |
113 |
} |