Skip to content

Commit

Permalink
sys-devel/clang: Include prebuilt manpages for 4.0.0 w/ USE=-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Apr 6, 2017
1 parent b226206 commit f630116
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys-devel/clang/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DIST cfe-4.0.0.src.tar.xz 10900916 SHA256 cea5f88ebddb30e296ca89130c83b9d46c2d833685e2912303c828054c4dc98a SHA512 a0d9972ec337a5c105fcbe7abc4076ba1e580f28908a3318f43bbfe59143f446ed5b78dad210f624145d7e5a3d56c15bfead78826c068422b60120fa1cfa482a WHIRLPOOL fe04b6955b82915bba09726947fceff92e67ffaac97de4b8c32c18546262f60a4307fdaccd3c9540710392658ed47f3bcfe44791de8d7d30786d56576f339aee
DIST clang-tools-extra-4.0.0.src.tar.xz 583088 SHA256 41b7d37eb128fd362ab3431be5244cf50325bb3bb153895735c5bacede647c99 SHA512 2f9aed5ff7e175b730802961f9ce0aa6376ce78d905839e60536b6d166f68dc31d4420a668ed1e08f3601a5fefa8f7514172daaf77eb325fecd00e55f56e5af4 WHIRLPOOL 76dfa2854eabccfa93357b56d65a993d1a2fe3f4beb2c513369efabb78f6d4be583781c06d60ab0d2898df202fbf391d00818ec618c413dadea52b443c6026d6
DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704 WHIRLPOOL 9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
DIST llvm-manpages-4.0.0.tar.bz2 84861 SHA256 4676b3a18e95ddba19e868bfac0753154be2b57bc0d557f90270e4d2b0913d37 SHA512 7a04ffb607203aca099c816fe6e143779062610935f501786bd64bad6001741fb7a55adebe4e52e0611aa70fa04b22e1a7cab7b3da9dc2ed996fd0baf1ae8916 WHIRLPOOL e2ce15c26008995d71b830d74c5e6ca7dd862ed8208168facc0be6e7f855e5f59b143057ec2bbbaa70ed54dc77ad31279239886d25fe67c0853a9dee7baff31b
7 changes: 7 additions & 0 deletions sys-devel/clang/clang-4.0.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ DESCRIPTION="C language family frontend for LLVM"
HOMEPAGE="http://llvm.org/"
SRC_URI="http://releases.llvm.org/${PV/_//}/cfe-${PV/_/}.src.tar.xz
http://releases.llvm.org/${PV/_//}/clang-tools-extra-${PV/_/}.src.tar.xz
!doc? ( https://dev.gentoo.org/~mgorny/dist/llvm-manpages-${PV}.tar.bz2 )
test? ( http://releases.llvm.org/${PV/_//}/llvm-${PV/_/}.src.tar.xz )"

# Keep in sync with sys-devel/llvm
Expand Down Expand Up @@ -293,6 +294,12 @@ multilib_src_install_all() {
python_optimize "${ED}"usr/lib/llvm/${SLOT}/share/scan-view
fi

# install pre-generated manpages
if ! use doc; then
insinto "/usr/lib/llvm/${SLOT}/share/man/man1"
doins "${WORKDIR}/x/y/llvm-manpages-${PV}/clang"/*.1
fi

docompress "/usr/lib/llvm/${SLOT}/share/man"
# match 'html' non-compression
use doc && docompress -x "/usr/share/doc/${PF}/tools-extra"
Expand Down

0 comments on commit f630116

Please sign in to comment.