You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.6 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=totem-pl-parser
  7. PKG_VERSION:=3.26.6
  8. PKG_RELEASE:=1
  9. PKG_SOURCE:=totem-pl-parser-$(PKG_VERSION).tar.xz
  10. PKG_SOURCE_URL:=https://download.gnome.org/sources/totem-pl-parser/3.26/
  11. PKG_HASH:=c0df0f68d5cf9d7da43c81c7f13f11158358368f98c22d47722f3bd04bd3ac1c
  12. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  13. PKG_LICENSE:=LGPL-2-or-later
  14. PKG_LICENSE_FILES:=COPYING.LIB
  15. PKG_INSTALL:=1
  16. PKG_BUILD_DEPENDS:=glib2/host
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/nls.mk
  19. include $(INCLUDE_DIR)/meson.mk
  20. define Package/totem-pl-parser
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. DEPENDS:=+glib2 +libxml2
  24. TITLE:=totem-pl-parser
  25. URL:=https://gitlab.gnome.org/GNOME/totem-pl-parser
  26. endef
  27. define Package/totem-pl-parser/decription
  28. totem-pl-parser is a simple GObject-based library to parse a host of playlist formats
  29. endef
  30. MESON_ARGS += -Dintrospection=false \
  31. -Denable-libarchive=no \
  32. -Denable-libgcrypt=no
  33. define Build/InstallDev
  34. $(INSTALL_DIR) $(1)/usr/include/
  35. $(CP) \
  36. $(PKG_INSTALL_DIR)/usr/include/totem-pl-parser/ \
  37. $(1)/usr/include/
  38. $(INSTALL_DIR) $(1)/usr/lib/
  39. $(CP) \
  40. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  41. $(1)/usr/lib/
  42. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
  43. $(INSTALL_DATA) \
  44. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
  45. $(1)/usr/lib/pkgconfig/
  46. endef
  47. define Package/totem-pl-parser/install
  48. $(INSTALL_DIR) $(1)/usr/lib/
  49. $(CP) \
  50. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  51. $(1)/usr/lib/
  52. endef
  53. $(eval $(call BuildPackage,totem-pl-parser))