add syntax-highlighting new kde-framework package, and libmediainfo

This commit is contained in:
groni
2016-11-27 13:29:47 +01:00
parent 93cb7daf11
commit 8a7623e065
9 changed files with 2433 additions and 1328 deletions
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import kde5
from pisi.actionsapi import pisitools
# if pisi can't find source directory, see /var/pisi/syntax-highlighting/work/ and:
# WorkDir="syntax-highlighting-"+ get.srcVERSION() +"/sub_project_dir/"
def setup():
kde5.configure()
def build():
kde5.make()
def install():
kde5.install()
pisitools.dodoc("COPYING.LIB", "README.md")
@@ -0,0 +1,56 @@
<PISI>
<Source>
<Name>syntax-highlighting</Name>
<Homepage>https://community.kde.org/Frameworks</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>GPL2</License>
<Summary>Syntax highlighting engine for structured text and code</Summary>
<Description>Syntax highlighting engine for structured text and code</Description>
<BuildDependencies>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-xmlpatterns-devel</Dependency>
<Dependency>perl</Dependency>
<Dependency>glibc-devel</Dependency>
</BuildDependencies>
<Archive type="tarxz" sha1sum="8bddc3c95a1e8ed203bedaf5ff223c56674263f7">http://download.kde.org/stable/frameworks/5.28/syntax-highlighting-5.28.0.tar.xz</Archive>
</Source>
<Package>
<Name>syntax-highlighting</Name>
<Summary>Syntax highlighting engine for structured text and code</Summary>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc/xdg</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/qt5</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>syntax-highlighting-devel</Name>
<Summary>Development files for syntax-highlighting</Summary>
<RuntimeDependencies>
<Dependency release="current">syntax-highlighting</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-11-27</Date>
<Version>5.28.0</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
+44
View File
@@ -0,0 +1,44 @@
#!/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 pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import libtools
from pisi.actionsapi import get
WorkDir = "."
def setup():
shelltools.cd("MediaInfoLib/Project/GNU/Library")
libtools.libtoolize("--automake")
autotools.aclocal()
autotools.automake("-afc")
autotools.autoconf()
autotools.configure("--enable-shared \
--disable-static \
--with-libcurl \
--with-libmms")
def build():
shelltools.cd("MediaInfoLib/Project/GNU/Library")
autotools.make()
def install():
shelltools.cd("MediaInfoLib/Project/GNU/Library")
autotools.install()
pisitools.dosed("libmediainfo.pc", "^(Version:)\s+$", r"\1 %s\n" % get.srcVERSION())
pisitools.dosed("libmediainfo.pc", "^Libs_Static.*$", "")
pisitools.dodir("/usr/lib/pkgconfig")
pisitools.insinto("/usr/lib/pkgconfig", "libmediainfo.pc")
shelltools.cd("../../../")
pisitools.dodoc("*.txt")
pisitools.dohtml("*.html")
for it in ["MediaInfo", "MediaInfoDLL"]:
pisitools.dodir("/usr/include/%s" % it)
pisitools.insinto("/usr/include/%s" % it, "Source/%s/*.h" % it)
+71
View File
@@ -0,0 +1,71 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libmediainfo</Name>
<Homepage>http://mediaarea.net/en/MediaInfo</Homepage>
<Packager>
<Name>Pisi Linux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv3</License>
<IsA>library</IsA>
<Summary>shared library for mediainfo</Summary>
<Description>shared library for mediainfo</Description>
<Archive sha1sum="7d67f10aaf92a94ca917c0dd5d9faf2f085db486" type="tarbz2">http://mediaarea.net/download/source/libmediainfo/0.7.90/libmediainfo_0.7.90.tar.bz2</Archive>
<BuildDependencies>
<Dependency>autoconf</Dependency>
<Dependency>automake</Dependency>
<Dependency>libtool</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libzen-devel</Dependency>
<Dependency>curl-devel</Dependency>
<Dependency>libmms-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libmediainfo</Name>
<RuntimeDependencies>
<Dependency>curl</Dependency>
<Dependency>zlib</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libzen</Dependency>
<Dependency>libmms</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/</Path>
<Path fileType="library">/usr/lib/</Path>
</Files>
</Package>
<Package>
<Name>libmediainfo-devel</Name>
<RuntimeDependencies>
<Dependency release="current">libmediainfo</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include/MediaInfo</Path>
<Path fileType="header">/usr/include/MediaInfoDLL</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2016-11-24</Date>
<Version>0.7.90</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-12-20</Date>
<Version>0.7.65</Version>
<Comment>First release</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libmediainfo</Name>
<Summary xml:lang="tr">shared library for mediainfo</Summary>
<Description xml:lang="tr">shared library for mediainfo</Description>
</Source>
</PISI>
+2230 -1326
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
554206a6a4e0137fba90dbeef1ab557ee91bbf01
9aa7902346140b6d2a4c1d460b3139b573f4464a
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
1f1b77faac2da6976a8185e53aab15d53e8f9705
1fff4024b14f8bfa0b2d1fd1b6f4569a751b3828