mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
media-gfx/scrot: minor license and dependency fixes
* drop "LGPL-2+" licencse. this was due to a GNU getopt implementation that scrot used to use. but those files have been dropped from upstream for quite some time now [0] * drop libbsd from deps. v1.9 doesn't need libbsd on glibc, on musl `sys/queue.h` is being provided via `sys-libs/queue-standalone`. * require imlib2 to be built with png support. otherwise, many basic commands would break as scrot defaults to PNG. [0]: https://github.com/resurrecting-open-source-projects/scrot/commit/92869db668d345a694289b1f80ba83b89694cf07 Signed-off-by: NRK <nrk@disroot.org> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -15,24 +15,21 @@ else
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv sparc x86"
|
||||
fi
|
||||
|
||||
LICENSE="feh LGPL-2+"
|
||||
LICENSE="feh"
|
||||
SLOT="0"
|
||||
|
||||
# imlib2[X] needed for imlib_create_image_from_drawable, bug #835582
|
||||
# imlib2[png] not technically requried, but it's the default format used by
|
||||
# scrot, so unconditionally depend on it to avoid breaking basic commands which
|
||||
# don't specify an output format.
|
||||
RDEPEND="
|
||||
dev-libs/libbsd
|
||||
media-libs/imlib2[X,filters(+),text(+)]
|
||||
x11-libs/libXext
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXinerama
|
||||
|| (
|
||||
media-libs/imlib2[gif]
|
||||
media-libs/imlib2[jpeg]
|
||||
media-libs/imlib2[png]
|
||||
media-libs/imlib2[tiff]
|
||||
)
|
||||
media-libs/imlib2[png]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
|
||||
@@ -15,24 +15,21 @@ else
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="feh LGPL-2+"
|
||||
LICENSE="feh"
|
||||
SLOT="0"
|
||||
|
||||
# imlib2[X] needed for imlib_create_image_from_drawable, bug #835582
|
||||
# imlib2[png] not technically requried, but it's the default format used by
|
||||
# scrot, so unconditionally depend on it to avoid breaking basic commands which
|
||||
# don't specify an output format.
|
||||
RDEPEND="
|
||||
dev-libs/libbsd
|
||||
media-libs/imlib2[X,filters(+),text(+)]
|
||||
x11-libs/libXext
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXinerama
|
||||
|| (
|
||||
media-libs/imlib2[gif]
|
||||
media-libs/imlib2[jpeg]
|
||||
media-libs/imlib2[png]
|
||||
media-libs/imlib2[tiff]
|
||||
)
|
||||
media-libs/imlib2[png]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
|
||||
Reference in New Issue
Block a user