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.

63 lines
1.5 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. define Build/InstallDev
  32. $(INSTALL_DIR) $(1)/usr/include/
  33. $(CP) \
  34. $(PKG_INSTALL_DIR)/usr/include/totem-pl-parser/ \
  35. $(1)/usr/include/
  36. $(INSTALL_DIR) $(1)/usr/lib/
  37. $(CP) \
  38. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  39. $(1)/usr/lib/
  40. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
  41. $(INSTALL_DATA) \
  42. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
  43. $(1)/usr/lib/pkgconfig/
  44. endef
  45. define Package/totem-pl-parser/install
  46. $(INSTALL_DIR) $(1)/usr/lib/
  47. $(CP) \
  48. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  49. $(1)/usr/lib/
  50. endef
  51. $(eval $(call BuildPackage,totem-pl-parser))