Install this version:
emerge -a =media-gfx/impack-1.4.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-gfx/impack-1.4.3
Or alternatively:
emerge --autounmask-write -a =media-gfx/impack-1.4.3
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib
DESCRIPTION="Store your data in images"
HOMEPAGE="https://sourceforge.net/projects/jm-impack/"
SRC_URI="http://downloads.sourceforge.net/project/jm-impack/ImPack/${PV}/${P}-src.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IMPACK_LINGUAS=( de )
IUSE="aot doc ${IMPACK_LINGUAS[@]/#/l10n_}"
# Needs gtk-sharp:3 from guru overlay
RDEPEND=">=dev-lang/mono-3
dev-dotnet/gtk-sharp:3"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${P}/ImPack"
src_prepare() {
sed -i "/Icon/d" impack.desktop || die # Some desktops don't find the icon if /usr/lib is a symlink
echo "Icon=/usr/$(get_libdir)/impack/ImPack.png" >> impack.desktop
eapply_user
}
src_compile() {
emake
if use aot; then
mono --aot -O=all bin/Release/ImPack.exe || die
fi
}
src_install() {
use l10n_de || rm bin/Release/Locale/deu.xml
emake install PREFIX="${D}/usr"
if use aot; then
insinto "/usr/$(get_libdir)/impack"
doins bin/Release/ImPack.exe.so
fi
rm -rf "${D}/usr/share/man" # Let portage handle manpages/docs
rm -rf "${D}/usr/share/doc"
doman impack.1
dodoc README.txt ChangeLog.txt
use doc && dodoc -r ./Doc/Image_Format
}
src_test() {
cd Testsuite || die
./run_tests.sh mono ../bin/Release/ImPack.exe || die "Tests failed"
}
Manage flags for this package:
euse -i <flag> -p media-gfx/impack |
euse -E <flag> -p media-gfx/impack |
euse -D <flag> -p media-gfx/impack
>=dev-lang/mono-3 dev-dotnet/gtk-sharp:3
>=dev-lang/mono-3 dev-dotnet/gtk-sharp:3
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | impack-1.4.3-src.tar.xz | 72772 bytes | http://downloads.sourceforge.net/project/jm-impack/ImPack/1.4.3/impack-1.4.3-src.tar.xz |