[arch-commits] Commit in renpy/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Apr 25 16:16:58 UTC 2020
Date: Saturday, April 25, 2020 @ 16:16:58
Author: foutrelis
Revision: 620942
archrelease: copy trunk to community-staging-x86_64
Added:
renpy/repos/community-staging-x86_64/
renpy/repos/community-staging-x86_64/PKGBUILD
(from rev 620940, renpy/trunk/PKGBUILD)
renpy/repos/community-staging-x86_64/renpy
(from rev 620940, renpy/trunk/renpy)
renpy/repos/community-staging-x86_64/renpy-system-fribidi.patch
(from rev 620941, renpy/trunk/renpy-system-fribidi.patch)
renpy/repos/community-staging-x86_64/renpy.desktop
(from rev 620941, renpy/trunk/renpy.desktop)
renpy/repos/community-staging-x86_64/renpy.png
(from rev 620941, renpy/trunk/renpy.png)
----------------------------+
PKGBUILD | 89 +++++++++++++++++++++++++++++++++++++++++++
renpy | 5 ++
renpy-system-fribidi.patch | 48 +++++++++++++++++++++++
renpy.desktop | 9 ++++
4 files changed, 151 insertions(+)
Copied: renpy/repos/community-staging-x86_64/PKGBUILD (from rev 620940, renpy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-25 16:16:58 UTC (rev 620942)
@@ -0,0 +1,89 @@
+# $Id: PKGBUILD 371260 2018-08-13 09:13:06Z alucryd $
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Cravix <dr.neemous at gmail.com>
+# Contributor: AlexanderR <rvacheva at nxt.ru>
+# Contributor: zhn <zhangn1985 at gmail.com>
+
+pkgbase=renpy
+pkgname=(
+ renpy
+ renpy-demos
+)
+pkgver=7.3.5
+pkgrel=2
+pkgdesc="The Ren'Py Visual Novel Engine"
+arch=(x86_64)
+url=https://www.renpy.org
+license=(MIT)
+depends=(
+ ffmpeg
+ glew
+ python2-pygame-sdl2
+)
+makedepends=(cython2)
+optdepends=('atom: Default editor')
+source=(
+ https://www.renpy.org/dl/${pkgver}/renpy-${pkgver}-source.tar.bz2
+ renpy
+ renpy.desktop
+ renpy.png
+ renpy-system-fribidi.patch
+)
+sha256sums=('84d7f46b54b9204bf472cd533201380ff2c8669b7967b2c98c4bafbd1c2bd9aa'
+ 'e10630ec0b5d0e479f20b15a4f5ceec8e6992dd8cbc7d3cd5c487da380858a28'
+ 'fccde3461617a098a78d938d9db782d403eda410a84ab52825a597498ab95834'
+ '611edc07a40ccb8e04e8858847fc1d2a066d29c2ed54e5b357880a0605818dc5'
+ 'c82d57331b8146ac3f76579f95e7cdca559f84919f96b35e9b19c25a5e2128b5')
+
+prepare() {
+ cd renpy-${pkgver}-source
+
+ sed 's/python/python2/' -i atom/Atom.edit.py launcher/game/tkaskdir.py
+
+ patch -Np1 -i ../renpy-system-fribidi.patch
+}
+
+build() {
+ cd renpy-${pkgver}-source
+
+ export RENPY_CYTHON=cython2
+
+ python2 module/setup.py build
+}
+
+package_renpy() {
+ optdepends=(
+ 'renpy-demos: Tutorial and The Question demos'
+ 'tk: Set projects directory'
+ )
+
+ cd renpy-${pkgver}-source
+
+ python2 module/setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1 --skip-build
+
+ install -dm 755 "${pkgdir}"/usr/share/{renpy,doc}
+
+ cp -dr --no-preserve=ownership atom doc gui launcher renpy renpy.py "${pkgdir}"/usr/share/renpy/
+ ln -s /usr/share/renpy/doc "${pkgdir}"/usr/share/doc/renpy
+
+ install -Dm 755 ../renpy -t "${pkgdir}"/usr/bin/
+ install -Dm 644 ../renpy.desktop -t "${pkgdir}"/usr/share/applications/
+ install -Dm 644 ../renpy.png -t "${pkgdir}"/usr/share/pixmaps/
+
+ install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/renpy/
+}
+
+package_renpy-demos() {
+ depends=(renpy)
+
+ cd renpy-${pkgver}-source
+
+ install -dm 755 "${pkgdir}"/usr/share/renpy
+
+ cp -dr --no-preserve=ownership the_question tutorial "${pkgdir}"/usr/share/renpy/
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses
+ ln -s renpy "${pkgdir}"/usr/share/licenses/renpy-demos
+}
+
+# vim: ts=2 sw=2 et:
Copied: renpy/repos/community-staging-x86_64/renpy (from rev 620940, renpy/trunk/renpy)
===================================================================
--- community-staging-x86_64/renpy (rev 0)
+++ community-staging-x86_64/renpy 2020-04-25 16:16:58 UTC (rev 620942)
@@ -0,0 +1,5 @@
+#!/usr/bin/sh
+
+export RENPY_ATOM='atom'
+exec python2 /usr/share/renpy/renpy.py "$@"
+
Copied: renpy/repos/community-staging-x86_64/renpy-system-fribidi.patch (from rev 620941, renpy/trunk/renpy-system-fribidi.patch)
===================================================================
--- community-staging-x86_64/renpy-system-fribidi.patch (rev 0)
+++ community-staging-x86_64/renpy-system-fribidi.patch 2020-04-25 16:16:58 UTC (rev 620942)
@@ -0,0 +1,48 @@
+diff -rupN renpy-7.1.0-source.old/module/renpybidicore.c renpy-7.1.0-source/module/renpybidicore.c
+--- renpy-7.1.0-source.old/module/renpybidicore.c 2018-09-13 14:10:03.102145102 +0200
++++ renpy-7.1.0-source/module/renpybidicore.c 2018-09-13 14:11:07.782646087 +0200
+@@ -1,5 +1,5 @@
+ #include <Python.h>
+-#include <fribidi-src/lib/fribidi.h>
++#include <fribidi.h>
+ #include <stdlib.h>
+
+ #ifndef alloca
+diff -rupN renpy-7.1.0-source.old/module/setup.py renpy-7.1.0-source/module/setup.py
+--- renpy-7.1.0-source.old/module/setup.py 2018-09-13 14:10:03.102145102 +0200
++++ renpy-7.1.0-source/module/setup.py 2018-09-13 14:11:51.122981804 +0200
+@@ -119,32 +119,19 @@ cython(
+ sdl + [ png, 'z', 'm' ])
+
+ FRIBIDI_SOURCES = """
+-fribidi-src/lib/fribidi.c
+-fribidi-src/lib/fribidi-arabic.c
+-fribidi-src/lib/fribidi-bidi.c
+-fribidi-src/lib/fribidi-bidi-types.c
+-fribidi-src/lib/fribidi-deprecated.c
+-fribidi-src/lib/fribidi-joining.c
+-fribidi-src/lib/fribidi-joining-types.c
+-fribidi-src/lib/fribidi-mem.c
+-fribidi-src/lib/fribidi-mirroring.c
+-fribidi-src/lib/fribidi-run.c
+-fribidi-src/lib/fribidi-shape.c
+ renpybidicore.c
+ """.split()
+ cython(
+ "_renpybidi",
+ FRIBIDI_SOURCES,
++ ['fribidi'],
+ includes=[
+- BASE + "/fribidi-src/",
+- BASE + "/fribidi-src/lib/",
++ "/usr/include/fribidi/"
+ ],
+ define_macros=[
+ ("FRIBIDI_ENTRY", ""),
+- ("HAVE_CONFIG_H", "1"),
+ ])
+
+-
+ cython("_renpysteam", language="c++", compile_if=steam_sdk, libs=["steam_api"])
+
+ # Sound.
Copied: renpy/repos/community-staging-x86_64/renpy.desktop (from rev 620941, renpy/trunk/renpy.desktop)
===================================================================
--- community-staging-x86_64/renpy.desktop (rev 0)
+++ community-staging-x86_64/renpy.desktop 2020-04-25 16:16:58 UTC (rev 620942)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Ren'Py
+GenericName=renpy
+Comment=Ren'Py is a visual novel engine that helps you use words, images, and sounds to tell interactive stories that run on computers and mobile devices.
+Icon=renpy
+Exec=renpy
+Categories=Game;AdventureGame;
Copied: renpy/repos/community-staging-x86_64/renpy.png (from rev 620941, renpy/trunk/renpy.png)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list