libmodplug:moved into main for pisi2.0
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 2
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
autotools.autoreconf("-vfi")
|
||||||
|
autotools.configure("--disable-dependency-tracking \
|
||||||
|
--disable-static")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
autotools.make()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
autotools.install()
|
||||||
|
pisitools.dodoc("README", "NEWS", "TODO", "AUTHORS", "ChangeLog")
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
Index: libmodplug-0.8.4/src/load_pat.cpp
|
||||||
|
===================================================================
|
||||||
|
--- libmodplug-0.8.4.orig/src/load_pat.cpp
|
||||||
|
+++ libmodplug-0.8.4/src/load_pat.cpp
|
||||||
|
@@ -53,8 +53,8 @@ typedef UWORD WORD;
|
||||||
|
#define PATHFORPAT "C:\\TIMIDITY\\INSTRUMENTS"
|
||||||
|
#else
|
||||||
|
#define DIRDELIM '/'
|
||||||
|
-#define TIMIDITYCFG "/usr/local/share/timidity/timidity.cfg"
|
||||||
|
-#define PATHFORPAT "/usr/local/share/timidity/instruments"
|
||||||
|
+#define TIMIDITYCFG "/usr/share/timidity/timidity.cfg"
|
||||||
|
+#define PATHFORPAT "/usr/share/timidity/current"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define PAT_ENV_PATH2CFG "MMPAT_PATH_TO_CFG"
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libmodplug</Name>
|
||||||
|
<Homepage>http://modplug-xmms.sourceforge.net/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>PisiLinux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv2</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>Library for playing MOD-like music files</Summary>
|
||||||
|
<Description>libmodplug is a library based on the mod rendering code from ModPlug, a popular windows mod player written by Olivier Lapicque.</Description>
|
||||||
|
<Archive sha1sum="771ee75bb8bfcfe95eae434ed1f3b2c5b63b2cb3" type="targz">http://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.8.5/libmodplug-0.8.8.5.tar.gz</Archive>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">libmodplug-0.8.4-timidity-patches.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libmodplug</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libmodplug-devel</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">libmodplug</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-20</Date>
|
||||||
|
<Version>0.8.8.5</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Serdar Soytetir</Name>
|
||||||
|
<Email>kaptan@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="2">
|
||||||
|
<Date>2014-01-31</Date>
|
||||||
|
<Version>0.8.8.4</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Stefan Gronewold(groni)</Name>
|
||||||
|
<Email>groni@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="1" type="security">
|
||||||
|
<Date>2012-08-31</Date>
|
||||||
|
<Version>0.8.8.4</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>PisiLinux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libmodplug</Name>
|
||||||
|
<Summary xml:lang="tr">MOD-like müzik dosyalarını çalmak için bir kütüphane</Summary>
|
||||||
|
<Summary xml:lang="fr">Librairie pour jouer les fichiers son de type MOD.</Summary>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user