From 3281ac5c85633b9892cf054a6b1b3dbb73658226 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Fri, 7 Sep 2018 19:26:05 +0200 Subject: [PATCH] New package: tepl-4.2.0 --- common/shlibs | 1 + srcpkgs/tepl-devel | 1 + srcpkgs/tepl/template | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 120000 srcpkgs/tepl-devel create mode 100644 srcpkgs/tepl/template diff --git a/common/shlibs b/common/shlibs index 463011cbc1..3be4fc446e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3427,3 +3427,4 @@ libwx_gtk3u_media-3.0.so.0 wxWidgets-gtk3-3.0.4_1 libwx_gtk3u_ribbon-3.0.so.0 wxWidgets-gtk3-3.0.4_1 libwx_gtk3u_gl-3.0.so.0 wxWidgets-gtk3-3.0.4_1 libwx_gtk3u_stc-3.0.so.0 wxWidgets-gtk3-3.0.4_1 +libtepl-4.so.0 tepl-4.2.0_1 diff --git a/srcpkgs/tepl-devel b/srcpkgs/tepl-devel new file mode 120000 index 0000000000..9ae68b02ea --- /dev/null +++ b/srcpkgs/tepl-devel @@ -0,0 +1 @@ +tepl \ No newline at end of file diff --git a/srcpkgs/tepl/template b/srcpkgs/tepl/template new file mode 100644 index 0000000000..c9d5ee69eb --- /dev/null +++ b/srcpkgs/tepl/template @@ -0,0 +1,38 @@ +# Template file for 'tepl' +pkgname=tepl +version=4.2.0 +revision=1 +build_style=gnu-configure +configure_args="$(vopt_enable gir introspection)" +hostmakedepends="glib-devel pkg-config $(vopt_if gir gobject-introspection)" +makedepends="amtk-devel libglib-devel gtksourceview4-devel gtk+3-devel + libxml2-devel uchardet-devel" +short_desc="Text editor product line" +maintainer="Rasmus Thomsen " +license="GPL-3.0-or-later" +homepage="https://wiki.gnome.org/Projects/Tepl" +distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=8839d4428ecdd87fd5abc657ebbe5a9601a57262e9946845e47dec264e669ccd + +build_options="gir" +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir" +fi + +do_check() { + # Need X + : +} + +tepl-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - developement files" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + if [ "$build_option_gir" ]; then + vmove usr/share/gir-1.0 + fi + } +}