@@ -4,24 +4,19 @@
|
||||
# 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 mesontools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
shelltools.system("meson .. --prefix=/usr -Ddocs=false")
|
||||
|
||||
mesontools.configure()
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
shelltools.system("ninja")
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
mesontools.install()
|
||||
|
||||
pisitools.dodoc("COPYING", "NEWS", "README*")
|
||||
|
||||
|
||||
@@ -12,9 +12,11 @@
|
||||
<IsA>library</IsA>
|
||||
<Summary>GObject wrapper for libusb.</Summary>
|
||||
<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>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>vala-devel</Dependency>
|
||||
<Dependency>libxslt-devel</Dependency>
|
||||
@@ -38,7 +40,7 @@
|
||||
<Path fileType="library">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</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/gir-1.0</Path>
|
||||
</Files>
|
||||
@@ -57,8 +59,27 @@
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</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>
|
||||
<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">
|
||||
<Date>2018-07-30</Date>
|
||||
<Version>0.3.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user