mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
x11-plugins/pidgin-musictracker: fix deps, change pkg-config with $PKG_CONFIG
Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/44931 Closes: https://github.com/gentoo/gentoo/pull/44931 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -27,14 +27,15 @@
|
||||
DEBUG_CFLAGS="-g -O0"
|
||||
fi
|
||||
AC_SUBST(DEBUG_CFLAGS)
|
||||
+PKG_PROG_PKG_CONFIG
|
||||
|
||||
PKG_CHECK_MODULES([PIDGIN],[pidgin >= 2.0.0],,AC_MSG_ERROR([
|
||||
*** Pidgin 2.0+ is required to build pidgin-musictracker
|
||||
*** Please make sure you have the Pidgin development files installed.
|
||||
*** The latest version of Pidgin is always available at http://pidgin.im/]))
|
||||
AC_SUBST(PIDGIN_CFLAGS)
|
||||
-PIDGIN_LIBDIR=`pkg-config --variable=libdir pidgin`
|
||||
-PIDGIN_DATADIR=`pkg-config --variable=datadir pidgin`
|
||||
+PIDGIN_LIBDIR=`$PKG_CONFIG --variable=libdir pidgin`
|
||||
+PIDGIN_DATADIR=`$PKG_CONFIG --variable=datadir pidgin`
|
||||
AC_SUBST(PIDGIN_LIBDIR)
|
||||
AC_SUBST(PIDGIN_DATADIR)
|
||||
|
||||
@@ -96,8 +97,6 @@
|
||||
AC_SUBST(PCRE_LIBS)
|
||||
AC_SUBST(PCRE_CFLAGS)
|
||||
|
||||
-AC_PREFIX_DEFAULT(`pkg-config --variable=prefix pidgin`)
|
||||
-
|
||||
AC_CONFIG_FILES([ po/Makefile.in
|
||||
Makefile
|
||||
README
|
||||
@@ -16,13 +16,20 @@ IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/dbus-glib
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpcre
|
||||
net-im/pidgin[gui]
|
||||
sys-apps/dbus
|
||||
x11-libs/gtk+:2
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="sys-devel/gettext"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-configure.patch
|
||||
"${FILESDIR}"/${P}-fno-common.patch
|
||||
"${FILESDIR}"/${P}-fix-includes.patch
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user