fix deps plasma-desktop, plasma-workspace
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure("--disable-oss \
|
||||
--disable-lynx \
|
||||
--disable-gtk-doc \
|
||||
--disable-schemas-install \
|
||||
--enable-gstreamer \
|
||||
--enable-gtk3 \
|
||||
--enable-pulse \
|
||||
--enable-alsa \
|
||||
--enable-null \
|
||||
--enable-tdb \
|
||||
--with-builtin=dso \
|
||||
--disable-static")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
|
||||
|
||||
#pisitools.remove("/usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so")
|
||||
pisitools.removeDir("/usr/share/gtk-doc")
|
||||
|
||||
pisitools.dodoc("LGPL", "README")
|
||||
@@ -0,0 +1,13 @@
|
||||
Index: libcanberra-0.12/acinclude.m4
|
||||
===================================================================
|
||||
--- libcanberra-0.12.orig/acinclude.m4
|
||||
+++ libcanberra-0.12/acinclude.m4
|
||||
@@ -112,7 +112,7 @@ acx_pthread_flags="pthreads none -Kthrea
|
||||
# pthread-config: use pthread-config program (for GNU Pth library)
|
||||
|
||||
case "${host_cpu}-${host_os}" in
|
||||
- *solaris*)
|
||||
+ *solaris*|*linux*)
|
||||
|
||||
# On Solaris (at least, for some versions), libc contains stubbed
|
||||
# (non-functional) versions of the pthreads routines, so link-based
|
||||
@@ -0,0 +1,22 @@
|
||||
Index: libcanberra-0.12/src/Makefile.am
|
||||
===================================================================
|
||||
--- libcanberra-0.12.orig/src/Makefile.am
|
||||
+++ libcanberra-0.12/src/Makefile.am
|
||||
@@ -58,7 +58,8 @@ libcanberra_la_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
$(VORBIS_CFLAGS)
|
||||
libcanberra_la_LIBADD = \
|
||||
- $(VORBIS_LIBS)
|
||||
+ $(VORBIS_LIBS) \
|
||||
+ $(PTHREAD_LIBS)
|
||||
libcanberra_la_LDFLAGS = \
|
||||
-export-dynamic \
|
||||
-version-info $(LIBCANBERRA_VERSION_INFO)
|
||||
@@ -290,6 +291,7 @@ libcanberra_gtk_la_CFLAGS = \
|
||||
$(GTK_CFLAGS)
|
||||
libcanberra_gtk_la_LIBADD = \
|
||||
$(GTK_LIBS) \
|
||||
+ -lX11 \
|
||||
libcanberra.la
|
||||
libcanberra_gtk_la_LDFLAGS = \
|
||||
-export-dynamic -version-info $(LIBCANBERRA_GTK_VERSION_INFO)
|
||||
@@ -0,0 +1,182 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libcanberra</Name>
|
||||
<Homepage>http://0pointer.de/lennart/projects/libcanberra/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A library for generating event sounds on free desktops</Summary>
|
||||
<Description>libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable.</Description>
|
||||
<Archive sha1sum="fd4c16e341ffc456d688ed3462930d17ca6f6c20" type="tarxz">http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||
<Dependency>gstreamer-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<!--Dependency>gconf</Dependency-->
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>at-spi2-core-devel</Dependency><!--opps is dep for gt3-devel -->
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>atk-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>libtdb-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>gstreamer-next-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">fix-pthread.patch</Patch>
|
||||
<Patch level="1">fix-underlinking.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libcanberra</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libtdb</Dependency>
|
||||
<Dependency>libtool-ltdl</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>pulseaudio-libs</Dependency>
|
||||
<Dependency>gstreamer-next</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/gdm</Path>
|
||||
<Path fileType="data">/usr/share/gnome/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libcanberra-devel</Name>
|
||||
<Summary>Development files for libcanberra</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libcanberra</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/share/vala</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libcanberra-gtk</Name>
|
||||
<Summary>GTK+ convenience API and utilities for libcanberra</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libcanberra</Dependency>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/gtk-2*</Path>
|
||||
<Path fileType="library">/usr/lib/libcanberra-gtk.so*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libcanberra-gtk-devel</Name>
|
||||
<Summary>Development files for libcanberra-gtk</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libcanberra</Dependency>
|
||||
<Dependency release="current">libcanberra-devel</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/canberra-gtk.h</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig/libcanberra-gtk.pc</Path>
|
||||
<Path fileType="data">/usr/share/vala/vapi/libcanberra-gtk.vapi</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libcanberra-gtk3-devel</Name>
|
||||
<Summary>Development files for libcanberra-gtk</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libcanberra-gtk-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/lib/pkgconfig/libcanberra-gtk3.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
|
||||
<Package>
|
||||
<Name>libcanberra-gtk3</Name>
|
||||
<Summary>GTK+ convenience API and utilities for libcanberra</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>eudev</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency releaseFrom="4">libcanberra</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/gtk-3*</Path>
|
||||
<Path fileType="library">/usr/lib/libcanberra-gtk3*</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libcanberra-gtk3</Path>
|
||||
<Path fileType="executable">/usr/bin/canberra-boot</Path>
|
||||
<Path fileType="executable">/usr/bin/canberra-gtk-play</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2015-08-03</Date>
|
||||
<Version>0.30</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-11-15</Date>
|
||||
<Version>0.30</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-10-07</Date>
|
||||
<Version>0.29</Version>
|
||||
<Comment>Split Package + Fixed.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-17</Date>
|
||||
<Version>0.29</Version>
|
||||
<Comment>Release Bump.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-29</Date>
|
||||
<Version>0.29</Version>
|
||||
<Comment>missing dep.</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-31</Date>
|
||||
<Version>0.29</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libcanberra</Name>
|
||||
<Summary xml:lang="tr">Masaüstü üzerinde bildirim sesleri üretmek için kütüphane</Summary>
|
||||
<Description xml:lang="tr">libcanberra, çeşitli arka uç (ALSA, PulseAudio, GStreamer, null) destekleri olan, XDG Ses Teması ve İsimlendirme standartlarına uygun, bildirim sesi çalma kütüphanesidir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libcanberra-gtk</Name>
|
||||
<Summary xml:lang="tr">GTK+ için libcanberra araçları ve programlama kitaplığı</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libcanberra-devel</Name>
|
||||
<Summary xml:lang="tr">libcanberra için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user