Change xed-xapps build-style to meson
This allows to use xbps-src flags when building. The samu helper was also dropped in favor of ninja.
This commit is contained in:
parent
3ac31c4e3e
commit
5c0e1f3f49
1 changed files with 2 additions and 17 deletions
|
@ -1,9 +1,10 @@
|
|||
# Template file for 'xed-xapps'
|
||||
pkgname=xed-xapps
|
||||
version=3.2.7
|
||||
revision=1
|
||||
revision=2
|
||||
nostrip=yes
|
||||
wrksrc=xed-${version}
|
||||
build_style="meson"
|
||||
repository="cereus-extra"
|
||||
hostmakedepends="meson samurai xapps-devel"
|
||||
makedepends="meson samurai gobject-introspection intltool itstool xapps-devel pkg-config cmake libxml2-devel gtksourceview4-devel gspell-devel libpeas-devel base-devel libxkbfile-devel glib-devel"
|
||||
|
@ -15,22 +16,6 @@ homepage="https://github.com/linuxmint/xed"
|
|||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=70d5dc2a004c8120a66e11256946e87fae2e0d3ade3d22e8fdc92e11f62300d8
|
||||
|
||||
do_build() {
|
||||
mkdir -p ${wrksrc}/build
|
||||
cd ${wrksrc}/build
|
||||
|
||||
meson --prefix=/usr \
|
||||
--libexecdir=lib/xed \
|
||||
--buildtype=plain \
|
||||
..
|
||||
samu
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd ${wrksrc}/build
|
||||
DESTDIR="${DESTDIR}" samu install
|
||||
}
|
||||
|
||||
xed-xapps-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} gtksourceview4-devel
|
||||
libpeas-devel libpeas-devel xapps-devel"
|
||||
|
|
Loading…
Add table
Reference in a new issue