| 58 |
58 |
|
| 59 |
59 |
LICENSE="GPL-2"
|
| 60 |
60 |
SLOT="0"
|
| 61 |
|
IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv mediawiki +nls +pcre perforce +perl +safe-directory selinux subversion test tk +webdav xinetd"
|
|
61 |
IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl +safe-directory selinux subversion test tk +webdav xinetd"
|
| 62 |
62 |
|
| 63 |
63 |
# Common to both DEPEND and RDEPEND
|
| 64 |
64 |
DEPEND="
|
| ... | ... | |
| 94 |
94 |
dev-perl/DBI
|
| 95 |
95 |
dev-perl/DBD-SQLite
|
| 96 |
96 |
)
|
| 97 |
|
mediawiki? (
|
| 98 |
|
dev-perl/DateTime-Format-ISO8601
|
| 99 |
|
dev-perl/HTML-Tree
|
| 100 |
|
dev-perl/MediaWiki-API
|
| 101 |
|
)
|
| 102 |
97 |
subversion? (
|
| 103 |
98 |
dev-vcs/subversion[-dso(-),perl]
|
| 104 |
99 |
dev-perl/libwww-perl
|
| ... | ... | |
| 139 |
134 |
REQUIRED_USE="
|
| 140 |
135 |
cgi? ( perl )
|
| 141 |
136 |
cvs? ( perl )
|
| 142 |
|
mediawiki? ( perl )
|
| 143 |
137 |
perforce? ( ${PYTHON_REQUIRED_USE} )
|
| 144 |
138 |
subversion? ( perl )
|
| 145 |
139 |
webdav? ( curl )
|
| ... | ... | |
| 310 |
304 |
src_compile() {
|
| 311 |
305 |
meson_src_compile
|
| 312 |
306 |
|
| 313 |
|
if use mediawiki ; then
|
| 314 |
|
git_emake -C contrib/mw-to-git
|
| 315 |
|
fi
|
| 316 |
|
|
| 317 |
307 |
if use tk ; then
|
| 318 |
308 |
local tkdir
|
| 319 |
309 |
for tkdir in git-gui gitk-git ; do
|
| ... | ... | |
| 372 |
362 |
#dobin contrib/fast-import/git-p4 # Moved upstream
|
| 373 |
363 |
#dodoc contrib/fast-import/git-p4.txt # Moved upstream
|
| 374 |
364 |
newbin contrib/fast-import/import-tars.perl import-tars
|
| 375 |
|
exeinto /usr/libexec/git-core/
|
| 376 |
|
newexe contrib/git-resurrect.sh git-resurrect
|
| 377 |
365 |
|
| 378 |
366 |
# diff-highlight
|
| 379 |
367 |
dobin contrib/diff-highlight/diff-highlight
|
| ... | ... | |
| 388 |
376 |
# The following are excluded:
|
| 389 |
377 |
# completion - installed above
|
| 390 |
378 |
# diff-highlight - done above
|
| 391 |
|
# emacs - removed upstream
|
| 392 |
|
# examples - these are stuff that is not used in Git anymore actually
|
| 393 |
379 |
# git-jump - done above
|
| 394 |
380 |
# gitview - installed above
|
| 395 |
381 |
# p4import - excluded because fast-import has a better one
|
| 396 |
382 |
# patches - stuff the Git guys made to go upstream to other places
|
| 397 |
|
# persistent-https - TODO
|
| 398 |
|
# mw-to-git - TODO
|
| 399 |
383 |
# subtree - built seperately
|
| 400 |
384 |
# svnimport - use git-svn
|
| 401 |
385 |
# thunderbird-patch-inline - fixes thunderbird
|
| 402 |
386 |
local contrib_objects=(
|
| 403 |
387 |
buildsystems
|
| 404 |
388 |
fast-import
|
| 405 |
|
hooks
|
| 406 |
|
remotes2config.sh
|
| 407 |
389 |
rerere-train.sh
|
| 408 |
390 |
stats
|
| 409 |
391 |
workdir
|
| ... | ... | |
| 440 |
422 |
mv "${ED}"/usr/share/perl5/Git "${ED}/$(perl_get_vendorlib)" || die
|
| 441 |
423 |
fi
|
| 442 |
424 |
|
| 443 |
|
if use mediawiki ; then
|
| 444 |
|
git_emake -C contrib/mw-to-git DESTDIR="${D}" install
|
| 445 |
|
fi
|
| 446 |
|
|
| 447 |
425 |
if ! use subversion ; then
|
| 448 |
426 |
rm -f "${ED}"/usr/libexec/git-core/git-svn \
|
| 449 |
427 |
"${ED}"/usr/share/man/man1/git-svn.1*
|