summaryrefslogtreecommitdiff
path: root/app-text/highlight
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/highlight
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/highlight')
-rw-r--r--app-text/highlight/Manifest11
-rw-r--r--app-text/highlight/highlight-3.17.ebuild65
-rw-r--r--app-text/highlight/highlight-3.33.ebuild65
-rw-r--r--app-text/highlight/highlight-3.34.ebuild70
-rw-r--r--app-text/highlight/highlight-3.35.ebuild70
-rw-r--r--app-text/highlight/metadata.xml8
6 files changed, 289 insertions, 0 deletions
diff --git a/app-text/highlight/Manifest b/app-text/highlight/Manifest
new file mode 100644
index 000000000000..ed55734362ee
--- /dev/null
+++ b/app-text/highlight/Manifest
@@ -0,0 +1,11 @@
+DIST highlight-3.17.tar.bz2 617834 SHA256 87ca5907943da25c756407d35ea0df8eb7762f3e32544201da27555c8eadb301 SHA512 27d5391339e80b616146489e97f63bca336f18b26c2ff5b94ae5bf183d3d1cdbfba202ab36d8eac86dee98ff49c6cc6c41dcf31860f0277f0327688e622d954e WHIRLPOOL 53ee5a4c58021f2a395d1d2e29090a43b06f3ad4ccad4461843f5a1eedebabe5ff33d2ac0c97c9d1ea496023c3acfe9eb30ff4d9d119a0eae4173ea1f9352cc3
+DIST highlight-3.33.tar.bz2 620644 SHA256 64b530354feccabc3e8eeec02a0341be0625509db1fa5dd201c4d07e4d845c3c SHA512 12dc233e91380d762cafdc8a685fe6063e2b115d4df5e7ed83c4e880076a8b4fd3d41bf3631a9840600ae3012a87c64c31667b0f81655dd2ad10f26c563cce83 WHIRLPOOL 350b94f608e28d17b746630658cd3a4eea03465a30e73b7c44b1b03fc852818506c0bedbe148376c4466e7dc99a19c1ff0e21b17a16bb8f32ef533fa1edf521a
+DIST highlight-3.34.tar.bz2 622273 SHA256 1ea4ff989d192a0c2538f7b18683f41829596800e9f6fecf58d9d621218664bb SHA512 f052adfe2b78d6cc28f23e303a0b2d5fd7d86aa261a3a40cca5e07fd7867eee3da415204194387d0e9818860b22ba2578fe200ee783e9cc07a5e30d94431ab51 WHIRLPOOL 58cacc5b3686ac3963832fd5706dc4c5589cdbdab0cfacaeb67f8810e9159ce5f3a4f045e1c894251b3d40d6a9abec3edb111e5589440f2cb9c6e728527474f7
+DIST highlight-3.35.tar.bz2 1181873 SHA256 8a14b49f5e0c07daa9f40b4ce674baa00bb20061079473a5d386656f6d236d05 SHA512 4f0959b4deacccf3de7137a4db45c2ec7091fb7427076cb5c5709a8d2027458328133ff541ebfb5cbe25fdcd9eebcd1cc9ed58526300d56ac6205fe6b806d211 WHIRLPOOL c7a9fa2aa61be797aeb1c6dda2074c0acb3f15a34603bc007f84897c69b64cf2b834a5b461d7b1b4343652aee2493f76ce829f636bc130d1e3d0bb97ca9e17b2
+EBUILD highlight-3.17.ebuild 1671 SHA256 79c327b448d5fc6a2cf73e357a7df83b9d2dc0dc56f6677c73d117588891b866 SHA512 fd3825a6aa4b15eff9d23527e9e7e669db1044b22c657c7e5b19e531556d2d2ddff5bf83c00130f5ed9a3dfcae3264110628f4937d0c9cc6f3884f12620d68c8 WHIRLPOOL 3dc9ff55b28ba8a545453f14af346024cd5be9a03df58f9fee1c62ef249e4a7233f73a422e50ba6ccf5e843eed30d71e6996ba95b45eac996a8cf7d3774f53ec
+EBUILD highlight-3.33.ebuild 1703 SHA256 1bde63e9a46c2154c231670515fecb265d99fb45467b10f8139785adc8a34a72 SHA512 a05064a3bcb5111e8dee23d7d59ef4d6bb68c150f6af6589bf765010f3c7973e33b7e37227d67537e344c2622a8463bc398759182d4549ef3e56c2915194d73f WHIRLPOOL 52b529dadc26262a1712b29b381cde845f35cf24d60c81156897f3b3dea514a376e94030c4ad4cb76f6f54530c5990cb484c561cef964201ed1e1d2527f9f1d2
+EBUILD highlight-3.34.ebuild 1874 SHA256 933677815bb1ee967e581e822209f4080436ec9ef08eeddfdc3e5d5f3be61d39 SHA512 a096bddb1e73adfbee46d5c85f6d96a8a7fc7bf8166de352d518249c249b34812f1c518f77ff9b815685ac117b525cb247fcb0e567abf8d68bb35615f7365630 WHIRLPOOL 81de94cb399f18ff3f41bf0852571a2ab0545b96e71de4ba98a599f25a9b8ee1c1ff6db7c191d30ef7fb829b32b69327855a4049f73ff867b789ef16d0bc19b8
+EBUILD highlight-3.35.ebuild 1881 SHA256 d7f632a05c43a61e2a6c5db58d919ac556668a1ad1ef6b4b4f293cb3b8d408bf SHA512 ef89032b8570768becdf30112bf1d914d9b7d18957c4d15e1ad41fc759ee6b2ff36477f7489d9f526103b6fb8e22514432d40968316316bc381f5e9811306400 WHIRLPOOL cee0d4a001704d73fabed60dff899fb1f70b148748f3bda17eec14abf0b2954fba6acb28b5ca971728aa5fe45de825b8e94e175ac80ea6b2e4d02955f070f9ff
+MISC ChangeLog 4762 SHA256 8bfa1e2bdc556a9a3380d17a8d652c3f2af204a4546b179820e18b1f75613fc6 SHA512 7bc1c7af912e494cfb9c365803e6c3f16959da2d8cd0d6a2caef44302e9cc47ebd1efad2f717062a5d5350eeefc83550fdff2804feac4a96fd1350bad1121d73 WHIRLPOOL 8405252dccaf5ad0ab0bebfdaaab202d516515f8e2a2084ec03d884c683cac011120f0d554eda60065fb3cb7dff4f90fc406ed6490e03c5fe7916b6940fe135f
+MISC ChangeLog-2015 11290 SHA256 d110a42710d7d0bb05c2376952e93e533413f01b00772ab1c0122666008b16f0 SHA512 9a1c88bebd11a3b30f07bc3c5861cbffbbad66e31b77f85a46bb2d97721ff64477edc5d71b134f18da1476a712d246d1d1e68bfed0f47823eccd45418795ecc8 WHIRLPOOL fd61bb2dfc23e34a4794bf1452190d04ee2a3545a335b0db053c461b8d1bb86cf4a32d14dc034d28a55ebbb5a378b175647c96a35449614cb3de7b6811be2f6e
+MISC metadata.xml 249 SHA256 1c23b6a75de713ca6f4316742ebb0884fd6cbe80d7b97bcab4f467131a3506f0 SHA512 895325641a176c848988fb5f36cdb567b584d22f6e778b3de674de480cbca30b7cf8f12ecbbe1173a63e3229889e1e0f5efd5afea4f0d4c429ac236598f80f1e WHIRLPOOL 79f461d266db8e176661a5c24527780598eb751a1fbdbc05871a0207ed5b5dde38767357e4e0c5bdad4f609a7e11d7c9ec5c3a404274c83d4a5c3910f9305c1c
diff --git a/app-text/highlight/highlight-3.17.ebuild b/app-text/highlight/highlight-3.17.ebuild
new file mode 100644
index 000000000000..1aa9d93f20a3
--- /dev/null
+++ b/app-text/highlight/highlight-3.17.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs qt4-r2 flag-o-matic
+
+DESCRIPTION="Converts source code to formatted text (HTML, LaTeX, etc.) 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="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="examples qt4"
+
+RDEPEND="dev-lang/lua
+ qt4? (
+ dev-qt/qtgui:4
+ dev-qt/qtcore:4
+ )"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
+ src/core/datadir.cpp || die
+
+ if has_version '<dev-lang/lua-5.2' ; then
+ sed -i 's/-DUSE_LUA52//' src/makefile || die
+ fi
+}
+
+src_compile() {
+ myhlopts=(
+ "CXX=$(tc-getCXX)"
+ "AR=$(tc-getAR)"
+ "LDFLAGS=${LDFLAGS}"
+ "CFLAGS=${CXXFLAGS}"
+ "DESTDIR=${D}"
+ "PREFIX=${EPREFIX}/usr"
+ "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/"
+ )
+ 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
+}
diff --git a/app-text/highlight/highlight-3.33.ebuild b/app-text/highlight/highlight-3.33.ebuild
new file mode 100644
index 000000000000..86d60f69c989
--- /dev/null
+++ b/app-text/highlight/highlight-3.33.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs qt4-r2 flag-o-matic
+
+DESCRIPTION="Converts source code to formatted text (HTML, LaTeX, etc.) 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="examples qt4"
+
+RDEPEND="dev-lang/lua:0=
+ qt4? (
+ dev-qt/qtgui:4
+ dev-qt/qtcore:4
+ )"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
+ src/core/datadir.cpp || die
+
+ if has_version '<dev-lang/lua-5.2' ; then
+ sed -i 's/-DUSE_LUA52//' src/makefile || die
+ fi
+}
+
+src_compile() {
+ myhlopts=(
+ "CXX=$(tc-getCXX)"
+ "AR=$(tc-getAR)"
+ "LDFLAGS=${LDFLAGS}"
+ "CFLAGS=${CXXFLAGS} -DNDEBUG -std=c++11"
+ "DESTDIR=${D}"
+ "PREFIX=${EPREFIX}/usr"
+ "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/"
+ )
+ 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
+}
diff --git a/app-text/highlight/highlight-3.34.ebuild b/app-text/highlight/highlight-3.34.ebuild
new file mode 100644
index 000000000000..71e7930cfd38
--- /dev/null
+++ b/app-text/highlight/highlight-3.34.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs qt4-r2 flag-o-matic
+
+DESCRIPTION="Converts source code to formatted text (HTML, LaTeX, etc.) 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="examples qt4"
+
+RDEPEND="dev-lang/lua:0=
+ qt4? (
+ dev-qt/qtgui:4
+ dev-qt/qtcore:4
+ )"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
+ src/core/datadir.cpp || die
+
+ if has_version '<dev-lang/lua-5.2' ; then
+ sed -i 's/-DUSE_LUA52//' src/makefile || die
+ fi
+
+ # We set it via eqmake4, otherwise it forces clang...
+ sed -e 's/QMAKE_CC/#QMAKE_CC/g' \
+ -e 's/QMAKE_CXX /#QMAKE_CXX /g' \
+ -i "${S}/src/gui-qt/highlight.pro" || die
+}
+
+src_compile() {
+ myhlopts=(
+ "CXX=$(tc-getCXX)"
+ "AR=$(tc-getAR)"
+ "LDFLAGS=${LDFLAGS}"
+ "CFLAGS=${CXXFLAGS} -DNDEBUG -std=c++11"
+ "DESTDIR=${D}"
+ "PREFIX=${EPREFIX}/usr"
+ "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/"
+ )
+ 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
+}
diff --git a/app-text/highlight/highlight-3.35.ebuild b/app-text/highlight/highlight-3.35.ebuild
new file mode 100644
index 000000000000..9e13486c2f56
--- /dev/null
+++ b/app-text/highlight/highlight-3.35.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs qt4-r2 flag-o-matic
+
+DESCRIPTION="Converts source code to formatted text (HTML, LaTeX, etc.) 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="examples qt4"
+
+RDEPEND="dev-lang/lua:0=
+ qt4? (
+ dev-qt/qtgui:4
+ dev-qt/qtcore:4
+ )"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
+ src/core/datadir.cpp || die
+
+ if has_version '<dev-lang/lua-5.2' ; then
+ sed -i 's/-DUSE_LUA52//' src/makefile || die
+ fi
+
+ # We set it via eqmake4, otherwise it forces clang...
+ sed -e 's/QMAKE_CC/#QMAKE_CC/g' \
+ -e 's/QMAKE_CXX /#QMAKE_CXX /g' \
+ -i "${S}/src/gui-qt/highlight.pro" || die
+}
+
+src_compile() {
+ myhlopts=(
+ "CXX=$(tc-getCXX)"
+ "AR=$(tc-getAR)"
+ "LDFLAGS=${LDFLAGS}"
+ "CFLAGS=${CXXFLAGS} -DNDEBUG -std=c++11"
+ "DESTDIR=${D}"
+ "PREFIX=${EPREFIX}/usr"
+ "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/"
+ )
+ 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
+}
diff --git a/app-text/highlight/metadata.xml b/app-text/highlight/metadata.xml
new file mode 100644
index 000000000000..7b4a61aab741
--- /dev/null
+++ b/app-text/highlight/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+ </maintainer>
+</pkgmetadata>