diff options
-rw-r--r-- | games-board/awale/Manifest | 2 | ||||
-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, 177 deletions
diff --git a/games-board/awale/Manifest b/games-board/awale/Manifest index 1ff1ba01fb72..957a01354061 100644 --- a/games-board/awale/Manifest +++ b/games-board/awale/Manifest @@ -1,3 +1 @@ -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 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] |