ekiga: bump version and resurrect for ZHF
This commit is contained in:
parent
6aafda73cd
commit
4ee1fcc6b9
@ -0,0 +1,11 @@
|
|||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
AC_PREREQ([2.53])
|
||||||
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
AC_CONFIG_SRCDIR(src/ekiga.cpp)
|
||||||
|
-AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz tar-ustar])
|
||||||
|
+AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz tar-ustar subdir-objects])
|
||||||
|
|
||||||
|
AM_MAINTAINER_MODE([enable])
|
||||||
|
AC_CONFIG_HEADERS([config.h])
|
@ -0,0 +1,31 @@
|
|||||||
|
--- a/m4/ax_boost_base.m4
|
||||||
|
+++ b/m4/ax_boost_base.m4
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
# and this notice are preserved. This file is offered as-is, without any
|
||||||
|
# warranty.
|
||||||
|
|
||||||
|
-#serial 20
|
||||||
|
+#serial 22
|
||||||
|
|
||||||
|
AC_DEFUN([AX_BOOST_BASE],
|
||||||
|
[
|
||||||
|
@@ -91,9 +91,17 @@ if test "x$want_boost" = "xyes"; then
|
||||||
|
dnl are found, e.g. when only header-only libraries are installed!
|
||||||
|
libsubdirs="lib"
|
||||||
|
ax_arch=`uname -m`
|
||||||
|
- if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
|
||||||
|
+ case $ax_arch in
|
||||||
|
+ x86_64|ppc64|s390x|sparc64|aarch64)
|
||||||
|
libsubdirs="lib64 lib lib64"
|
||||||
|
- fi
|
||||||
|
+ ;;
|
||||||
|
+ esac
|
||||||
|
+
|
||||||
|
+ dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give
|
||||||
|
+ dnl them priority over the other paths since, if libs are found there, they
|
||||||
|
+ dnl are almost assuredly the ones desired.
|
||||||
|
+ AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
|
+ libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs"
|
||||||
|
|
||||||
|
dnl first we check the system location for boost libraries
|
||||||
|
dnl this location ist chosen if boost libraries are installed with the --layout=system option
|
@ -1,72 +1,50 @@
|
|||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, cyrus_sasl, gettext, openldap, ptlib, opal, libXv, rarian, intltool
|
||||||
, cyrus_sasl, gettext, openldap, ptlib, opal, GConf, libXv, rarian, intltool
|
, perl, perlXMLParser, evolution_data_server, gnome_doc_utils, avahi, autoreconfHook
|
||||||
, perl, perlXMLParser, evolution_data_server, gnome_doc_utils, avahi
|
, libsigcxx, gtk, dbus_glib, libnotify, libXext, xextproto, gnome3, boost, libsecret
|
||||||
, libsigcxx, gtk, dbus_glib, libnotify, libXext, xextproto, automake
|
, pkgconfig, libxml2, videoproto, unixODBC, db, nspr, nss, zlib, hicolor_icon_theme
|
||||||
, autoconf, pkgconfig, libxml2, videoproto, unixODBC, db, nspr, nss, zlib
|
, libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle, sqlite }:
|
||||||
, libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "ekiga-4.0.1";
|
||||||
sourceInfo = rec {
|
|
||||||
baseName="ekiga";
|
src = fetchurl {
|
||||||
baseVersion="3.2";
|
url = "mirror://gnome/sources/ekiga/4.0/${name}.tar.xz";
|
||||||
patchlevel="7";
|
sha256 = "5f4f491c9496cf65ba057a9345d6bb0278f4eca07bcda5baeecf50bfcd9a4a3b";
|
||||||
version="${baseVersion}.${patchlevel}";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
url="mirror://gnome/sources/${baseName}/${baseVersion}/${name}.tar.bz2";
|
|
||||||
hash="13zxwfqhp7pisadx0hq50qwnj6d8r4dldvbs1ngydbwfnq4i6npj";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ cyrus_sasl gettext openldap ptlib opal libXv rarian intltool
|
||||||
inherit buildInputs;
|
perl perlXMLParser evolution_data_server gnome_doc_utils avahi
|
||||||
|
libsigcxx gtk dbus_glib libnotify libXext xextproto sqlite
|
||||||
|
gnome3.libsoup
|
||||||
|
hicolor_icon_theme gnome3.gnome_icon_theme boost autoreconfHook
|
||||||
|
pkgconfig libxml2 videoproto unixODBC db nspr nss zlib libsecret
|
||||||
|
libXrandr randrproto which libxslt libtasn1 gmp nettle ];
|
||||||
|
|
||||||
|
preAutoreconf = ''
|
||||||
|
substituteInPlace configure.ac --replace AM_GCONF_SOURCE_2 ""
|
||||||
|
'';
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["setVars" "doConfigure" "doMakeInstall"];
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-ldap-dir=${openldap}"
|
"--with-ldap-dir=${openldap}"
|
||||||
"--with-libsasl2-dir=${cyrus_sasl}"
|
"--with-libsasl2-dir=${cyrus_sasl}"
|
||||||
|
"--with-boost-libdir=${boost}/lib"
|
||||||
|
"--disable-gconf"
|
||||||
];
|
];
|
||||||
|
|
||||||
setVars = a.noDepEntry (''
|
enableParallelBuilding = true;
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${opal}/include/opal"
|
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${evolution_data_server}/include/evolution-*)"
|
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2}/include/libxml2"
|
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${GConf}/include/gconf/2"
|
|
||||||
|
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lopal"
|
patches = [ ./autofoo.patch ./boost.patch ];
|
||||||
for i in ${evolution_data_server}/lib/lib*.so; do
|
|
||||||
file="$(basename "$i" .so)"
|
|
||||||
bn="''${file#lib}"
|
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -l$bn"
|
|
||||||
done
|
|
||||||
'');
|
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
broken = true;
|
|
||||||
description = "Ekiga SIP client";
|
description = "Ekiga SIP client";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = [ maintainers.raskin ];
|
||||||
[
|
platforms = platforms.linux;
|
||||||
raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "mirror://gnome/sources/ekiga";
|
downloadPage = "mirror://gnome/sources/ekiga";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ pkgconfig ptlib srtp libtheora speex
|
buildInputs = [ pkgconfig ptlib srtp libtheora speex
|
||||||
ffmpeg x264 cyrus_sasl openldap openssl expat unixODBC ];
|
ffmpeg x264 cyrus_sasl openldap openssl expat unixODBC ];
|
||||||
|
propagatedBuildInputs = [ speex ];
|
||||||
|
|
||||||
configureFlags = [ "--enable-h323" ];
|
configureFlags = [ "--enable-h323" ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user