mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
app-arch/libarchive-qt: drop old 2.0.2
New version 2.0.3 supports USE="static-libs" Closes: https://bugs.gentoo.org/780591 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
parent
89681f976b
commit
2ecea54ac9
@ -1,2 +1 @@
|
||||
DIST libarchive-qt-2.0.2.tar.gz 52672 BLAKE2B f3b223c5a5a468c3c7f2dac00b37b13c61d9cd86764af28468543cc899e79a6b9019a460fa8a4d73ef94f6f6233d7409f525cac6a0024c71b8f66f262d9d95ad SHA512 bf82884134265a825b49e3d313279d8826c422a54a5be65f170995c140ed2f4e6eca1cb939bf23bd1c04ef6bd60e47f9ae1cb5acaa505a114d2f1dfbb24c7c5c
|
||||
DIST libarchive-qt-2.0.3.tar.gz 52793 BLAKE2B bfc29a21c54421b4c589eb5d444b7d9cb40c9d4f71b3ac36489df5f919e9d6eb2455574b1ad6c435cb3556f5ff697a0e6244554cf2dbaf032c1c77dc454f8328 SHA512 4d3c809a6bac4db576314a6b52893613de3b6d7eefc7ce74271ce5e6c5b73f3650380ba4b987724abda722e70cce3d1555a5ffd470d867ae9e1157cde7e761ee
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib qmake-utils xdg
|
||||
|
||||
DESCRIPTION="A Qt based archiving solution with libarchive backend"
|
||||
HOMEPAGE="https://gitlab.com/marcusbritanicus/libarchive-qt"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.com/marcusbritanicus/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://gitlab.com/marcusbritanicus/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
fi
|
||||
|
||||
RESTRICT="test"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
app-arch/libarchive[lzma,bzip2,zlib]
|
||||
app-arch/lrzip
|
||||
app-arch/lzip
|
||||
app-arch/lzop
|
||||
dev-qt/qtgui:5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove override of the libpath
|
||||
sed -i -e '/^ target.path/d' lib/shared.pro || die
|
||||
sed -i -e '/^ target.path/d' lib/static.pro || die
|
||||
|
||||
# fix prefix of lib files
|
||||
sed -i -e 's/$$INSTALL_PREFIX/$$PREFIX/g' lib/shared.pro || die
|
||||
sed -i -e 's/$$INSTALL_PREFIX/$$PREFIX/g' lib/static.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local lib="$(get_libdir)"
|
||||
# '^^' because we need to upcase the definition
|
||||
eqmake5 DEFINES+="${lib^^}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
emake INSTALL_ROOT="${ED}" install
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user