editors/gnome-text-editor: fix dependencies

src/editorconfig/libeditorconfig/meson.build:9:0: ERROR: Dependency "libpcre" not found, tried pkgconfig

====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/gnome-text-editor is linked to /usr/local/lib/libcairo.so.2 from graphics/cairo but it is not declared as a dependency
Warning: you need USE_GNOME+=cairo
Error: /usr/local/bin/gnome-text-editor is linked to /usr/local/lib/libpcre.so.1 from devel/pcre but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libpcre.so:devel/pcre

PR:		266466
Reported by:	antoine (via exp-run)
Regressed by:	https://gitlab.gnome.org/GNOME/glib/-/commit/8d5a44dc8f36
This commit is contained in:
Jan Beich 2022-09-26 20:38:51 +00:00
parent cb133a9a47
commit 1695f3b035

View File

@ -1,5 +1,6 @@
PORTNAME= gnome-text-editor
PORTVERSION= 42.2
PORTREVISION= 1
CATEGORIES= editors gnome
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR= gnome
@ -14,12 +15,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= itstool>0:textproc/itstool
LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \
libicudata.so:devel/icu \
libpcre2-8.so:devel/pcre2
libpcre.so:devel/pcre
USES= compiler:c11 desktop-file-utils gettext gnome localbase meson \
pkgconfig tar:xz
USE_CSTD= c11
USE_GNOME= gtk40 gtksourceview5 libadwaita
USE_GNOME= cairo gtk40 gtksourceview5 libadwaita
GLIB_SCHEMAS= org.gnome.TextEditor.gschema.xml
PORTSCOUT= limitw:1,even