Files
packages/libs/totem-pl-parser/Makefile
T
Wei-Ting Yang 1adc058454 treewide: add or correct license information
Add or correct license information across multiple packages.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-06-08 16:29:56 +03:00

65 lines
1.6 KiB
Makefile

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=totem-pl-parser
PKG_VERSION:=3.26.7
PKG_RELEASE:=2
PKG_SOURCE:=totem-pl-parser-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNOME/totem-pl-parser/$(basename $(PKG_VERSION))
PKG_HASH:=60d517c1acabe54ae337f64451264fc76730696eaae26b5480fb37166689b5f3
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
PKG_LICENSE:=LGPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING.LIB
PKG_BUILD_DEPENDS:=glib2/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
include $(INCLUDE_DIR)/meson.mk
define Package/totem-pl-parser
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+glib2 +libxml2 +shared-mime-info
TITLE:=totem-pl-parser
URL:=https://gitlab.gnome.org/GNOME/totem-pl-parser
endef
define Package/totem-pl-parser/description
totem-pl-parser is a simple GObject-based library to parse a host of playlist formats
endef
MESON_ARGS += -Dintrospection=false \
-Denable-libarchive=no \
-Denable-libgcrypt=no
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/totem-pl-parser/ \
$(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
$(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
$(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
$(1)/usr/lib/pkgconfig/
endef
define Package/totem-pl-parser/install
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
$(1)/usr/lib/
endef
$(eval $(call BuildPackage,totem-pl-parser))