From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/spice/
Date: Sat, 14 Mar 2020 21:44:13 +0000 (UTC) [thread overview]
Message-ID: <1584222243.72a46ec2c5a13914c09afa2571b7f00bfe41a63a.tamiko@gentoo> (raw)
commit: 72a46ec2c5a13914c09afa2571b7f00bfe41a63a
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 14 21:34:44 2020 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Mar 14 21:44:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a46ec2
app-emulation/spice: port live ebuild to meson
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
app-emulation/spice/spice-9999.ebuild | 56 ++++++++++++++---------------------
1 file changed, 22 insertions(+), 34 deletions(-)
diff --git a/app-emulation/spice/spice-9999.ebuild b/app-emulation/spice/spice-9999.ebuild
index 87b4771fb04..6390d08a37a 100644
--- a/app-emulation/spice/spice-9999.ebuild
+++ b/app-emulation/spice/spice-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python{3_6,3_7} )
-inherit autotools eutils git-r3 python-any-r1 readme.gentoo-r1 xdg-utils
+inherit eutils git-r3 meson python-any-r1 readme.gentoo-r1 xdg-utils
DESCRIPTION="SPICE server"
HOMEPAGE="https://www.spice-space.org/"
@@ -14,21 +14,21 @@ EGIT_REPO_URI="https://anongit.freedesktop.org/git/spice/spice.git"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
-IUSE="libressl lz4 sasl smartcard static-libs gstreamer"
+IUSE="libressl lz4 sasl smartcard gstreamer"
# the libspice-server only uses the headers of libcacard
RDEPEND="
- dev-lang/orc[static-libs(+)?]
- >=dev-libs/glib-2.22:2[static-libs(+)?]
- media-libs/opus[static-libs(+)?]
- sys-libs/zlib[static-libs(+)?]
- virtual/jpeg:0=[static-libs(+)?]
- >=x11-libs/pixman-0.17.7[static-libs(+)?]
- !libressl? ( dev-libs/openssl:0=[static-libs(+)?] )
- libressl? ( dev-libs/libressl:0=[static-libs(+)?] )
- lz4? ( app-arch/lz4:0=[static-libs(+)?] )
+ dev-lang/orc
+ >=dev-libs/glib-2.22:2
+ media-libs/opus
+ sys-libs/zlib
+ virtual/jpeg:0=
+ >=x11-libs/pixman-0.17.7
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ lz4? ( app-arch/lz4:0= )
smartcard? ( >=app-emulation/libcacard-0.1.2 )
- sasl? ( dev-libs/cyrus-sasl[static-libs(+)?] )
+ sasl? ( dev-libs/cyrus-sasl )
gstreamer? (
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
@@ -52,16 +52,6 @@ pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && python-any-r1_pkg_setup
}
-src_prepare() {
- default
-
- # Delete repo-only Makefile that causes build to fail.
- # https://gitlab.freedesktop.org/spice/spice/issues/35
- rm GNUmakefile || die
-
- eautoreconf
-}
-
src_configure() {
# Prevent sandbox violations, bug #586560
# https://bugzilla.gnome.org/show_bug.cgi?id=744134
@@ -70,15 +60,14 @@ src_configure() {
xdg_environment_reset
- local myconf="
- $(use_enable static-libs static)
- $(use_enable lz4)
- $(use_with sasl)
- $(use_enable smartcard)
- --enable-gstreamer=$(usex gstreamer "1.0" "no")
- --disable-celt051
- "
- econf ${myconf}
+ local emesonargs=(
+ $(meson_use lz4)
+ $(meson_use sasl)
+ $(meson_feature smartcard)
+ -Dgstreamer=$(usex gstreamer "1.0" "no")
+ -Dcelt051=disabled
+ )
+ meson_src_configure
}
src_compile() {
@@ -87,12 +76,11 @@ src_compile() {
# https://bugzilla.gnome.org/show_bug.cgi?id=744135
addpredict /dev
- default
+ meson_src_compile
}
src_install() {
- default
- use static-libs || find "${D}" -name '*.la' -type f -delete || die
+ meson_src_install
readme.gentoo_create_doc
}
next reply other threads:[~2020-03-14 21:44 UTC|newest]
Thread overview: 98+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-14 21:44 Matthias Maier [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-21 8:29 [gentoo-commits] repo/gentoo:master commit in: app-emulation/spice/ Sam James
2025-06-21 8:29 Sam James
2024-10-21 10:03 Sam James
2024-04-24 6:10 Joonas Niilola
2023-07-11 8:43 Jakov Smolić
2023-07-08 3:39 Sam James
2023-07-07 10:14 Sam James
2023-07-07 4:40 Sam James
2023-05-28 7:28 Joonas Niilola
2023-05-16 4:12 Sam James
2023-05-14 8:48 Sam James
2023-05-10 0:29 Sam James
2023-05-10 0:29 Sam James
2023-03-16 14:04 Arthur Zamarin
2023-03-04 8:56 Joonas Niilola
2023-03-04 6:08 Arthur Zamarin
2023-02-16 17:13 Michał Górny
2022-12-18 3:20 John Helmert III
2022-12-18 2:35 John Helmert III
2022-06-08 8:45 Agostino Sarubbo
2022-06-07 8:20 Joonas Niilola
2022-06-07 8:20 Joonas Niilola
2022-06-07 7:07 Jakov Smolić
2022-06-07 5:54 Sam James
2022-05-19 12:19 WANG Xuerui
2022-01-23 8:05 Yixun Lan
2022-01-05 16:10 Mart Raudsepp
2022-01-03 0:11 Georgy Yakovlev
2021-12-27 17:09 Mart Raudsepp
2021-07-24 18:59 John Helmert III
2021-05-18 20:40 Ulrich Müller
2021-05-18 20:05 Ulrich Müller
2021-05-18 17:16 Sam James
2021-04-30 19:04 Mikle Kolyada
2021-04-10 4:24 Sam James
2021-04-09 22:24 Sam James
2021-04-09 22:20 Sam James
2021-04-07 12:53 Ben Kohler
2021-04-06 19:49 Sam James
2021-04-04 22:17 Matthias Maier
2021-04-04 18:54 Matthias Maier
2020-11-07 3:49 Georgy Yakovlev
2020-08-19 22:40 Sam James
2020-06-08 2:41 Georgy Yakovlev
2020-05-15 19:38 Andreas Sturmlechner
2020-03-27 9:30 James Le Cuirot
2020-03-15 18:41 Agostino Sarubbo
2020-03-15 18:26 Agostino Sarubbo
2020-03-14 20:54 Matthias Maier
2019-09-22 2:29 Matthias Maier
2019-09-22 2:29 Matthias Maier
2019-07-28 19:39 Matthias Maier
2019-07-28 19:39 Matthias Maier
2019-07-28 19:39 Matthias Maier
2018-12-03 2:43 Jonathan Callen
2018-08-20 0:41 Matthias Maier
2018-08-18 23:16 Mikle Kolyada
2018-03-29 15:19 Thomas Deutschmann
2018-03-19 19:50 Agostino Sarubbo
2018-03-19 15:41 Matthias Maier
2018-03-19 15:41 Matthias Maier
2018-01-20 14:58 Aaron Bauman
2017-09-07 7:12 Yixun Lan
2017-08-18 21:02 Thomas Deutschmann
2017-08-17 17:06 Michał Górny
2017-07-15 9:57 Tobias Klausmann
2017-05-13 23:21 Matthias Maier
2017-05-13 22:55 Matthias Maier
2017-05-13 22:55 Matthias Maier
2017-05-11 8:37 Agostino Sarubbo
2017-05-11 7:51 Agostino Sarubbo
2017-05-11 5:07 Matthias Maier
2017-04-21 17:36 Pacho Ramos
2016-11-23 10:04 Yixun Lan
2016-10-26 21:36 Patrice Clement
2016-09-10 13:58 Matthias Maier
2016-08-17 10:04 Patrick Lauer
2016-08-17 6:37 Yixun Lan
2016-08-08 4:53 Matthias Maier
2016-06-15 16:37 Matthias Maier
2016-06-15 7:18 Agostino Sarubbo
2016-06-14 19:02 Matthias Maier
2016-06-14 10:19 Agostino Sarubbo
2016-06-14 5:46 Matthias Maier
2016-06-14 4:14 Matthias Maier
2016-05-01 20:09 Matthias Maier
2016-05-01 20:09 Matthias Maier
2016-05-01 20:09 Matthias Maier
2016-05-01 20:09 Matthias Maier
2016-03-02 2:58 Doug Goldstein
2016-02-02 17:00 Manuel Rüger
2015-11-18 20:54 Matthias Maier
2015-11-18 8:57 Agostino Sarubbo
2015-11-17 13:25 Patrice Clement
2015-11-17 13:25 Patrice Clement
2015-11-16 16:53 Agostino Sarubbo
2015-11-15 7:46 Matthias Maier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1584222243.72a46ec2c5a13914c09afa2571b7f00bfe41a63a.tamiko@gentoo \
--to=tamiko@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox