redshift:First release

This commit is contained in:
Rmys
2019-01-30 22:43:30 +03:00
parent 5fd497c0c1
commit 64c8fc1e35
7 changed files with 212 additions and 13 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/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 shelltools
from pisi.actionsapi import get
def setup():
#shelltools.export("PYTHON", "/usr/bin/python3.6")
autotools.configure("--sysconfdir=/etc \
--enable-drm \
--enable-geoclue2 \
--enable-randr \
--enable-vidmode \
--with-systemduserunitdir=/usr/lib/systemd/user")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
#autotools.install()
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("CONTRIB*", "COPYING", "README*")
+64
View File
@@ -0,0 +1,64 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>redshift</Name>
<Homepage>https://github.com/jonls/redshift</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<IsA>app</IsA>
<Summary>Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.</Summary>
<Description>Kırmızıya kayma, ekranınızın renk sıcaklığını ortamınıza göre ayarlar. Bu, gece ekranın önünde çalışıyorsanız, gözlerinizin daha az acı çekmesine yardımcı olabilir.</Description>
<Archive sha1sum="ee874faa0a2fd9ea6f7cab219cefa00038514824" type="tarxz">https://github.com/jonls/redshift/releases/download/v1.12/redshift-1.12.tar.xz</Archive>
<BuildDependencies>
<Dependency>intltool</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libdrm-devel</Dependency>
<Dependency>libxcb-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>geoclue-devel</Dependency>
<Dependency>libnotify-devel</Dependency>
<Dependency>json-glib-devel</Dependency>
<Dependency>shared-mime-info</Dependency>
<Dependency>libXxf86vm-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>redshift</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libdrm</Dependency>
<Dependency>libxcb</Dependency>
<Dependency>libXxf86vm</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/appdata</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-01-30</Date>
<Version>1.12</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>redshift</Name>
<Summary xml:lang="tr">Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.</Summary>
<Description xml:lang="tr">Kırmızıya kayma, ekranınızın renk sıcaklığını ortamınıza göre ayarlar. Bu, gece ekranın önünde çalışıyorsanız, gözlerinizin daha az acı çekmesine yardımcı olabilir.</Description>
</Source>
</PISI>