Restore Granite 7 as a separate package

Also uprev it.
This commit is contained in:
Bahar Kurt
2024-10-22 11:37:00 +03:00
parent b967a3e1e3
commit edbcd3d70d
3 changed files with 106 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import mesontools
def setup():
mesontools.configure()
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("COPYING", "README.md")
+75
View File
@@ -0,0 +1,75 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>granite7</Name>
<Homepage>https://github.com/elementary/granite</Homepage>
<Packager>
<Name>Bedirhan Kurt</Name>
<Email>bedirhan.kurt@outlook.com</Email>
</Packager>
<License>LGPLv3</License>
<PartOf>desktop</PartOf>
<Summary>Granite is a companion library for GTK and GLib.</Summary>
<Description>Granite is a companion library for GTK and GLib. Among other things, it provides complex widgets and convenience functions designed for use in apps built for elementary OS.</Description>
<Archive sha1sum="8421b31c48216c51c0292d7e116280e5cde5f7f0" type="targz">https://github.com/elementary/granite/archive/7.5.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>libgee-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>vala-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>sassc</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>granite7</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency>
<Dependency>libgee</Dependency>
<Dependency>gdk-pixbuf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="library">/usr/lib/libgranite*.so*</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/themes</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="info">/usr/share/metainfo</Path>
</Files>
</Package>
<Package>
<Name>granite7-devel</Name>
<Summary>Development files for granite</Summary>
<RuntimeDependencies>
<Dependency release="current">granite7</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libgee-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
<Path fileType="data">/usr/share/vala</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-10-22</Date>
<Version>7.5.0</Version>
<Comment>Initial packaging for Pisi Linux</Comment>
<Name>Bedirhan Kurt</Name>
<Email>bedirhan.kurt@outlook.com</Email>
</Update>
</History>
</PISI>
+12
View File
@@ -0,0 +1,12 @@
<PISI>
<Source>
<Name>granite7</Name>
<Summary>Granite, GTK ve GLib için bir eşlikçi kütüphanedir.</Summary>
<Description>Granite, GTK ve GLib için bir eşlikçi kütüphanedir. Diğer şeylerin aynında elementary OS için geliştirilmiş uygulamalarda kullanılması adına karışık araçlar ve kolaylık fonksiyonları sağlar.</Description>
</Source>
<Package>
<Name>granite7-devel</Name>
<Summary>granite7 için geliştirme dosyaları.</Summary>
</Package>
</PISI>