xorg-3.eclass: Add media-fonts/ to a couple cases
authorMatt Turner <mattst88@gentoo.org>
Mon, 26 Aug 2019 00:10:47 +0000 (17:10 -0700)
committerMatt Turner <mattst88@gentoo.org>
Mon, 26 Aug 2019 00:15:42 +0000 (17:15 -0700)
media-fonts/font-util doesn't require all of the extra logic xorg-2
contains for fonts. Adding these two lines are needed for new font-util
to use xorg-3.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
eclass/xorg-3.eclass

index 217aadecb3b360dd9c45d3b209754c2621b6a550..b8dca22726d14154619e2ae7a0f2e6917429118d 100644 (file)
@@ -72,6 +72,7 @@ IUSE=""
 if [[ ${XORG_MODULE} == auto ]]; then
        case ${CATEGORY} in
                app-doc)             XORG_MODULE=doc/     ;;
+               media-fonts)         XORG_MODULE=font/    ;;
                x11-apps|x11-wm)     XORG_MODULE=app/     ;;
                x11-misc|x11-themes) XORG_MODULE=util/    ;;
                x11-base)            XORG_MODULE=xserver/ ;;
@@ -140,6 +141,7 @@ if [[ ${XORG_STATIC} == yes \
                && ${CATEGORY} != app-doc \
                && ${CATEGORY} != x11-apps \
                && ${CATEGORY} != x11-drivers \
+               && ${CATEGORY} != media-fonts \
                && ${PN} != util-macros \
                && ${PN} != xbitmaps \
                && ${PN} != xorg-cf-files \