2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
8 PKG_NAME
:=totem-pl-parser
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
16 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
17 PKG_LICENSE
:=LGPL-2-or-later
18 PKG_LICENSE_FILES
:=COPYING.LIB
20 PKG_BUILD_DEPENDS
:=glib2
/host
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/nls.mk
24 include $(INCLUDE_DIR
)/meson.mk
26 define Package
/totem-pl-parser
29 DEPENDS
:=+glib2
+libxml2
+shared-mime-info
30 TITLE
:=totem-pl-parser
31 URL
:=https
://gitlab.gnome.org
/GNOME
/totem-pl-parser
34 define Package
/totem-pl-parser
/decription
35 totem-pl-parser is a simple GObject-based library to parse a host of playlist formats
38 MESON_ARGS
+= -Dintrospection
=false \
39 -Denable-libarchive
=no \
42 define Build
/InstallDev
43 $(INSTALL_DIR
) $(1)/usr
/include/
45 $(PKG_INSTALL_DIR
)/usr
/include/totem-pl-parser
/ \
47 $(INSTALL_DIR
) $(1)/usr
/lib
/
49 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
51 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
53 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc \
54 $(1)/usr
/lib
/pkgconfig
/
57 define Package
/totem-pl-parser
/install
58 $(INSTALL_DIR
) $(1)/usr
/lib
/
60 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
64 $(eval
$(call BuildPackage
,totem-pl-parser
))