]> git.pld-linux.org Git - packages/pidgin.git/commitdiff
- enhanced nolibs patch to remove libgadu dependency from main libpurple library
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Feb 2021 18:08:17 +0000 (19:08 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Feb 2021 18:08:17 +0000 (19:08 +0100)
- more libpurple-devel dependencies

pidgin-nolibs.patch
pidgin.spec

index a88e1f7219fd18b279533e9ac38e20c6e891dac3..4fad0c7b88c52ae41bf496ce3cba19c6880d4fcf 100644 (file)
  AC_CHECK_FUNC(socket, ,
        [AC_CHECK_LIB(socket, socket, , [AC_MSG_ERROR([socket not found])])])
  dnl If all goes well, by this point the previous two checks will have
+@@ -1098,6 +1098,7 @@
+ PKG_CHECK_MODULES(LIBGADU, [libgadu >= 1.12.0], [have_libgadu=yes], [have_libgadu=no])
+ if test "x$have_libgadu" = "xyes"; then
++      save_LIBS="$LIBS"
+       AC_CHECK_LIB(gadu, gg_is_gpl_compliant, , [
+               LIBGADU_LIBS=""
+               LIBGADU_CFLAGS=""
+@@ -1112,6 +1113,7 @@
+ Falling back to using our own copy of libgadu.
+               ])
+       ])
++      LIBS="$save_LIBS"
+ fi
+ AM_CONDITIONAL(HAVE_LIBGADU, test "x$have_libgadu" = "xyes")
index 5e31af7f64613053f6ab3160e3862292352e1ed9..086f7ce07f8f249fa679569ac4e76499c8c38aef 100644 (file)
@@ -64,6 +64,7 @@ BuildRequires:        gettext-tools
 BuildRequires: glib2-devel >= 1:%{glib2_ver}
 %{?with_gnutls:BuildRequires:  gnutls-devel}
 BuildRequires: gstreamer-devel >= 1.0
+BuildRequires: gstreamer-plugins-base-devel >= 1.0
 BuildRequires: gtk+2-devel >= 2:%{gtk2_ver}
 %{?with_gtkspell:BuildRequires:        gtkspell-devel >= 1:2.0.16-2}
 BuildRequires: intltool
@@ -357,6 +358,10 @@ Requires:  dbus-devel >= 0.60
 Requires:      dbus-glib-devel >= 0.70
 %endif
 Requires:      farstream-devel >= 0.2.7
+Requires:      glib2-devel >= 1:%{glib2_ver}
+Requires:      gstreamer-devel >= 1.0
+Requires:      gstreamer-plugins-base-devel >= 1.0
+Requires:      libidn-devel
 Requires:      libxml2-devel >= 1:2.6.26
 Obsoletes:     pidgin-devel < 2.6.6-2
 
This page took 0.035321 seconds and 4 git commands to generate.