new packages for scrpy: gtest, android-udev, android-tools
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/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 shelltools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
|
||||
cmaketools.configure(sourceDir="..")
|
||||
|
||||
def build():
|
||||
cmaketools.make("-C build")
|
||||
#cmaketools.make("-C build doc")
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>android-tools</Name>
|
||||
<Homepage>https://developer.android.com/studio</Homepage>
|
||||
<Packager>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>Custom</License>
|
||||
<PartOf>programming.tools</PartOf>
|
||||
<Summary xml:lang="en">Android Platform Tools</Summary>
|
||||
<Description xml:lang="en">Android Platform Tools</Description>
|
||||
<Archive type="tarxz" sha1sum="ad93f3bae7c91dc777277a37e79b413b6f9d74a4">https://github.com/nmeum/android-tools/releases/download/31.0.3p1/android-tools-31.0.3p1.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>git</Dependency>
|
||||
<Dependency>gcc</Dependency>
|
||||
<Dependency>perl</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>golang</Dependency>
|
||||
<Dependency>lz4-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>gtest-devel</Dependency>
|
||||
<Dependency>zstd-devel</Dependency>
|
||||
<Dependency>brotli-devel</Dependency>
|
||||
<Dependency>libusb-devel</Dependency>
|
||||
<Dependency>libpcre-devel</Dependency>
|
||||
<Dependency>protobuf-devel</Dependency>
|
||||
<Dependency>libpcre2-devel</Dependency>
|
||||
<Dependency>libunwind-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>android-tools</Name>
|
||||
<Summary xml:lang="en">Android Platform Tools</Summary>
|
||||
<Description xml:lang="en">Android Platform Tools</Description>
|
||||
<PartOf>programming.tools</PartOf>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>lz4</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>zstd</Dependency>
|
||||
<Dependency>gtest</Dependency>
|
||||
<Dependency>brotli</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libusb</Dependency>
|
||||
<Dependency>libpcre</Dependency>
|
||||
<Dependency>protobuf</Dependency>
|
||||
<Dependency>libpcre2</Dependency>
|
||||
<Dependency>libunwind</Dependency>
|
||||
<Dependency>android-udev</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2022-05-03</Date>
|
||||
<Version>31.03</Version>
|
||||
<Comment>First Release</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/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 pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir="android-udev-rules-%s" % get.srcVERSION()
|
||||
ver = get.srcVERSION()
|
||||
|
||||
def install():
|
||||
shelltools.cd("%s/android-udev-rules-%s" %(get.workDIR(), ver))
|
||||
shelltools.chmod("51-android.rules", 0644)
|
||||
shelltools.chmod("android-udev.conf", 0644)
|
||||
pisitools.insinto("/usr/lib/udev/rules.d/51-android.rules", "51-android.rules")
|
||||
pisitools.insinto("/usr/lib/sysusers.d/android-udev.conf", "android-udev.conf")
|
||||
|
||||
pisitools.dodoc("LICENSE")
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>android-udev</Name>
|
||||
<Homepage>https://github.com/M0Rf30/android-udev-rules</Homepage>
|
||||
<Packager>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPL3</License>
|
||||
<Summary>Udev rules to connect Android devices to your linux box</Summary>
|
||||
<Description>Udev rules to connect Android devices to your linux box</Description>
|
||||
<Archive sha1sum="8a8c110ef82b3f56e49340574bba22341c0d060e" type="targz" >https://github.com/M0Rf30/android-udev-rules/archive/refs/tags/20220102.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>libmtp-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>android-udev</Name>
|
||||
<Summary>Udev rules to connect Android devices to your linux box.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>eudev</Dependency>
|
||||
<Dependency>libmtp</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/android-udev/LICENSE</Path>
|
||||
<Path fileType="library">/usr/lib/udev/rules.d/51-android.rules</Path>
|
||||
<Path fileType="library">/usr/lib/sysusers.d/android-udev.conf</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/udev/rules.d/51-android.rules">51-android.rules</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/sysusers.d/android-udev.conf">android-udev.conf</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2022-05-03</Date>
|
||||
<Version>20220102</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>android-udev</Name>
|
||||
<Summary xml:lang="tr">Android cihazlarını linux sistemine bağlamak için Udev kuralları</Summary>
|
||||
<Description xml:lang="tr">Android cihazlarını linux sistemine bağlamak için Udev kuralları</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user