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