From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/vice/
Date: Mon, 26 Dec 2022 13:33:30 +0000 (UTC) [thread overview]
Message-ID: <1672061534.c3fcffdf3e1a9c54fba9f664c6f11bb194f9986e.ionen@gentoo> (raw)
commit: c3fcffdf3e1a9c54fba9f664c6f11bb194f9986e
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 26 11:07:07 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 13:32:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3fcffdf
app-emulation/vice: add 3.7
ebuild changes:
- drop IUSE=cpuhistory, new upstream default is enabled and just
going with that (no deps, and impact should be minimal)
- drop IUSE=jpeg, upstream removed support
- drop --disable-static QA, not an issue with current portage and
just harmless noise if still using an older one
- replace deprecated atk dep
- adjust for renamed configure options
(may be some oversights given a lot of noise in build system changes).
Upstream disabled catweasel/parsid/ssi2001 by default leaving only
hardsid enabled out of this group. Given rather obscure, left disabled
for now with the exception of parsid enabled with USE=parport. If
someone use/know these and feel may make sense to enable with USE=pci,
parport, or their own USE please file a bug.
wrt bug #834359, unfortunately still broken and upstream instead
added an explicit check:
configure: error: ffmpeg version is not compatible. Use 4.x
So keeping the <ffmpeg-5 dep, albeit it remains not overly important
(could be removed/masked) and is off by default, shouldn't be a worry
if ffmpeg-5 is to be unmasked.
wrt bug #854537, odr issues seem fixed upstream
Bug: https://bugs.gentoo.org/834359
Closes: https://bugs.gentoo.org/854537
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
app-emulation/vice/Manifest | 1 +
app-emulation/vice/vice-3.7.ebuild | 189 +++++++++++++++++++++++++++++++++++++
2 files changed, 190 insertions(+)
diff --git a/app-emulation/vice/Manifest b/app-emulation/vice/Manifest
index ffc8aa7514d5..6f0b856e1933 100644
--- a/app-emulation/vice/Manifest
+++ b/app-emulation/vice/Manifest
@@ -1 +1,2 @@
DIST vice-3.6.1.tar.gz 11454300 BLAKE2B 129171380f3bd23d579dc29a96419446169cf9a98d2fec82951fa192914846053d213a19b395c9ca30596859cce35bcfea0de0c0a7461c45cb38511a546ca4b2 SHA512 9aeb1c84dc71976d12a9907d60c637ec4cc938aad103340b70a13906bbf2bebab579edc78221c7fba47f0750be3f9ded947200b42fcfc8a9169fb4bb9f288cb7
+DIST vice-3.7.tar.gz 13442624 BLAKE2B 1723db7370e4fbc84148edc6b29f8ad08b153272a8306083add2e412659d7c2178e03372cffde4a3674368b8c4ed6ffd43e37bda158ec97969b400a351e47f7b SHA512 d86157880925070198b482292fa93a98280932824f723df2e62e2b7f7c54f924047bad46d18340ed6e0ce9fc9a786a6cc88f6a1e8433046ab9dec8a638c26b13
diff --git a/app-emulation/vice/vice-3.7.ebuild b/app-emulation/vice/vice-3.7.ebuild
new file mode 100644
index 000000000000..f091da7b7b74
--- /dev/null
+++ b/app-emulation/vice/vice-3.7.ebuild
@@ -0,0 +1,189 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multibuild toolchain-funcs xdg
+
+DESCRIPTION="Versatile Commodore Emulator"
+HOMEPAGE="https://vice-emu.sourceforge.io/"
+SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="
+ alsa debug doc ethernet ffmpeg flac gif +gtk headless lame mpg123
+ ogg openmp oss parport pci png portaudio pulseaudio sdl zlib"
+REQUIRED_USE="
+ || ( gtk headless sdl )
+ gtk? ( zlib )"
+
+# ffmpeg/lame are loaded by dlopen(), keeping := to rebuild with same headers
+# (see bug #834359 for the ffmpeg upper bound)
+RDEPEND="
+ virtual/libintl
+ alsa? ( media-libs/alsa-lib )
+ ethernet? (
+ net-libs/libpcap
+ sys-libs/libcap
+ )
+ ffmpeg? ( <media-video/ffmpeg-5:= )
+ flac? ( media-libs/flac:= )
+ gif? ( media-libs/giflib:= )
+ gtk? (
+ >=app-accessibility/at-spi2-core-2.46:2
+ dev-libs/glib:2
+ media-libs/fontconfig:1.0
+ media-libs/glew:0=
+ sys-libs/readline:=
+ virtual/opengl
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/pango
+ )
+ lame? ( media-sound/lame )
+ mpg123? ( media-sound/mpg123 )
+ ogg? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ parport? ( sys-libs/libieee1284 )
+ pci? ( sys-apps/pciutils )
+ png? ( media-libs/libpng:= )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( || ( media-libs/libpulse media-sound/pulseaudio ) )
+ sdl? (
+ media-libs/libsdl2[video]
+ media-libs/sdl2-image
+ sys-libs/readline:=
+ )
+ zlib? ( sys-libs/zlib:= )"
+DEPEND="
+ ${RDEPEND}
+ x11-base/xorg-proto"
+BDEPEND="
+ app-arch/unzip
+ app-text/dos2unix
+ dev-embedded/xa
+ dev-lang/perl
+ sys-apps/texinfo
+ sys-devel/flex
+ sys-devel/gettext
+ virtual/pkgconfig
+ app-alternatives/yacc
+ doc? ( virtual/texi2dvi )
+ gtk? ( x11-misc/xdg-utils )"
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+ default
+
+ # Strip the predefined C(XX)FLAGS.
+ sed -i -r 's:(VICE_C(XX)?FLAGS=)"[^$]+":\1:' configure || die
+
+ MULTIBUILD_VARIANTS=(
+ $(usev gtk)
+ $(usev headless)
+ $(usev sdl)
+ )
+
+ # Debug build currently broken without copy sources.
+ multibuild_copy_sources
+}
+
+src_configure() {
+ tc-export AR
+
+ multibuild_foreach_variant run_in_build_dir multibuild_src_configure
+}
+
+multibuild_src_configure() {
+ # Append ".variant" to x* programs if building multiple variants.
+ local xform
+ (( ${#MULTIBUILD_VARIANTS[@]} > 1 )) &&
+ xform="/^x/s/\$/.${MULTIBUILD_VARIANT}/"
+
+ vice-multi_enable() {
+ if [[ ${MULTIBUILD_VARIANT} == ${1} ]]; then
+ echo --enable-${2}
+ else
+ echo --disable-${2}
+ fi
+ }
+
+ local econfargs=(
+ --program-transform-name="${xform}"
+ $(vice-multi_enable gtk desktop-files)
+ $(vice-multi_enable gtk gtk3ui)
+ $(vice-multi_enable headless headlessui)
+ $(vice-multi_enable sdl sdl2ui)
+ $(usex debug $(vice-multi_enable gtk debug-gtk3ui) --disable-debug-gtk3ui)
+ $(use_enable debug)
+ $(use_enable doc pdf-docs)
+ $(use_enable ethernet)
+ $(use_enable ffmpeg)
+ $(use_enable lame)
+ $(use_enable openmp)
+ $(use_enable parport libieee1284)
+ $(use_enable parport parsid)
+ $(use_enable portaudio)
+ $(use_with alsa)
+ $(use_with flac)
+ $(use_with gif)
+ $(use_with mpg123)
+ $(use_with ogg vorbis)
+ $(use_with oss)
+ $(use_with png)
+ $(use_with pulseaudio pulse)
+ $(use_with zlib)
+ $(usex alsa --enable-midi $(use_enable oss midi))
+ $(usev !pci ac_cv_header_pci_pci_h=no)
+ --disable-arch
+ --disable-sdl1ui
+ ac_cv_lib_ungif_EGifPutLine=no # ensure use giflib, not ungif
+
+ # $(use_with curl libcurl) # new in 3.6 but is a unused placeholder
+ # --enable-io-simulation # likewise
+ )
+
+ econf "${econfargs[@]}"
+}
+
+src_compile() {
+ multibuild_foreach_variant run_in_build_dir emake
+}
+
+src_install() {
+ # Get xdg-desktop-menu to play nicely while doing the install.
+ dodir /etc/xdg/menus /usr/share/{applications,desktop-directories}
+
+ XDG_UTILS_INSTALL_MODE=system \
+ XDG_DATA_DIRS="${ED}"/usr/share \
+ XDG_CONFIG_DIRS="${ED}"/etc/xdg \
+ multibuild_foreach_variant run_in_build_dir default
+
+ rm -f "${ED}"/usr/share/applications/*.cache || die
+
+ vice-install_extras() {
+ docinto html
+ dodoc doc/html/*.{html,css}
+ dodoc -r doc/html/images
+
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins doc/vim/ftdetect/*.vim
+
+ insinto /usr/share/vim/vimfiles/syntax
+ doins doc/vim/syntax/*.vim
+ }
+ multibuild_for_best_variant run_in_build_dir vice-install_extras
+}
next reply other threads:[~2022-12-26 13:33 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-26 13:33 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-08 17:47 [gentoo-commits] repo/gentoo:master commit in: app-emulation/vice/ Ionen Wolkens
2024-01-28 20:00 Arthur Zamarin
2024-01-23 16:40 Sam James
2024-01-05 10:25 Ionen Wolkens
2023-12-26 14:39 Ionen Wolkens
2023-06-11 10:44 Andreas Sturmlechner
2023-01-30 19:11 Ionen Wolkens
2023-01-26 15:13 Ionen Wolkens
2022-12-29 20:29 Ionen Wolkens
2022-12-28 12:17 Ionen Wolkens
2022-10-29 19:43 Sam James
2022-07-29 17:52 Arthur Zamarin
2022-07-26 1:39 Ionen Wolkens
2022-02-28 11:28 Ionen Wolkens
2022-02-05 23:39 Ionen Wolkens
2022-02-03 11:31 Ionen Wolkens
2022-01-26 3:32 Ionen Wolkens
2022-01-26 1:09 Ionen Wolkens
2021-12-26 23:40 Ionen Wolkens
2021-10-11 18:21 Ionen Wolkens
2021-10-03 11:19 Ionen Wolkens
2021-06-22 5:43 Ionen Wolkens
2021-01-09 3:09 Sam James
2021-01-07 16:28 James Le Cuirot
2021-01-07 11:33 Sam James
2021-01-07 5:09 Sam James
2021-01-07 0:58 Sam James
2020-09-26 17:33 James Le Cuirot
2020-09-18 20:44 James Le Cuirot
2020-06-14 19:42 James Le Cuirot
2020-04-25 17:30 Mikle Kolyada
2020-04-14 12:32 Agostino Sarubbo
2020-04-08 10:57 Agostino Sarubbo
2020-02-22 22:21 David Seifert
2020-02-22 22:10 James Le Cuirot
2018-11-29 22:04 Andreas Sturmlechner
2018-03-28 18:36 Pacho Ramos
2018-01-21 10:20 David Seifert
2017-12-10 9:27 Ulrich Müller
2017-01-26 22:48 David Seifert
2017-01-19 1:11 Austin English
2016-10-14 17:49 Austin English
2016-10-14 17:49 Austin English
2016-07-01 18:41 Austin English
2015-12-29 7:41 Michael Sterrett
2015-12-14 14:12 Agostino Sarubbo
2015-11-12 6:51 Michael Sterrett
2015-09-22 8:57 Agostino Sarubbo
2015-09-19 13:30 Agostino Sarubbo
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=1672061534.c3fcffdf3e1a9c54fba9f664c6f11bb194f9986e.ionen@gentoo \
--to=ionen@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