gnubg new package

This commit is contained in:
Rmys
2022-12-15 18:16:00 +03:00
parent dfeab6774a
commit d8afa635bf
9 changed files with 4788 additions and 2265 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
from pisi.actionsapi import autotools
from pisi.actionsapi import libtools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
def setup():
autotools.aclocal("-I m4")
libtools.libtoolize("--force --copy")
autotools.autoheader()
autotools.automake("--add-missing --copy -Wno-portability")
autotools.autoconf()
autotools.rawConfigure("--prefix=/usr --enable-threads")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# pisitools.dosym("/usr/share/pixmaps/gnubg-big.png","/usr/share/gnubg/pixmaps/gnubg-big.png")
+10
View File
@@ -0,0 +1,10 @@
[Desktop Entry]
Name=gnubg
Comment=GNU Backgammon
Comment[tr]=GNU Tavla
Exec=gnubg
Terminal=false
Type=Application
Icon=gnubg-big
Categories=Application;Game;Board;
@@ -0,0 +1,11 @@
diff -Nuar gnubg.orig//pixmaps/Makefile.am gnubg/pixmaps/Makefile.am
--- gnubg.orig//pixmaps/Makefile.am 2011-02-07 05:50:04.000000000 +0200
+++ gnubg/pixmaps/Makefile.am 2011-02-18 21:53:25.189000125 +0200
@@ -1,5 +1,5 @@
-gnubgiconsdir = $(datadir)
-gnubgpixmapsdir = $(pkgdatadir)/pixmaps
+gnubgiconsdir = /usr/share
+gnubgpixmapsdir = /usr/share/pixmaps
ICONS_16_SCALABLE = icons/hicolor/16x16/apps/scalable/gnubg.svg
ICONS_16 = icons/hicolor/16x16/apps/gnubg.png
+73
View File
@@ -0,0 +1,73 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gnubg</Name>
<Homepage>http://www.gnubg.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>gnubg</Icon>
<IsA>app:gui</IsA>
<Summary>GNU BackGammon</Summary>
<Description>GNU BackGammon</Description>
<Archive sha1sum="ebc109d9059df301c36cdfce0f51a3048ebcfc56" type="targz">ftp://ftp.gnu.org/gnu/gnubg/gnubg-release-1.07.001-sources.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>curl-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>gtkglext-devel</Dependency>
<Dependency>shared-mime-info</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">pixmaps_dir_fix.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>gnubg</Name>
<RuntimeDependencies>
<Dependency>python</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>curl</Dependency>
<Dependency>gtkglext</Dependency>
<Dependency>gmp</Dependency>
<Dependency>gtk2</Dependency>
<Dependency>cairo</Dependency>
<Dependency>pango</Dependency>
<Dependency>libpng</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>freetype</Dependency>
<Dependency>readline</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>libcanberra</Dependency>
<Dependency>libcanberra-gtk</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="all">/usr/share/gnubg</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="manfile">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc/gnubg</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/gnubg.desktop">gnubg.desktop</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="1">
<Date>2022-12-15</Date>
<Version>1.07.001</Version>
<Comment>First release</Comment>
<Name>Ali Cengiz Kurt</Name>
<Email>alicengizkurt@gmail.com</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>gnubg</Name>
<Summary xml:lang="en">GNU BackGammoni</Summary>
<Description xml:lang="en">GNU BackGammon.</Description>
</Source>
</PISI>
+4660 -2263
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
a6b63522240447e8104d6e279075127a82b4ef55
16cd9b73c81ada04a5d6971fcddad47030b761ef
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
ea703bca3d23afac0dadf48952ffa642e21b1304
f06998cf0fa38deafb4b16c1edda5305a84467dc