mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
Merge updates from master
This commit is contained in:
4
dev-vcs/gitahead/Manifest
Normal file
4
dev-vcs/gitahead/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
DIST gitahead-2.7.1-dep_git_git.tar.gz 7968616 BLAKE2B 7d2ea9e1ca1faa1a8b66a9db6b213c02be966cec74abe085139e3e966adcff9efbd74fb942ad145ddea64bab94a6006b91b512c96aa645cb124bcaf6e5a488eb SHA512 37a77870e0df748b023f5381aa969f1126b142a3470c9df4e01d86cf3418a0b0e4cb16a37ef7b162f285bdd540559a3511488ec8591b2f88e495626df019c03f
|
||||
DIST gitahead-2.7.1-dep_hunspell_hunspell.tar.gz 506908 BLAKE2B 810117701b16506ab18f3834cbbe6c75c970632a24b504b0fe914d77407e7379000826897aa03584edb7b87d207e26297709dd70613b6dd49731aa0aed1416b4 SHA512 6e0f4fe0a30e3824cff51ab507e3a836021e8b7542c86ed2950689fe9724b3c017648eb9928d1bb86fddcff113903164c25a1725a4fe7c8b94a833c4bf36279d
|
||||
DIST gitahead-2.7.1-dep_libgit2_libgit2.tar.gz 7535416 BLAKE2B 220249adafac30fdd329e65eabc0a7dc0f533b2242d2e75743c781d80d427d8aca5abc7c7d6f6874ebb6b379cee1bf2569a57a769b8a00a4d15ff5a94a218ad0 SHA512 eb0d66840210d1a73b11c7374fa2745afded753d5e8a87483efb5dcf76973469b705279e3ddca15874423123f387384f752aec614951ef4185d334b171d78779
|
||||
DIST gitahead-2.7.1.tar.gz 37248607 BLAKE2B 0f1399f84b92717c898708859a2b5c70d88dc52885b12ad915becb9943fc8037ec4ff498888b769603da163408a635bc111f0d5302a8631bb07c9683915e11e1 SHA512 c58ba55e0a0e9d11a0f777bd9d2e51cc7e2c93d0d58d266ae5a1c1271b962d5ac479124234b162983ff56870262e356969b841d59b375ae22e39301e689f3ab9
|
||||
115
dev-vcs/gitahead/gitahead-2.7.1-r1.ebuild
Normal file
115
dev-vcs/gitahead/gitahead-2.7.1-r1.ebuild
Normal file
@@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg cmake wrapper flag-o-matic
|
||||
|
||||
DESCRIPTION="Graphical Git client to help understand and manage source code history"
|
||||
HOMEPAGE="https://github.com/gitahead/gitahead"
|
||||
SRC_URI="
|
||||
https://github.com/gitahead/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/stinb/libgit2/archive/834d652bcb932af447d7f0acd1214a4057cb0771.tar.gz
|
||||
-> ${P}-dep_libgit2_libgit2.tar.gz
|
||||
https://github.com/hunspell/hunspell/archive/8a2fdfe5a6bb1cbafc04b0c8486abcefd17ad903.tar.gz
|
||||
-> ${P}-dep_hunspell_hunspell.tar.gz
|
||||
gnome-keyring? (
|
||||
https://github.com/git/git/archive/0d0ac3826a3bbb9247e39e12623bbcfdd722f24c.tar.gz -> ${P}-dep_git_git.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="test"
|
||||
IUSE="gnome-keyring"
|
||||
|
||||
RDEPEND="
|
||||
app-text/cmark:=
|
||||
dev-libs/libpcre2:=
|
||||
dev-libs/openssl:=
|
||||
dev-qt/qt5compat:6
|
||||
dev-qt/qtbase:6[concurrent,gui,network,widgets]
|
||||
net-libs/http-parser:=
|
||||
net-libs/libssh2
|
||||
sys-libs/zlib
|
||||
gnome-keyring? (
|
||||
app-crypt/libsecret
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-qt/qttools:6[linguist]
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/share/GitAhead/Plugins/.*"
|
||||
QA_PRESTRIPPED="usr/share/GitAhead/Plugins/.*"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
|
||||
cd "${S}" || die
|
||||
local i list=(
|
||||
dep_libgit2_libgit2
|
||||
dep_hunspell_hunspell
|
||||
)
|
||||
use gnome-keyring && list+=( dep_git_git )
|
||||
for i in "${list[@]}"; do
|
||||
[ ! -f "${DISTDIR}/${P}-${i}.tar.gz" ] && die "The file ${DISTDIR}/${P}-${i}.tar.gz doesn't exist"
|
||||
tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use gnome-keyring; then
|
||||
sed -i 's/add_subdirectory(git)//' ./dep/CMakeLists.txt || die
|
||||
fi
|
||||
sed -i 's/add_subdirectory(openssl)//' ./dep/CMakeLists.txt || die
|
||||
# Respect LDFLAGS
|
||||
sed -i '/CMAKE_EXE_LINKER_FLAGS/d' CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -flto* # Segfault in libQt5Core.so.5
|
||||
local mycmakeargs=(
|
||||
# libgit2 flags
|
||||
-DBUILD_TESTS=OFF
|
||||
-DREGEX_BACKEND=pcre2
|
||||
-DUSE_GSSAPI=OFF
|
||||
-DUSE_HTTP_PARSER=system
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
eninja package
|
||||
cd ./_CPack_Packages/Linux/STGZ || die
|
||||
mkdir -p "${D}"/usr/share || die
|
||||
bash ./GitAhead-2.7.1.sh --prefix="${D}"/usr/share --include-subdir || die
|
||||
rm -fr "${D}"/usr/share/GitAhead/*.so.* || die
|
||||
|
||||
cd "${D}"/usr/share/GitAhead/Resources/GitAhead.iconset || die
|
||||
local res
|
||||
for res in 16 32 64 128 256 512; do
|
||||
newicon -s "${res}" "icon_${res}x${res}.png" "${PN}.png"
|
||||
done
|
||||
|
||||
make_wrapper "${PN}" "${EPREFIX}/usr/share/GitAhead/GitAhead"
|
||||
make_desktop_entry "/usr/share/GitAhead/GitAhead" "GitAhead" "${PN}" "Development"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
ewarn "${P} collects some statistical usage data."
|
||||
ewarn "To permanently opt-out of reporting:"
|
||||
ewarn "toggle a button in Help -> About GitAhead -> Privacy"
|
||||
ewarn "or write to ~/.config/gitahead.com/GitAhead.conf those lines:"
|
||||
ewarn "[tracking]"
|
||||
ewarn "enabled=false"
|
||||
}
|
||||
105
dev-vcs/gitahead/gitahead-2.7.1.ebuild
Normal file
105
dev-vcs/gitahead/gitahead-2.7.1.ebuild
Normal file
@@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg cmake wrapper flag-o-matic
|
||||
|
||||
DESCRIPTION="Graphical Git client to help understand and manage source code history"
|
||||
HOMEPAGE="https://github.com/gitahead/gitahead"
|
||||
SRC_URI="
|
||||
https://github.com/gitahead/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/stinb/libgit2/archive/834d652bcb932af447d7f0acd1214a4057cb0771.tar.gz
|
||||
-> ${P}-dep_libgit2_libgit2.tar.gz
|
||||
https://github.com/hunspell/hunspell/archive/8a2fdfe5a6bb1cbafc04b0c8486abcefd17ad903.tar.gz
|
||||
-> ${P}-dep_hunspell_hunspell.tar.gz
|
||||
gnome-keyring? (
|
||||
https://github.com/git/git/archive/0d0ac3826a3bbb9247e39e12623bbcfdd722f24c.tar.gz -> ${P}-dep_git_git.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="test"
|
||||
IUSE="gnome-keyring"
|
||||
|
||||
RDEPEND="
|
||||
app-text/cmark:=
|
||||
dev-libs/openssl:=
|
||||
dev-qt/qt5compat:6
|
||||
dev-qt/qtbase:6[concurrent,gui,network,widgets]
|
||||
net-libs/libssh2
|
||||
gnome-keyring? (
|
||||
app-crypt/libsecret
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-qt/qttools:6[linguist]
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/share/GitAhead/Plugins/.*"
|
||||
QA_PRESTRIPPED="usr/share/GitAhead/Plugins/.*"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
|
||||
cd "${S}" || die
|
||||
local i list=(
|
||||
dep_libgit2_libgit2
|
||||
dep_hunspell_hunspell
|
||||
)
|
||||
use gnome-keyring && list+=( dep_git_git )
|
||||
for i in "${list[@]}"; do
|
||||
[ ! -f "${DISTDIR}/${P}-${i}.tar.gz" ] && die "The file ${DISTDIR}/${P}-${i}.tar.gz doesn't exist"
|
||||
tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use gnome-keyring; then
|
||||
sed -i 's/add_subdirectory(git)//' ./dep/CMakeLists.txt || die
|
||||
fi
|
||||
sed -i 's/add_subdirectory(openssl)//' ./dep/CMakeLists.txt || die
|
||||
# Respect LDFLAGS
|
||||
sed -i '/CMAKE_EXE_LINKER_FLAGS/d' CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -flto* # Segfault in libQt5Core.so.5
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
eninja package
|
||||
cd ./_CPack_Packages/Linux/STGZ || die
|
||||
mkdir -p "${D}"/usr/share || die
|
||||
bash ./GitAhead-2.7.1.sh --prefix="${D}"/usr/share --include-subdir || die
|
||||
rm -fr "${D}"/usr/share/GitAhead/*.so.* || die
|
||||
|
||||
cd "${D}"/usr/share/GitAhead/Resources/GitAhead.iconset || die
|
||||
local res
|
||||
for res in 16 32 64 128 256 512; do
|
||||
newicon -s "${res}" "icon_${res}x${res}.png" "${PN}.png"
|
||||
done
|
||||
|
||||
make_wrapper "${PN}" "${EPREFIX}/usr/share/GitAhead/GitAhead"
|
||||
make_desktop_entry "/usr/share/GitAhead/GitAhead" "GitAhead" "${PN}" "Development"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
ewarn "${P} collects some statistical usage data."
|
||||
ewarn "To permanently opt-out of reporting:"
|
||||
ewarn "toggle a button in Help -> About GitAhead -> Privacy"
|
||||
ewarn "or write to ~/.config/gitahead.com/GitAhead.conf those lines:"
|
||||
ewarn "[tracking]"
|
||||
ewarn "enabled=false"
|
||||
}
|
||||
11
dev-vcs/gitahead/metadata.xml
Normal file
11
dev-vcs/gitahead/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Benoît Dufour</name>
|
||||
<email>benoit.dufour@mail.com</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">gitahead/gitahead</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
15
net-misc/wayback_machine_downloader/metadata.xml
Normal file
15
net-misc/wayback_machine_downloader/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Benoît Dufour</name>
|
||||
<email>benoit.dufour@mail.com</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/hartator/wayback-machine-downloader/issues</bugs-to>
|
||||
<remote-id type="github">hartator/wayback-machine-downloader</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
Download an entire website from the Wayback Machine. Wayback Machine by Internet Archive (archive.org) is an awesome tool to view any website at any point of time but lacks an export feature. Wayback Machine Downloader brings exactly this.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
USE_RUBY="ruby26 ruby27 ruby30"
|
||||
|
||||
DESCRIPTION="Download an entire website from the Wayback Machine"
|
||||
HOMEPAGE="https://github.com/hartator/wayback-machine-downloader"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="test"
|
||||
PROPERTIES="test_network"
|
||||
@@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby26 ruby27 ruby30"
|
||||
|
||||
DESCRIPTION="Download an entire website from the Wayback Machine"
|
||||
HOMEPAGE="https://github.com/hartator/wayback-machine-downloader"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="test"
|
||||
PROPERTIES="test_network"
|
||||
Reference in New Issue
Block a user