From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 692611382C5 for ; Sun, 4 Feb 2018 17:41:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3E85E0ACA; Sun, 4 Feb 2018 17:41:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C460DE0ACA for ; Sun, 4 Feb 2018 17:41:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96E56335C49 for ; Sun, 4 Feb 2018 17:41:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B914E1DC for ; Sun, 4 Feb 2018 17:41:47 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1517765932.2f12fa9a90ebe234620dd6d2947369ac1919fbd0.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/highlight/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/highlight/Manifest app-text/highlight/highlight-3.42.ebuild X-VCS-Directories: app-text/highlight/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2f12fa9a90ebe234620dd6d2947369ac1919fbd0 X-VCS-Branch: master Date: Sun, 4 Feb 2018 17:41:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 85bad296-3b70-4de0-aba2-aa5243c2b62f X-Archives-Hash: 2137b82687a0688be6a6c78d23271f8a commit: 2f12fa9a90ebe234620dd6d2947369ac1919fbd0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 4 16:30:03 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 4 17:38:52 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f12fa9a app-text/highlight: 3.42 version bump Bug: https://bugs.gentoo.org/641932 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-text/highlight/Manifest | 1 + app-text/highlight/highlight-3.42.ebuild | 86 ++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/app-text/highlight/Manifest b/app-text/highlight/Manifest index c017c7e9325..760a676b1e7 100644 --- a/app-text/highlight/Manifest +++ b/app-text/highlight/Manifest @@ -2,3 +2,4 @@ DIST highlight-3.17.tar.bz2 617834 BLAKE2B 0098eebe14fd9325b3cad3028821326404dc8 DIST highlight-3.33.tar.bz2 620644 BLAKE2B e1d6836801c772a1004d0a6bbed72ddbba65463b416d6503d66b1d96d4887eca15d63191dbea7bc9867442d4030765c39ebb42af6ec74b97b00ec9c42ce0b100 SHA512 12dc233e91380d762cafdc8a685fe6063e2b115d4df5e7ed83c4e880076a8b4fd3d41bf3631a9840600ae3012a87c64c31667b0f81655dd2ad10f26c563cce83 DIST highlight-3.34.tar.bz2 622273 BLAKE2B 7eb98843f369f21a115c6d5d3def4930a5763932fd6df65044681e85c82fb01ea9f5eff48f7e00aef48c31bd6dcc0ed0c2658f654e2f2df4177760f80168ac96 SHA512 f052adfe2b78d6cc28f23e303a0b2d5fd7d86aa261a3a40cca5e07fd7867eee3da415204194387d0e9818860b22ba2578fe200ee783e9cc07a5e30d94431ab51 DIST highlight-3.35.tar.bz2 1181873 BLAKE2B 44a5081dacac2bbcd2f3b7b8f86bb95be77681626c34ed9cd326e51eafc960584f8d53491c5173c30b603c1a72f781ac7f5ae9e9f54b91de606cda8d44d4fcb2 SHA512 4f0959b4deacccf3de7137a4db45c2ec7091fb7427076cb5c5709a8d2027458328133ff541ebfb5cbe25fdcd9eebcd1cc9ed58526300d56ac6205fe6b806d211 +DIST highlight-3.42.tar.bz2 1294770 BLAKE2B 22c79258be6a665eda8ee17d1de6a97811f97dc4b4491c24b466dc5375d98d865e07ac4e462288d066613bef8bb5a469fa0bdb3065ecf098fc6c4f6090ecb63e SHA512 362150ee396d2b203f11ecc3d011e23b6f8c7d93ff9f8cb0e9e980be6da21e7b3b1ea1e347e3f09129ab0fb1a0aab19ff19f021e643b93a163a99d3882f9bf80 diff --git a/app-text/highlight/highlight-3.42.ebuild b/app-text/highlight/highlight-3.42.ebuild new file mode 100644 index 00000000000..72295826fe1 --- /dev/null +++ b/app-text/highlight/highlight-3.42.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic 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 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="examples qt5" + +RDEPEND=" + dev-lang/lua:0= + qt5? ( + dev-libs/double-conversion:= + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) +" +DEPEND="${RDEPEND} + dev-libs/boost + virtual/pkgconfig + qt5? ( dev-qt/linguist-tools:5 ) +" + +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/" +) + +src_prepare() { + default + + sed -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \ + -i src/core/datadir.cpp || die + + if has_version " /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 "${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 + use qt5 && emake -f makefile "${myhlopts[@]}" install-gui + + if ! use examples ; then + rm -r "${ED}"/usr/share/doc/${PF}/extras || die + fi +}