Version bump.
authorTim Harder <radhermit@gentoo.org>
Wed, 12 Oct 2011 02:06:40 +0000 (02:06 +0000)
committerTim Harder <radhermit@gentoo.org>
Wed, 12 Oct 2011 02:06:40 +0000 (02:06 +0000)
Package-Manager: portage-2.2.0_alpha66/cvs/Linux x86_64

app-text/highlight/ChangeLog
app-text/highlight/Manifest
app-text/highlight/highlight-3.6.ebuild [new file with mode: 0644]

index abd10ceb743bbff53d50d9f13dc85cb063721365..be6f324bb144db3eba7337da7835303af6682c55 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-text/highlight
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v 1.44 2011/08/30 02:22:29 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v 1.45 2011/10/12 02:06:40 radhermit Exp $
+
+*highlight-3.6 (12 Oct 2011)
+
+  12 Oct 2011; Tim Harder <radhermit@gentoo.org> +highlight-3.6.ebuild:
+  Version bump.
 
   30 Aug 2011; Naohiro Aota <naota@gentoo.org> highlight-3.5.ebuild:
   Add ~x86-fbsd
index 12ef1a38cae6e1b2167f886f4faa63ce212c5259..25923138f2fa154709d1530e0a16bd5a9d52ae3f 100644 (file)
@@ -1,19 +1,25 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
 
 AUX highlight-3.3-parallel-make.patch 323 RMD160 11e7ee06006121caa1ba1d05b264970259c3672a SHA1 0221be01a7e6ff1a8b50c0f71bf8aa148eecf3e6 SHA256 5e458765f8b2109f6c6a2dc65ae9fc131c023328d6620b49af923a40a9ec7083
 DIST highlight-2.9.tar.bz2 378746 RMD160 b058772aaeb2cc844cb0ae620c2866d02884b59b SHA1 6ab40a5af8b5564d90e8eba1c58b03486e8e4471 SHA256 520549886428c00af97667c4587a13aaf99cc8a5a69f8e850ab4c52940dae41d
 DIST highlight-3.3.tar.bz2 740651 RMD160 9a020443e70c0c19215a3bfa14ea78493df98a24 SHA1 338fdecc1b30002a8d6624ace76fe2daba05ced4 SHA256 96c415d62488c6522e9933ecdfce447eb8eecd3b88a1064f42908c936ea02d87
 DIST highlight-3.5.tar.bz2 756541 RMD160 257ed4992311e8a95096cd4ac29ee7b400f086ad SHA1 0e57b45103b6f471a96f987f98dc5e09fed138b5 SHA256 485c1ad40ba7ade4f42ff14055c13317e3ea361e0556f95f5eb558ee446bf14a
+DIST highlight-3.6.tar.bz2 650790 RMD160 0b4e7a9253ebba9b0f2c84754227f7f8c5f1a12a SHA1 ff3d5f5d17edfed4881d34ef847e63bf800a33e2 SHA256 c79d95234d1fd32a998a7414d0563df5fcb5776a1f92ed38893894ede57fa8bd
 EBUILD highlight-2.9.ebuild 1506 RMD160 099dcf47f44eaf748c0b4af7ddd4639d329de303 SHA1 8ac33f167afd41762b4f04cd6f0caff2a49c5b1f SHA256 b73dc897b16573c92aef00831839f59e72158b27708001e7c92a974a26e108b7
 EBUILD highlight-3.3.ebuild 1563 RMD160 65691cb3c295a21a0f33990c7f6a4f45cfa56f30 SHA1 04bb954bc35fac30f048de03ce5b755d940f7d65 SHA256 b54030b184f7450f60af9e89ab53b65b7d2c85b7a1ff9f5eb6869c24b35593d8
 EBUILD highlight-3.5.ebuild 1667 RMD160 3d128ca83550f2934ac7c7f3b5d489418c6fee35 SHA1 4c01fbc64c4d8bd8fa61297119f07637c9f67c05 SHA256 e1e104072ef73b14f450965fd133cd425c707f8bd0c49fbbd010b4da983cecb9
