Skip to content

Commit

Permalink
gui-libs/libdecor: Add multilib support
Browse files Browse the repository at this point in the history
Needed by x11-apps/mesa-progs.

Bug: https://bugs.gentoo.org/894156
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed Apr 18, 2024
1 parent 8158197 commit ee10f04
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

inherit meson
inherit meson-multilib

DESCRIPTION="A client-side decorations library for Wayland clients"
HOMEPAGE="https://gitlab.freedesktop.org/libdecor/libdecor"
Expand All @@ -19,11 +19,11 @@ SLOT="0"
IUSE="+dbus +gtk examples"

RDEPEND="
>=dev-libs/wayland-1.18
x11-libs/pango
x11-libs/cairo
dbus? ( sys-apps/dbus )
gtk? ( x11-libs/gtk+:3 )
>=dev-libs/wayland-1.18[${MULTILIB_USEDEP}]
x11-libs/pango[${MULTILIB_USEDEP}]
x11-libs/cairo[${MULTILIB_USEDEP}]
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
gtk? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] )
examples? (
media-libs/libglvnd
x11-libs/libxkbcommon
Expand All @@ -40,13 +40,13 @@ BDEPEND="
virtual/pkgconfig
"

src_configure() {
multilib_src_configure() {
local emesonargs=(
# Avoid auto-magic, built-in feature of meson
-Dauto_features=disabled
$(meson_feature gtk)
$(meson_feature dbus)
$(meson_use examples demo)
$(meson_native_use_bool examples demo)
-Dinstall_demo=true
)

Expand Down
16 changes: 8 additions & 8 deletions gui-libs/libdecor/libdecor-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

inherit meson
inherit meson-multilib

DESCRIPTION="A client-side decorations library for Wayland clients"
HOMEPAGE="https://gitlab.freedesktop.org/libdecor/libdecor"
Expand All @@ -19,11 +19,11 @@ SLOT="0"
IUSE="+dbus +gtk examples"

RDEPEND="
>=dev-libs/wayland-1.18
x11-libs/pango
x11-libs/cairo
dbus? ( sys-apps/dbus )
gtk? ( x11-libs/gtk+:3 )
>=dev-libs/wayland-1.18[${MULTILIB_USEDEP}]
x11-libs/pango[${MULTILIB_USEDEP}]
x11-libs/cairo[${MULTILIB_USEDEP}]
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
gtk? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] )
examples? (
media-libs/libglvnd
x11-libs/libxkbcommon
Expand All @@ -40,13 +40,13 @@ BDEPEND="
virtual/pkgconfig
"

src_configure() {
multilib_src_configure() {
local emesonargs=(
# Avoid auto-magic, built-in feature of meson
-Dauto_features=disabled
$(meson_feature gtk)
$(meson_feature dbus)
$(meson_use examples demo)
$(meson_native_use_bool examples demo)
-Dinstall_demo=true
)

Expand Down

0 comments on commit ee10f04

Please sign in to comment.