mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-misc/dragon: improve ebuild
- bump EAPI - fix LICENSE - add missing DEPENDs - remove `-e` and generic die message from sed Closes: https://bugs.gentoo.org/932189 Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
@@ -1,23 +1,31 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Simple drag-and-drop source/sink for X and Wayland"
|
||||
HOMEPAGE="https://github.com/mwh/dragon"
|
||||
SRC_URI="https://github.com/mwh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=x11-libs/gtk+-3"
|
||||
DEPEND="
|
||||
app-accessibility/at-spi2-core
|
||||
dev-libs/glib
|
||||
media-libs/harfbuzz
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/pango
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e 's/\(`pkg-config --cflags .*`\) \(`pkg-config --libs .*`\)/\1 $(CFLAGS) \2 $(LDFLAGS)/' \
|
||||
-i Makefile || die "sed failed"
|
||||
sed 's/\(`pkg-config --cflags .*`\) \(`pkg-config --libs .*`\)/\1 $(CFLAGS) \2 $(LDFLAGS)/' \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
Reference in New Issue
Block a user