Merge pull request #7773 from Rmys/master

libgusb ver. bump
This commit is contained in:
Rmys
2020-01-31 23:39:58 +03:00
committed by GitHub
2 changed files with 30 additions and 14 deletions
+7 -12
View File
@@ -4,24 +4,19 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # 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 shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
def setup(): def setup():
shelltools.makedirs("build") mesontools.configure()
shelltools.cd("build")
shelltools.system("meson .. --prefix=/usr -Ddocs=false")
def build(): def build():
shelltools.cd("build") mesontools.build()
shelltools.system("ninja")
def install(): def install():
shelltools.cd("build") mesontools.install()
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("COPYING", "NEWS", "README*") pisitools.dodoc("COPYING", "NEWS", "README*")
+23 -2
View File
@@ -12,9 +12,11 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>GObject wrapper for libusb.</Summary> <Summary>GObject wrapper for libusb.</Summary>
<Description>GLib wrapper around libusb1.</Description> <Description>GLib wrapper around libusb1.</Description>
<Archive sha1sum="25f1cc3455ab6105d8c34305a79876a7c3f707e0" type="tarxz">https://people.freedesktop.org/~hughsient/releases/libgusb-0.3.0.tar.xz</Archive> <Archive sha1sum="be8308a438faa8149c0bb241401ccaa44c4a37d0" type="tarxz">https://people.freedesktop.org/~hughsient/releases/libgusb-0.3.3.tar.xz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>meson</Dependency> <Dependency>meson</Dependency>
<Dependency>gtk-doc</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>glib2-devel</Dependency> <Dependency>glib2-devel</Dependency>
<Dependency>vala-devel</Dependency> <Dependency>vala-devel</Dependency>
<Dependency>libxslt-devel</Dependency> <Dependency>libxslt-devel</Dependency>
@@ -38,7 +40,7 @@
<Path fileType="library">/usr/bin</Path> <Path fileType="library">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
<Path fileType="doc">/usr/share/gtk-doc</Path> <!-- <Path fileType="doc">/usr/share/gtk-doc</Path> -->
<Path fileType="data">/usr/share/vala</Path> <Path fileType="data">/usr/share/vala</Path>
<Path fileType="data">/usr/share/gir-1.0</Path> <Path fileType="data">/usr/share/gir-1.0</Path>
</Files> </Files>
@@ -57,8 +59,27 @@
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
<Package>
<Name>libgusb-docs</Name>
<IsA>data:doc</IsA>
<Summary>Reference files for libgusb</Summary>
<RuntimeDependencies>
<Dependency release="current">libgusb</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share/gtk-doc</Path>
</Files>
</Package>
<History> <History>
<Update release="10">
<Date>2020-01-31</Date>
<Version>0.3.3</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="9"> <Update release="9">
<Date>2018-07-30</Date> <Date>2018-07-30</Date>
<Version>0.3.0</Version> <Version>0.3.0</Version>