#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2024 Andreas Wacknitz
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

# We deliver 64-bit objects under usr/lib/weechat, pkglint dislikes this
<transform file path=usr/lib/weechat/.*\.so -> default pkg.linted.userland.action001.2 true >

file path=usr/bin/weechat
link path=usr/bin/weechat-curses target=weechat
file path=usr/bin/weechat-headless
file path=usr/include/weechat/weechat-plugin.h
file path=usr/lib/pkgconfig/weechat.pc
file path=usr/lib/weechat/plugins/alias.so
file path=usr/lib/weechat/plugins/buflist.so
file path=usr/lib/weechat/plugins/charset.so
file path=usr/lib/weechat/plugins/exec.so
file path=usr/lib/weechat/plugins/fifo.so
file path=usr/lib/weechat/plugins/fset.so
file path=usr/lib/weechat/plugins/guile.so
file path=usr/lib/weechat/plugins/irc.so
file path=usr/lib/weechat/plugins/logger.so
file path=usr/lib/weechat/plugins/lua.so
file path=usr/lib/weechat/plugins/perl.so
file path=usr/lib/weechat/plugins/python.so
file path=usr/lib/weechat/plugins/relay.so
file path=usr/lib/weechat/plugins/ruby.so
file path=usr/lib/weechat/plugins/script.so
file path=usr/lib/weechat/plugins/spell.so
file path=usr/lib/weechat/plugins/tcl.so
file path=usr/lib/weechat/plugins/trigger.so
file path=usr/lib/weechat/plugins/typing.so
file path=usr/lib/weechat/plugins/xfer.so
file path=usr/share/applications/weechat.desktop
file path=usr/share/icons/hicolor/128x128/apps/weechat.png
file path=usr/share/icons/hicolor/16x16/apps/weechat.png
file path=usr/share/icons/hicolor/256x256/apps/weechat.png
file path=usr/share/icons/hicolor/32x32/apps/weechat.png
file path=usr/share/icons/hicolor/512x512/apps/weechat.png
file path=usr/share/icons/hicolor/64x64/apps/weechat.png
file path=usr/share/locale/cs/LC_MESSAGES/weechat.mo
file path=usr/share/locale/de/LC_MESSAGES/weechat.mo
file path=usr/share/locale/es/LC_MESSAGES/weechat.mo
file path=usr/share/locale/fr/LC_MESSAGES/weechat.mo
file path=usr/share/locale/hu/LC_MESSAGES/weechat.mo
file path=usr/share/locale/it/LC_MESSAGES/weechat.mo
file path=usr/share/locale/ja/LC_MESSAGES/weechat.mo
file path=usr/share/locale/pl/LC_MESSAGES/weechat.mo
file path=usr/share/locale/pt/LC_MESSAGES/weechat.mo
file path=usr/share/locale/pt_BR/LC_MESSAGES/weechat.mo
file path=usr/share/locale/ru/LC_MESSAGES/weechat.mo
file path=usr/share/locale/sr/LC_MESSAGES/weechat.mo
file path=usr/share/locale/tr/LC_MESSAGES/weechat.mo