-MISC ChangeLog 5862 RMD160 e1033e6223d869b4c3593c471ee743185fc7766d SHA1 de1e2574cb24829610eb552519d728702c7cc0c7 SHA256 dafba7307aee7c47d01b3bfe54ef207fd1ff688654de5e1bd0331597237c50d4
+EBUILD highlight-3.6.ebuild 1671 RMD160 68710d5309419d731e646dc2ffbd8b0c033fdc4f SHA1 cfb0a252c2be83235f6708292e5a2208f8cfd7d4 SHA256 0f6665f54017913190f80219aae5fea589093aae3c4293285419ea46d0c54c03
+MISC ChangeLog 5985 RMD160 153de763541edbf205700395f10de9ef429c2e68 SHA1 2ae798943bf059214524f2502b8526ec72d41fef SHA256 574ec58a1713ec50f0426cb9c5c56ffc6820b307f8857d56e91858cbb420ee4c
 MISC metadata.xml 176 RMD160 4c10f88bb3b4c3c8f85b05a0bbef8238212ae884 SHA1 239dc089587796161139a7a9928cee878b99c147 SHA256 be997c23d8e59987382e8e46c1aa92ab261a676a929139908b7a8242d0157e81
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iEYEARECAAYFAk5cSWAACgkQGpDnPLSHuMBRkQCeOT2cvbz1Lj9v9J0M7djGKRXI
-xdEAoIVE18ybubTlK0XqR41ZKF/gBSeJ
-=nK1b
+iQEcBAEBCgAGBQJOlPY1AAoJEEqz6FtPBkyjulIH/iCAgGTOWu2JLf9Pp7lxHVWa
+8z7FLI/7U7gUdt1lCeJ5oxYbAeELGbCgGwVpEZkRNCsuUuWGBbVCVqWJi2h97O23
+1aNiXovJ29S6/glaT4vn26UA9LZn//kGs+ytYfMFIM0dGjbtSc7WSCL1Izud2mVR
+4wDrMxES3wt79dVg9DsRzw5yJiy7IBLLfaGh2CM2J+I42CLgXO/vmqDkSBigcbyh
+j0quCpePJrEjofK99Kr4tmDba2/69bYPRJvM23S332lylOEITizezvRMZCG+AVdh
+N4wSPS4d5nczt7zrYo62OnzAlL+xiX3CojFfgopTfoTSjXO4Zwcoa+dGxfORpfE=
+=AiOa
 -----END PGP SIGNATURE-----
diff --git a/app-text/highlight/highlight-3.6.ebuild b/app-text/highlight/highlight-3.6.ebuild
new file mode 100644 (file)
index 0000000..549a05a
--- /dev/null
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-3.6.ebuild,v 1.1 2011/10/12 02:06:40 radhermit Exp $
+
+EAPI=4
+
+inherit toolchain-funcs qt4-r2
+
+DESCRIPTION="converts source code to formatted text ((X)HTML, RTF, (La)TeX, XSL-FO, XML) with syntax highlight"
+HOMEPAGE="http://www.andre-simon.de/"
+SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="examples qt4"
+
+DEPEND="dev-lang/lua
+       dev-libs/boost
+       qt4? ( x11-libs/qt-gui:4
+               x11-libs/qt-core:4 )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+       myhlopts=(
+               "CXX=$(tc-getCXX)"
+               "AR=$(tc-getAR)"
+               "LDFLAGS=${LDFLAGS}"
+               "CFLAGS=${CXXFLAGS}"
+               "DESTDIR=${D}"
+               "PREFIX=${EPREFIX}/usr"
+               "LUA_CFLAGS="
+               "HL_CONFIG_DIR=${EPREFIX}/etc/highlight/"
+               "HL_DATA_DIR=${EPREFIX}/usr/share/highlight/"
+               "doc_dir=${EPREFIX}/usr/share/doc/${PF}/"
+               "conf_dir=${EPREFIX}/etc/highlight/"
+       )
+}
+
+src_prepare() {
+       sed -i -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
+               src/core/datadir.cpp || die
+}
+
+src_compile() {
+       emake -f makefile "${myhlopts[@]}"
+       if use qt4 ; then
+               cd src/gui-qt
+               eqmake4 'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"'
+               emake
+       fi
+}
+
+src_install() {
+       emake -f makefile "${myhlopts[@]}" install
+       use qt4 && emake -f makefile "${myhlopts[@]}" install-gui
+
+       if use examples ; then
+               docompress -x /usr/share/doc/${PF}/examples
+       else
+               rm -rf "${ED}"/usr/share/doc/${PF}/examples
+       fi
+}