diff options
Diffstat (limited to 'app-text/highlight')
-rw-r--r-- | app-text/highlight/Manifest | 4 | ||||
-rw-r--r-- | app-text/highlight/highlight-3.57-r100.ebuild | 103 | ||||
-rw-r--r-- | app-text/highlight/highlight-3.60.ebuild | 103 |
3 files changed, 0 insertions, 210 deletions
diff --git a/app-text/highlight/Manifest b/app-text/highlight/Manifest index 76ce9fa0c611..7f25029b156e 100644 --- a/app-text/highlight/Manifest +++ b/app-text/highlight/Manifest @@ -1,8 +1,4 @@ AUX highlight-3.57-qt_libs_lua.patch 334 BLAKE2B 6cd387009986ef29f309dc52668f08c404ca7f744c8d1c6d1bb8ed47a392834f4ce9c8474397c4294fc40633501d52754caa0938ea84d9b050800a33db46e5cc SHA512 db298ed4a12e90c8745d7307fd916dd73f3fc62bd306fec279d9c38973e3556425ca7b90759b03e645983c35de298b3d28e80bdcde5ece94b480ee32d7742a18 -DIST highlight-3.57.tar.bz2 1412857 BLAKE2B c0ee8189294feac3b5e8c6d356634d8074a8960f2010918de52f23515ad4a13626971e9106ecc6d2adbdb45e0ebb66ff60eb3cbe86d2449666e3424f1c0dc3a6 SHA512 a086f6b8c4a4fc0b6651d456b178350a6c59a32cd613451d81b53fe3294eb0f80d673cb64fb615ef91d6c4d4bbc8a57413aec2490d2a5ad67e695ec6e92b3d99 -DIST highlight-3.60.tar.bz2 1412486 BLAKE2B 3651a44c7e492ce02de04d21ed2e25afb40e871e21eacef88416f98226046e99a2a0a27c3354119715f320df1653ad7065c1c9a4a23b3081971df4d72c6fa19c SHA512 e4d0822592675115c7c2121d6ed066f997d315fecea384caeb506de1933f6bd60fd0dea57dcdafba85465f9f6b922ed168db57ce725bd7f19689d30624412f1b DIST highlight-4.1.tar.bz2 1469115 BLAKE2B 9ee4c61ea5ebdfd04c2bb341838cc66a755d5deb6dfb5d863d22dbb86be9b5d08999f22bb184053126bdaf8858777eb2ac504fed8998dc51bd6e1cd64f911ad8 SHA512 6e3ba72b2109f1b33fcebd1a426a8d4b3e12ee224b8a2069e7aab1391473594ccf9b35303bca5ca1339d2ce42bc6db2d16c1da7b1cdd451f5fabe672ca388731 -EBUILD highlight-3.57-r100.ebuild 2392 BLAKE2B ea840d9f56ac50e22d0a21c0339b696a6b1de4f82f281e0afab93b54e199239b986a70e1795e146ef469d8108a2ff179deef726f646d6f7b6f1053e791f8aeb6 SHA512 e50889e2b8a1b62c8706f399c2fddb04fe405ca824e4d3291c99620a604d3f1bc5aa1f730a6a7985029b93a92d5f210ad37f2d4aca945907f95cd120f02b6f47 -EBUILD highlight-3.60.ebuild 2392 BLAKE2B ea840d9f56ac50e22d0a21c0339b696a6b1de4f82f281e0afab93b54e199239b986a70e1795e146ef469d8108a2ff179deef726f646d6f7b6f1053e791f8aeb6 SHA512 e50889e2b8a1b62c8706f399c2fddb04fe405ca824e4d3291c99620a604d3f1bc5aa1f730a6a7985029b93a92d5f210ad37f2d4aca945907f95cd120f02b6f47 EBUILD highlight-4.1.ebuild 2405 BLAKE2B d7945a424f4f958f15c384973acbe0192b473bf913a9bfcb7b01ea3684e5eabc5bcc0f981c9922db2851944a7851239e0dca672f75558763f1911b05e7edfd7b SHA512 b4354913bfde963192077d2f5824b29806dbb8498b4630f30e688169697fe2ddaecd00ab6d9dac021c201d20f874343f161e6b918d21cfcf32e5ed7e8ab89939 MISC metadata.xml 331 BLAKE2B 3c864f08058c451342b7f7799f36e901f392207b36114dd123bb3faa59f04fe3b00d8e65cee4ad3bbbe44606bdafbd246c64d5fce03cd54fc64cd40cfde59788 SHA512 eb96ee44971855de0b12f9e230d58714acb54de1b0a814c0681f8c31124a5c3e39290e2fd17523b2b52b65efaf30f64580f00777a8e9c908779b582577897906 diff --git a/app-text/highlight/highlight-3.57-r100.ebuild b/app-text/highlight/highlight-3.57-r100.ebuild deleted file mode 100644 index 8b9689954ce7..000000000000 --- a/app-text/highlight/highlight-3.57-r100.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..3} ) - -inherit lua-single qmake-utils toolchain-funcs - -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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="examples qt5" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND=" - ${LUA_DEPS} - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - ) -" -DEPEND="${RDEPEND} - dev-libs/boost -" -BDEPEND=" - virtual/pkgconfig - qt5? ( dev-qt/linguist-tools:5 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.57-qt_libs_lua.patch -) - -myhlopts=( - CXX="$(tc-getCXX)" - AR="$(tc-getAR)" - LDFLAGS="${LDFLAGS}" - CFLAGS="${CXXFLAGS} -DNDEBUG" - 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/" -) - -src_prepare() { - default - - # disable man page compression - sed -e "/GZIP/d" -i makefile || die - - sed -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \ - -i src/core/datadir.cpp || die - - sed -r -i \ - -e "/^LUA_.*pkg-config/s,\<lua\>,${ELUA},g" \ - "${S}"/extras/tcl/makefile \ - "${S}"/extras/swig/makefile \ - || die "Failed to set Lua implementation" - - # We set it via eqmake5, otherwise it forces clang... - sed -e "s/QMAKE_CC/#QMAKE_CC/g" \ - -e "s/QMAKE_CXX /#QMAKE_CXX /g" \ - -i src/gui-qt/highlight.pro || die -} - -src_configure() { - if use qt5 ; then - pushd src/gui-qt > /dev/null || die - eqmake5 \ - 'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"' - popd > /dev/null || die - fi -} - -src_compile() { - emake -f makefile LUA_PKG_NAME="${ELUA}" "${myhlopts[@]}" - if use qt5 ; then - pushd src/gui-qt > /dev/null || die - emake - popd > /dev/null || die - fi -} - -src_install() { - emake -f makefile "${myhlopts[@]}" install - if use qt5; then - emake -f makefile "${myhlopts[@]}" install-gui - docompress -x /usr/share/doc/${PF}/{ChangeLog,COPYING,README,README_PLUGINS} - fi - - if ! use examples ; then - rm -r "${ED}"/usr/share/doc/${PF}/extras || die - fi -} diff --git a/app-text/highlight/highlight-3.60.ebuild b/app-text/highlight/highlight-3.60.ebuild deleted file mode 100644 index 8b9689954ce7..000000000000 --- a/app-text/highlight/highlight-3.60.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..3} ) - -inherit lua-single qmake-utils toolchain-funcs - -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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="examples qt5" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND=" - ${LUA_DEPS} - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - ) -" -DEPEND="${RDEPEND} - dev-libs/boost -" -BDEPEND=" - virtual/pkgconfig - qt5? ( dev-qt/linguist-tools:5 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.57-qt_libs_lua.patch -) - -myhlopts=( - CXX="$(tc-getCXX)" - AR="$(tc-getAR)" - LDFLAGS="${LDFLAGS}" - CFLAGS="${CXXFLAGS} -DNDEBUG" - 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/" -) - -src_prepare() { - default - - # disable man page compression - sed -e "/GZIP/d" -i makefile || die - - sed -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \ - -i src/core/datadir.cpp || die - - sed -r -i \ - -e "/^LUA_.*pkg-config/s,\<lua\>,${ELUA},g" \ - "${S}"/extras/tcl/makefile \ - "${S}"/extras/swig/makefile \ - || die "Failed to set Lua implementation" - - # We set it via eqmake5, otherwise it forces clang... - sed -e "s/QMAKE_CC/#QMAKE_CC/g" \ - -e "s/QMAKE_CXX /#QMAKE_CXX /g" \ - -i src/gui-qt/highlight.pro || die -} - -src_configure() { - if use qt5 ; then - pushd src/gui-qt > /dev/null || die - eqmake5 \ - 'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"' - popd > /dev/null || die - fi -} - -src_compile() { - emake -f makefile LUA_PKG_NAME="${ELUA}" "${myhlopts[@]}" - if use qt5 ; then - pushd src/gui-qt > /dev/null || die - emake - popd > /dev/null || die - fi -} - -src_install() { - emake -f makefile "${myhlopts[@]}" install - if use qt5; then - emake -f makefile "${myhlopts[@]}" install-gui - docompress -x /usr/share/doc/${PF}/{ChangeLog,COPYING,README,README_PLUGINS} - fi - - if ! use examples ; then - rm -r "${ED}"/usr/share/doc/${PF}/extras || die - fi -} |