Install this version:
emerge -a =media-gfx/scale2x-3.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-gfx/scale2x-3.2
Or alternatively:
emerge --autounmask-write -a =media-gfx/scale2x-3.2
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Real-time graphics effect able to increase the size of small bitmaps"
HOMEPAGE="http://www.scale2x.it/"
SRC_URI="https://github.com/amadvance/scale2x/releases/download/v${PV}/scale2x-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
DEPEND="media-libs/libpng:0"
RDEPEND="${DEPEND}"
src_configure() {
default
# Remove unneeded dependency during src_test
sed -i "s/| fromdos//g" Makefile || die
}
src_install() {
default
use examples && dodoc -r example
}
Manage flags for this package:
euse -i <flag> -p media-gfx/scale2x |
euse -E <flag> -p media-gfx/scale2x |
euse -D <flag> -p media-gfx/scale2x
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | scale2x-3.2.tar.gz | 240489 bytes | https://github.com/amadvance/scale2x/releases/download/v3.2/scale2x-3.2.tar.gz |