kde5 needen library and programs moved.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/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 cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DWITH_ASF=On -DWITH_MP4=On")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS","COPYING*")
|
||||
@@ -0,0 +1,31 @@
|
||||
diff -ruN taglib-1.4.org/taglib/toolkit/tstring.cpp taglib-1.4/taglib/toolkit/tstring.cpp
|
||||
--- taglib-1.4.org/taglib/toolkit/tstring.cpp 2005-07-26 06:31:15.000000000 +0900
|
||||
+++ taglib-1.4/taglib/toolkit/tstring.cpp 2006-05-26 12:02:55.000000000 +0900
|
||||
@@ -202,12 +202,22 @@
|
||||
s.resize(d->data.size());
|
||||
|
||||
if(!unicode) {
|
||||
- std::string::iterator targetIt = s.begin();
|
||||
- for(wstring::const_iterator it = d->data.begin(); it != d->data.end(); it++) {
|
||||
- *targetIt = char(*it);
|
||||
- ++targetIt;
|
||||
+ bool cjk = false;
|
||||
+ //pre-scan: is there any cjk unicode character? if so, convert the string into utf-8.
|
||||
+ for(unsigned int i=0; i< d->data.size(); i++){
|
||||
+ if(d->data[i] > 0xff){
|
||||
+ cjk = true;
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+ if(!cjk){
|
||||
+ std::string::iterator targetIt = s.begin();
|
||||
+ for(wstring::const_iterator it = d->data.begin(); it != d->data.end(); it++) {
|
||||
+ *targetIt = char(*it);
|
||||
+ ++targetIt;
|
||||
+ }
|
||||
+ return s;
|
||||
}
|
||||
- return s;
|
||||
}
|
||||
|
||||
const int outputBufferSize = d->data.size() * 3 + 1;
|
||||
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>taglib</Name>
|
||||
<Homepage>http://developer.kde.org/~wheeler/taglib.html</Homepage>
|
||||
<Packager>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A library for reading and editing audio meta data</Summary>
|
||||
<Description>TagLib is a library for reading and editing the meta data of several popular audio formats.</Description>
|
||||
<Archive sha1sum="4fa426c453297e62c1d1eff64a46e76ed8bebb45" type="targz">http://taglib.github.io/releases/taglib-1.9.1.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>taglib</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>taglib-devel</Name>
|
||||
<Summary>Development files for taglib</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">taglib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>1.9.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-24</Date>
|
||||
<Version>1.9.1</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-22</Date>
|
||||
<Version>1.8</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>taglib</Name>
|
||||
<Summary xml:lang="tr">Ses dosyalarının etiket bilgilerini okuma ve düzenleme kütüphanesi</Summary>
|
||||
<Description xml:lang="tr">TagLib ses dosyalarının etiket bilgilerini okumak ve işlemek için kullanılan bir kütüphanedir.</Description>
|
||||
<Description xml:lang="fr">TagLib est une librairie pour lire et éditer les méta-données de nombreux formats audio populaires.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>taglib-devel</Name>
|
||||
<Summary xml:lang="tr">taglib için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user