@@ -4,23 +4,26 @@
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-gtk-doc \
|
||||
--disable-vala \
|
||||
--disable-static \
|
||||
--disable-rpath \
|
||||
--disable-dependency-tracking")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
shelltools.system("meson .. --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
-Dman=false")
|
||||
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
shelltools.cd("build")
|
||||
shelltools.system("ninja")
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("ABOUT-NLS", "AUTHORS", "COPYING", "MAINTAINERS", "NEWS", "README", "TODO")
|
||||
shelltools.cd("build")
|
||||
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("AUTHORS", "MAINTAINERS", "COPYING", "RELEASE", "NEWS")
|
||||
|
||||
@@ -12,8 +12,9 @@
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>GTK support library for colord</Summary>
|
||||
<Description>colord-gtk is a GTK+ support library.</Description>
|
||||
<Archive sha1sum="60b85227d93758a66f5dc30d0a98f8f58415103d" type="tarxz">http://www.freedesktop.org/software/colord/releases/colord-gtk-0.1.26.tar.xz</Archive>
|
||||
<Archive sha1sum="c4d1d84f68e124fa8d321c503b091fbefef8fa59" type="tarxz">http://www.freedesktop.org/software/colord/releases/colord-gtk-0.2.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>atk-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
@@ -25,6 +26,8 @@
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>python-six</Dependency>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -43,6 +46,7 @@
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="data">/usr/share/vala/vapi/</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
@@ -65,6 +69,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2019-11-05</Date>
|
||||
<Version>0.2.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2019-03-24</Date>
|
||||
<Version>0.1.26</Version>
|
||||
|
||||
Reference in New Issue
Block a user