Browse Source

Merge pull request #4442 from MikePetullo/libdmapsharing

libdmapsharing: update to 2.9.38
lilik-openwrt-22.03
Hannu Nyman 8 years ago
committed by GitHub
parent
commit
7f2719b5c9
2 changed files with 5 additions and 21 deletions
  1. +5
    -4
      libs/libdmapsharing/Makefile
  2. +0
    -17
      libs/libdmapsharing/patches/003-make_unit_test_optional.patch

+ 5
- 4
libs/libdmapsharing/Makefile View File

@ -10,7 +10,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libdmapsharing PKG_NAME:=libdmapsharing
PKG_VERSION:=2.9.35
PKG_VERSION:=2.9.38
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
@ -20,7 +20,7 @@ PKG_LICENSE_FILES:=COPYING
PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.flyn.org/projects/libdmapsharing/ PKG_SOURCE_URL:=http://www.flyn.org/projects/libdmapsharing/
PKG_MD5SUM:=02008e1998646d0bb6ca45784133b748
PKG_MD5SUM:=2494161340c4c3c36907359eeddc4da3
PKG_FIXUP:=autoreconf PKG_FIXUP:=autoreconf
PKG_INSTALL:=1 PKG_INSTALL:=1
@ -44,8 +44,9 @@ define Package/libdmapsharing/decription
endef endef
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--disable-introspection \
--disable-gtk-doc
--disable-check \
--disable-gtk-doc \
--disable-introspection
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/include/


+ 0
- 17
libs/libdmapsharing/patches/003-make_unit_test_optional.patch View File

@ -1,17 +0,0 @@
--- a/configure.ac
+++ b/configure.ac
@@ -357,7 +357,13 @@ if test -n "$BUILD_DPAPVIEW" ; then
AC_WARN([will not build dpapview])
fi
-PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],have_check=yes,have_check=no)
+dnl Test if --enable-unit-test given
+AC_ARG_ENABLE(unit-test, [AC_HELP_STRING([--enable-unit-test],[enable unit test])])
+if test "x$enable_unit_test" = "xyes" ; then
+ PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],have_check=yes,have_check=no)
+else
+ have_check=no
+fi
AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
if test "x$have_check" = "xyes"; then
AC_DEFINE(HAVE_CHECK, 1, [Define if check support is enabled])

Loading…
Cancel
Save