libmediaart:new package
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#!/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 mesontools, pisitools
|
||||
|
||||
def setup():
|
||||
mesontools.configure("-Dgtk_doc=true")
|
||||
|
||||
def build():
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
mesontools.install()
|
||||
|
||||
pisitools.dodoc("COPYING*", "README*", "NEWS")
|
||||
@@ -0,0 +1,8 @@
|
||||
#/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
|
||||
def postInstall():
|
||||
print "FIXME"
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
|
||||
from comar.service import *
|
||||
|
||||
serviceType = "local"
|
||||
serviceConf = "libmediaart"
|
||||
serviceDefault = "conditional"
|
||||
|
||||
serviceDesc = _({"en": "Libmediaart",
|
||||
"tr": "Libmediaart"})
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
startService(command="/usr/sbin/libmediaart",
|
||||
args = config.get("args", "destroy"),
|
||||
donotify=True)
|
||||
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(command="/usr/sbin/libmediaart",
|
||||
donotify=True)
|
||||
|
||||
def ready():
|
||||
import os
|
||||
status = is_on()
|
||||
if status == "on" or (status == "conditional" and os.path.exists("/sys/coffee/ready")):
|
||||
start()
|
||||
|
||||
def status():
|
||||
return checkDaemon("/var/run/libmediaart.pid")
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Encoding=UTF-8
|
||||
Name=Libmediaart
|
||||
Name[tr]=Libmediaart
|
||||
GenericName=Libmediaart
|
||||
GenericName[tr]=Libmediaart
|
||||
Icon=libmediaart
|
||||
Exec=libmediaart
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Application;Game;ArcadeGame;
|
||||
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmediaart</Name>
|
||||
<Homepage>https://gitlab.gnome.org/GNOME/libmediaart</Homepage>
|
||||
<Packager>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Icon>libmediaart</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Library for managing media art caches</Summary>
|
||||
<Description>Library for managing media art caches</Description>
|
||||
<Archive sha1sum="0541ec9a6b604b0d947d149880e15c8436c2d189" type="tarxz">mirrors://gnome/libmediaart/1.9/libmediaart-1.9.5.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>vala-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmediaart</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/libmediaart*</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0</Path>
|
||||
<Path fileType="data">/usr/share/doc</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
<Path fileType="library">/usr/share/vala</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmediaart-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libmediaart</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-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>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-06-10</Date>
|
||||
<Version>1.9.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmediaart</Name>
|
||||
<Summary xml:lang="tr">ortam sanat önbelleğini yönetmek için bir kitaplık</Summary>
|
||||
<Description xml:lang="tr">ortam sanat önbelleğini yönetmek için bir kitaplık</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmediaart-devel</Name>
|
||||
<Summary xml:lang="tr">libmediaart için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user