add timitidy.., Xaw3d, sdl-mixer
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "SDL_mixer-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("timidity/config.h", "/usr/local/lib/timidity", "/usr/share/timidity")
|
||||
|
||||
options = "--disable-dependency-tracking \
|
||||
--disable-static \
|
||||
--enable-music-midi \
|
||||
--enable-music-timidity-midi \
|
||||
--enable-music-mod \
|
||||
--enable-music-mp3 \
|
||||
--enable-music-ogg"
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
options += " --includedir=/usr/include \
|
||||
--libdir=/usr/lib32"
|
||||
|
||||
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
||||
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
|
||||
shelltools.export("CXXFLAGS", "%s -m32" % get.CXXFLAGS())
|
||||
shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())
|
||||
|
||||
autotools.configure(options)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("CHANGES", "COPYING", "README")
|
||||
@@ -0,0 +1,20 @@
|
||||
diff -Nur SDL_mixer-1.2.11-old//Makefile.in SDL_mixer-1.2.11/Makefile.in
|
||||
--- SDL_mixer-1.2.11-old//Makefile.in 2011-08-25 01:09:55.007000503 +0300
|
||||
+++ SDL_mixer-1.2.11/Makefile.in 2011-08-25 01:11:19.172000277 +0300
|
||||
@@ -72,13 +72,13 @@
|
||||
@PLAYMUS_DEPENDS@
|
||||
|
||||
$(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
|
||||
- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
|
||||
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
|
||||
|
||||
$(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET)
|
||||
- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
|
||||
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
|
||||
|
||||
$(objects)/playmus$(EXE): $(objects)/playmus.lo $(objects)/$(TARGET)
|
||||
- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
|
||||
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
|
||||
|
||||
install: all install-hdrs install-lib #install-bin
|
||||
install-hdrs:
|
||||
@@ -0,0 +1,110 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sdl-mixer</Name>
|
||||
<Homepage>http://www.libsdl.org/projects/SDL_mixer/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>SDL mixer library</Summary>
|
||||
<Description>SDL_mixer is a SDL library for loading sound files.</Description>
|
||||
<Archive sha1sum="a20fa96470ad9e1052f1957b77ffa68fb090b384" type="targz">http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>libmikmod-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>smpeg-devel</Dependency>
|
||||
<Dependency>timidity</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--<Patch level="1">dev_snd_seq.patch</Patch>-->
|
||||
<Patch level="1">ldflags.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-mixer</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<Dependency>libmikmod</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>libogg</Dependency>
|
||||
<Dependency>smpeg</Dependency>
|
||||
<Dependency>timidity</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-mixer-devel</Name>
|
||||
<Summary>Development files for sdl-mixer</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">sdl-mixer</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-mixer-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for sdl-mixer</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsdl-32bit</Dependency>
|
||||
<Dependency>libmikmod-32bit</Dependency>
|
||||
<Dependency>libvorbis-32bit</Dependency>
|
||||
<Dependency>libogg-32bit</Dependency>
|
||||
<Dependency>smpeg-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">sdl-mixer</Dependency>
|
||||
<Dependency>libsdl-32bit</Dependency>
|
||||
<Dependency>libmikmod-32bit</Dependency>
|
||||
<Dependency>libvorbis-32bit</Dependency>
|
||||
<Dependency>libogg-32bit</Dependency>
|
||||
<Dependency>smpeg-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2016-02-21</Date>
|
||||
<Version>1.2.12</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>1.2.12</Version>
|
||||
<Comment>Rebuild for buildhost</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-29</Date>
|
||||
<Version>1.2.12</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sdl-mixer</Name>
|
||||
<Summary xml:lang="tr">SDL ses yükleme kitaplığı</Summary>
|
||||
<Summary xml:lang="fr">Librairie du mixer SDL.</Summary>
|
||||
<Description xml:lang="tr">SDL_mixer, SDL için bir ses yükleme kitaplığıdır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-mixer-devel</Name>
|
||||
<Summary xml:lang="tr">sdl-mixer için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sdl-mixer-32bit</Name>
|
||||
<Summary xml:lang="tr">sdl-mixer için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user