diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-03 22:39:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-03 22:39:47 +0100 |
commit | 7f0ccc917c7abe6223784c703d86cd14755691fb (patch) | |
tree | 8c6793f68896b341e22f33d7e6cef88e481f4a8b /games-board/awale | |
parent | 9aa80713372911cec499b3adb2cd746790920916 (diff) |
gentoo resync : 03.07.2021
Diffstat (limited to 'games-board/awale')
-rw-r--r-- | games-board/awale/Manifest | 4 | ||||
-rw-r--r-- | games-board/awale/awale-1.5-r1.ebuild | 59 | ||||
-rw-r--r-- | games-board/awale/files/awale-1.5-build.patch | 116 |
3 files changed, 0 insertions, 179 deletions
diff --git a/games-board/awale/Manifest b/games-board/awale/Manifest index f7a811f5fcbf..c15afaa08327 100644 --- a/games-board/awale/Manifest +++ b/games-board/awale/Manifest @@ -1,7 +1,3 @@ -AUX awale-1.5-build.patch 3323 BLAKE2B 7f2a2451b214466aba032891df9209d9b3bd1a458d59068a5a1771e0c76fd5360fda6e92cab4f71a4ced684c2616305333732d67e59412e93ca821b626097200 SHA512 7dccdb24469238d36d7ea0a9d9b27ca2e4b4472ae4918b0361f78e84933db1ebd948197af32c40ec48d014f3baefc4adf1e48f0e277af8b6b8b53e780c9c613e -DIST awale-1.5-no-autoreconf2.patch.xz 37268 BLAKE2B cec173e9b0be75c5d3d037a171fd796dccca5689e53f2e08d832e15a63d96502b4277f2ca6dbcbe817949cda8243aaacf7d7ede281fa32a34ffbf5f3031042f1 SHA512 857814c6ffe828bb0c3b82c214932ddf95162b7abaac6720db987f2af31a3b144543773a607edc70e0fceb8433f2aa519d3cfaca7474750cb45074aef0c37cb1 -DIST awale-1.5.tar.gz 489357 BLAKE2B d9f5efd10018b1e5f9964abf25189df5186159c7826c23b85f794999c5bc8d8ea93792e83dbde2ae010489a7d90258651e7ab7115e0fc361ce682968c438aed6 SHA512 b3f33068d7d6cfd964051e15cfd84e7f2c8483c30f2ccea35e2dddb34353ea984561fdf28c0d668404d80cda89c6d5fcd0004a1a86d92325e5f6fc2f88197c61 DIST awale-1.6.tar.gz 490881 BLAKE2B 721b8dfdc6dd7a558e43e00616372b2b1a89acf1cc79cb051650809b54605d4d0c2fbc91168ad940356748c0632fba7bd016db7afee2f977f8d52f64bdd08400 SHA512 0b9e4f18d6fbd5e8acdf8e5ecbbcebad4d732993cb61b8d84787fa2a9dad5b73eee62462fddc9296c050019de76a73b1e6d8d29d3ef57148ab086e49b1016f0d -EBUILD awale-1.5-r1.ebuild 1218 BLAKE2B 673791d5db74798c8ebaa9f715bc335fa928c2ca3da9579fa45474016a1ca20257c6cc1469f7ee5f3e73cd564cd11acd0af797a154c1ef6dab246e861388e332 SHA512 db5025261ef6f307867a574c6e933c65e1f43819c7b6916245ab1b836a398f227e8b0ba32c48c0fb06b4afedab2d8ce022a9534b010f2d19f389bcc38b853083 EBUILD awale-1.6.ebuild 665 BLAKE2B 1f07a24082eb6239546c6c3d44772d1efdbf754299437c1d686e4066769a251096e204571c91cb1bfd1783a6256b51041bcac6656e5340708ca32882f8c3f720 SHA512 191429e369d3fe150a0d947da2ed08c676482420e2f808d944bd8f95da296d678871b76425280cece046b40ec48f3f4e757cf4aabf630239a5687809b1a21bde MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 diff --git a/games-board/awale/awale-1.5-r1.ebuild b/games-board/awale/awale-1.5-r1.ebuild deleted file mode 100644 index 13e96b998a9c..000000000000 --- a/games-board/awale/awale-1.5-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# do not use autotools related stuff in stable ebuilds -# unless you like random breakage: 469796, 469798, 424041 - -EAPI=6 - -inherit autotools eutils gnome2-utils - -DESCRIPTION="Free Awale - The game of all Africa" -HOMEPAGE="http://www.nongnu.org/awale/" -SRC_URI="mirror://nongnu/awale/${P}.tar.gz" -SRC_URI="${SRC_URI} https://dev.gentoo.org/~hasufell/distfiles/${P}-no-autoreconf2.patch.xz" # STABLE ARCH - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="tk" - -RDEPEND="tk? ( dev-lang/tcl:0= dev-lang/tk:0= )" - -PATCHES=( - "${FILESDIR}"/${P}-build.patch -) - -src_prepare() { - default - - mv src/xawale.tcl src/xawale.tcl.in || die - mv configure.{in,ac} || die - rm aclocal.m4 || die - eautoreconf -} - -src_configure() { - econf \ - --mandir=/usr/share/man \ - --with-iconsdir=/usr/share/icons/hicolor/48x48/apps \ - --with-desktopdir=/usr/share/applications \ - $(use_enable tk) -} - -src_install() { - default - use tk && fperms +x /usr/share/${PN}/xawale.tcl -} - -pkg_preinst() { - use tk && gnome2_icon_savelist -} - -pkg_postinst() { - use tk && gnome2_icon_cache_update -} - -pkg_postrm() { - use tk && gnome2_icon_cache_update -} diff --git a/games-board/awale/files/awale-1.5-build.patch b/games-board/awale/files/awale-1.5-build.patch deleted file mode 100644 index 0e8ca136a410..000000000000 --- a/games-board/awale/files/awale-1.5-build.patch +++ /dev/null @@ -1,116 +0,0 @@ -From: Julian Ospald <hasufell@gentoo.org> -Date: Sat Jan 26 20:04:17 UTC 2013 -Subject: build system - - fix FHS compliance - add several switches for icon, desktopdir and tk - fix a few macros - ---- awale-1.5/src/Makefile.am -+++ awale-1.5/src/Makefile.am -@@ -1,24 +1,30 @@ - bin_PROGRAMS = awale - awale_SOURCES = awale.c getopt.c getopt1.c getopt.h --INCLUDES = -I. -I$(srcdir) -+AM_CPPFLAGS = -I. -I$(srcdir) -+ -+if TK_GUI - bin_SCRIPTS = xawale - xawale: - echo "#! /bin/sh" >$@ -- echo '`dirname $$0`/../share/awale/xawale.tcl' >>$@ -+ echo "cd \"$(datadir)/awale/\" ; exec \"$(datadir)/awale/xawale.tcl\"" >>$@ - chmod ugo+x $@ --appdir = $(prefix)/share/applications -+appdir = @DESKTOPFILESDIR@ - app_DATA = awale.desktop - awale.desktop: - echo "[Desktop Entry]" >$@ - echo "Name=Free Awale" >>$@ - echo "Comment=Awale game" >>$@ - echo "Exec=xawale" >>$@ -- echo 'Icon=$(pkgdatadir)/awale.png' >>$@ -+ echo 'Icon=awale' >>$@ - echo "Terminal=false" >>$@ - echo "Type=Application" >>$@ - echo "Categories=Game;BoardGame;" >>$@ - chmod 644 $@ - CLEANFILES = xawale awale.desktop -+ -+xawale.tcl: -+ sed 's|@my_bindir@|$(bindir)|' < $@.in > $@ -+ - pkgdata_SCRIPTS = xawale.tcl - dist_pkgdata_DATA = Trou00.gif Trou01.gif Trou02.gif Trou03.gif Trou04.gif Trou05.gif \ - Trou06.gif Trou07.gif Trou08.gif Trou09.gif Trou10.gif Trou11.gif \ -@@ -28,3 +34,8 @@ - Trou06.gif Trou07.gif Trou08.gif Trou09.gif Trou10.gif Trou11.gif \ - Trou12.gif Trou13.gif Trou14.gif Trou15.gif board.gif copyright.gif \ - awale.png awale.ico uk.gif fr.gif sp.gif AwaleBanner.bmp README -+ -+# icon -+iconsdir = @ICONSDIR@ -+dist_icons_DATA = awale.png -+endif ---- awale-1.5/configure.in -+++ awale-1.5/configure.in -@@ -1,6 +1,34 @@ --AC_INIT(awale.c) --AM_INIT_AUTOMAKE(awale, 1.5) -+AC_INIT([awale], [1.5]) -+AM_INIT_AUTOMAKE([-Wall]) - AC_CONFIG_SRCDIR([src/awale.c]) - AC_PROG_CC -+ -+ -+# let user specify desktopdir -+AC_ARG_WITH([desktopdir], -+ [AS_HELP_STRING([--with-desktopdir=DIR], -+ [path where desktop files get installed (default: $datadir/applications)])], -+ [DESKTOPFILESDIR="$withval"], -+ [DESKTOPFILESDIR='$(datadir)/applications']) -+ -+# let user specify iconsdir -+AC_ARG_WITH([iconsdir], -+ [AS_HELP_STRING([--with-iconsdir=DIR], -+ [path where icons get installed (default: $datadir/pixmaps)])], -+ [ICONSDIR="$withval"], -+ [ICONSDIR='$(datadir)/pixmaps']) -+ -+# configure-switch for tkgui -+AC_ARG_ENABLE([tk], -+ [AS_HELP_STRING([--enable-tk], -+ [enable tk gui (default: enable)])], -+ [enable_tk=$enableval], -+ [enable_tk="no"]) -+ -+AM_CONDITIONAL([TK_GUI], [test "x$enable_tk" = "xyes"]) -+ -+AC_SUBST([ICONSDIR]) -+AC_SUBST([DESKTOPFILESDIR]) -+ - AC_CONFIG_FILES([Makefile src/Makefile man/Makefile]) - AC_OUTPUT - ---- awale-1.5/man/Makefile.am -+++ awale-1.5/man/Makefile.am -@@ -1,3 +1,7 @@ --mandir = $(prefix)/share/man -+if TK_GUI - man_MANS = awale.6 xawale.6 -+else -+man_MANS = awale.6 -+endif -+ - EXTRA_DIST = $(man_MANS) ---- awale-1.5/src/xawale.tcl -+++ awale-1.5/src/xawale.tcl -@@ -693,7 +693,7 @@ - - switch $tcl_platform(platform) { - "unix" { -- set JOUER [file join [file dirname [info script]] .. .. bin awale] -+ set JOUER "@my_bindir@/awale" - } - "macintosh" { - set JOUER [file join [file dirname [info script]] .. .. bin awale] |