mate-desktop / mate-terminal

The MATE Terminal Emulator
http://www.mate-desktop.org
GNU General Public License v3.0
134 stars 73 forks source link

build: Use PACKAGE_URL variable #373

Closed rbuj closed 3 years ago

rbuj commented 3 years ago

Test:

$ grep PACKAGE_URL config.h
#define PACKAGE_URL "https://mate-desktop.org"
$ grep homepage mate-terminal.appdata.xml
  <url type="homepage">https://mate-desktop.org</url>

usage:

$(var:suffix=replacement)

before:

appdata_in_files = mate-terminal.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)

after:

appdata_DATA = mate-terminal.appdata.xml
appdata_in_files = $(appdata_DATA:.xml=.xml.in)
appdata_in_in_files = $(appdata_in_files:.xml.in=.xml.in.in)
raveit65 commented 3 years ago

You did more as mentioned in commit message.

rbuj commented 3 years ago

@raveit65 done

rbuj commented 3 years ago

I also updated the meson.build file. The MATE components that currently support meson build are: