Merge pull request #10312 from erkanisik1/master

add new packages
This commit is contained in:
Rmys
2022-05-22 11:13:48 +03:00
committed by GitHub
6 changed files with 215 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
#def setup():
#autotools.configure()
def build():
pisitools.dosed("lgi/Makefile", "PREFIX = /usr/local", "PREFIX = /usr")
autotools.make("LUA_INCDIR=/usr/include/luajit-2.0/ \
LUA_CFLAGS='$(pkg-config --cflags luajit) -O2'")
#autotools.make()
def install():
autotools.rawInstall("LUA_LIBDIR=/usr/lib/lua/5.3 \
LUA_SHAREDIR=/usr/share/lua/5.3 DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE", "README*")
+54
View File
@@ -0,0 +1,54 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>luajit-lgi</Name>
<Homepage>https://github.com/lgi-devs/lgi</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>LuaJIT bindings for gnome/gobject using gobject-introspection library</Summary>
<Description>LuaJIT bindings for gnome/gobject using gobject-introspection library</Description>
<Archive sha1sum="1fed9371a131e5598faa477d31fdf9cc0de520ed" type="targz">https://github.com/lgi-devs/lgi/archive/refs/tags/0.9.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>lua-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libffi-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>luajit-lgi.patch</Patch>
<Patch level="1">luajit-lgi.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>luajit-lgi</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>libffi</Dependency>
<Dependency>gobject-introspection</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="data">/usr/share/lua</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-05-21</Date>
<Version>0.9.2</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>luajit-lgi</Name>
<Summary xml:lang="tr">LuaJIT bindings for gnome/gobject using gobject-introspection library</Summary>
<Description xml:lang="tr">LuaJIT bindings for gnome/gobject using gobject-introspection library</Description>
</Source>
</PISI>