Github messages for voidlinux
 help / color / mirror / Atom feed
From: ypsvlq <ypsvlq@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] vice: update to 3.6.1.
Date: Fri, 10 Jun 2022 10:54:30 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37480@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]

There is a new pull request by ypsvlq against master on the void-packages repository

https://github.com/ypsvlq/void-packages vice
https://github.com/void-linux/void-packages/pull/37480

vice: update to 3.6.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/37480.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vice-37480.patch --]
[-- Type: text/x-diff, Size: 3297 bytes --]

From d88f53b21188e1378d61ecf2a40f5c9eed970883 Mon Sep 17 00:00:00 2001
From: Elaine Gibson <ypsvlq@gmail.com>
Date: Fri, 10 Jun 2022 09:53:21 +0100
Subject: [PATCH] vice: update to 3.6.1.

---
 srcpkgs/vice/files/desktop-install.sh |  3 ++
 srcpkgs/vice/template                 | 54 +++++++--------------------
 2 files changed, 16 insertions(+), 41 deletions(-)
 create mode 100755 srcpkgs/vice/files/desktop-install.sh

diff --git a/srcpkgs/vice/files/desktop-install.sh b/srcpkgs/vice/files/desktop-install.sh
new file mode 100755
index 000000000000..823c4f50569a
--- /dev/null
+++ b/srcpkgs/vice/files/desktop-install.sh
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+dir=$DESTDIR/usr/share/applications/
+[ "$1" = install ] && mkdir -p $dir && shift && for f; do cp $f $dir; done
diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 0924767cfcfb..eab0f976095d 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -1,57 +1,29 @@
 # Template file for 'vice'
 pkgname=vice
-version=3.5
+version=3.6.1
 revision=1
 build_style=gnu-configure
-configure_args="
-	$(vopt_enable sdl2 sdlui2)
-	$(vopt_with sdl2 sdlsound)
-	$(vopt_enable gtk3 gnomeui3)
-	$(vopt_with gtk3 pulse)
-	$(vopt_enable ffmpeg  external-ffmpeg)
-	--disable-option-checking
-	--enable-cpuhistory
-	--enable-x64
-	--disable-pdf-docs
-	AR=${AR}"
-hostmakedepends="bdftopcf flex mkfontdir perl pkg-config xa
- glib-devel autoconf texinfo automake dos2unix"
-makedepends="
-	zlib-devel
-	readline-devel
-	libpng-devel
-	giflib-devel
-	glew-devel
-	alsa-lib-devel
-	$(vopt_if sdl2 SDL2_mixer-devel)
-	$(vopt_if sdl2 SDL2-devel)
-	$(vopt_if gtk3 gtk+3-devel)
-	$(vopt_if gtk3 pulseaudio-devel)
-	$(vopt_if gtk3 pango-devel)
-	$(vopt_if ffmpeg ffmpeg-devel)"
+configure_args="XDG_DESKTOP_MENU=${FILESDIR}/desktop-install.sh
+ --libdir=/usr/lib$XBPS_TARGET_WORDSIZE
+ --enable-cpuhistory --enable-x64 --disable-pdf-docs
+ $(vopt_enable sdl2 sdlui2) $(vopt_with sdl2 sdlsound)
+ $(vopt_enable gtk3 native-gtk3ui) $(vopt_enable gtk3 desktop-files)
+ $(vopt_with gtk3 pulse) $(vopt_enable ffmpeg external-ffmpeg)"
+hostmakedepends="pkgconf flex dos2unix xa perl glib-devel"
+makedepends="zlib-devel readline-devel libpng-devel glew-devel alsa-lib-devel
+ $(vopt_if sdl2 SDL2-devel) $(vopt_if sdl2 SDL2_mixer-devel)
+ $(vopt_if gtk3 gtk+3-devel) $(vopt_if gtk3 pulseaudio-devel)
+ $(vopt_if gtk3 pango-devel) $(vopt_if ffmpeg ffmpeg-devel)"
 short_desc="Emulator for C64, C128, CBM-II, PET, VIC20, Plus4 and C16"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://vice-emu.sourceforge.net/"
 changelog="https://vice-emu.sourceforge.io/NEWS"
 distfiles="${SOURCEFORGE_SITE}/vice-emu/releases/vice-${version}.tar.gz"
-checksum=56b978faaeb8b2896032bd604d03c3501002187eef1ca58ceced40f11a65dc0e
+checksum=20df84c851aaf2f5000510927f6d31b32f269916d351465c366dc0afc9dc150c
 
 # Package build options
 build_options="sdl2 gtk3 ffmpeg"
 build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
-
-CFLAGS="-fcommon"
-
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-nls";;
-esac
-
-pre_configure() {
-	# __u_char is not portable...
-	sed -i 's,__u_char,unsigned char,g' src/*.[ch]
-	sed -i 's/lib64/lib/g' configure.ac
-	autoreconf -fi
-}

             reply	other threads:[~2022-06-10  8:54 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10  8:54 ypsvlq [this message]
2022-06-10 16:02 ` [PR REVIEW] " paper42
2022-06-10 16:02 ` paper42
2022-06-10 16:02 ` paper42
2022-06-10 17:10 ` ypsvlq
2022-06-10 17:20 ` [PR PATCH] [Updated] " ypsvlq
2022-09-09  2:15 ` github-actions
2022-09-10  7:27 ` ypsvlq
2022-09-10 10:22 ` [PR REVIEW] " paper42
2022-09-10 10:22 ` paper42
2022-09-10 10:22 ` paper42
2022-09-11 17:16 ` ypsvlq
2022-09-11 17:20 ` ypsvlq
2022-09-11 17:46 ` [PR PATCH] [Updated] " ypsvlq
2022-09-11 17:46 ` [PR REVIEW] " ypsvlq
2022-12-11  2:03 ` github-actions
2022-12-11  2:47 ` ypsvlq
2023-03-12  2:02 ` github-actions
2023-03-12  8:18 ` ypsvlq
2023-04-07 21:37 ` [PR REVIEW] " zlice
2023-06-24 18:59 ` classabbyamp
2023-06-24 18:59 ` classabbyamp
2023-06-24 19:36 ` [PR PATCH] [Updated] " ypsvlq
2023-06-24 19:46 ` ypsvlq
2023-06-24 19:57 ` [PR PATCH] [Updated] vice: update to 3.7.1 ypsvlq
2023-06-24 20:01 ` ypsvlq
2023-06-24 20:16 ` [PR PATCH] [Merged]: " classabbyamp

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37480@inbox.vuxu.org \
    --to=ypsvlq@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).