View previous topic :: View next topic |
Author |
Message |
vitaly-zdanevich Tux's lil' helper
Joined: 01 Dec 2019 Posts: 80 Location: Belarus
|
Posted: Sat May 25, 2024 2:51 am Post subject: 9999 with PROPERTIES="live" but MissingManifest |
|
|
Hi, I wrote this ebuild:
Code: | # Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Double Commander: file manager with two panels, similar to Total Commander"
HOMEPAGE="https://doublecmd.sourceforge.io/"
SRC_URI="
gtk? ( https://download.opensuse.org/repositories/home:/Alexx2000/AppImage/doublecmd-gtk-latest-x86_64.AppImage )
qt5? ( https://download.opensuse.org/repositories/home:/Alexx2000/AppImage/doublecmd-qt-latest-x86_64.AppImage )
"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
PROPERTIES="live"
IUSE="+gtk qt5"
REQUIRED_USE=" ^^ ( gtk qt5 ) "
RESTRICT="strip"
RDEPEND="sys-fs/fuse:0"
QA_PREBUILT="*"
src_install() {
newbin "${DISTDIR}/*.AppImage" doublecmd-bin
} |
And pkgcheck scan returns
Quote: | MissingManifest: version 9999: distfiles missing from Manifest: [ doublecmd-gtk-latest-x86_64.AppImage, doublecmd-qt-latest-x86_64.AppImage ] |
Why? |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1912 Location: 127.0.0.1
|
Posted: Sat May 25, 2024 10:12 pm Post subject: |
|
|
Hi,
I think that ebuilds with PROPERTIES="live" must not define SRC_URI.
Then, if you want to download some source files, you can do it from src_unpack.
See dev-lang/julia-bin/julia-bin-9999.ebuild.
Maybe I am wrong. |
|
Back to top |
|
|
vitaly-zdanevich Tux's lil' helper
Joined: 01 Dec 2019 Posts: 80 Location: Belarus
|
Posted: Sun May 26, 2024 1:37 am Post subject: |
|
|
Thanks, you are right:
Code: | # Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Double Commander: file manager with two panels, similar to Total Commander"
HOMEPAGE="https://doublecmd.sourceforge.io/"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
PROPERTIES="live"
IUSE="+gtk qt5"
REQUIRED_USE=" ^^ ( gtk qt5 ) "
RESTRICT="strip"
RDEPEND="sys-fs/fuse:0"
QA_PREBUILT="*"
src_unpack() {
if use gtk; then
wget https://download.opensuse.org/repositories/home:/Alexx2000/AppImage/doublecmd-gtk-latest-x86_64.AppImage
else
wget https://download.opensuse.org/repositories/home:/Alexx2000/AppImage/doublecmd-qt-latest-x86_64.AppImage
fi
}
src_install() {
newbin *.AppImage doublecmd-appimage
} |
|
|
Back to top |
|
|
|