From 0f055a9e0e21a7c255ae041cb1be465eab07da9c Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Wed, 9 Nov 2016 14:26:15 -0600 Subject: [PATCH] New package: xapps-1.0.2 --- common/shlibs | 1 + srcpkgs/xapps-devel | 1 + srcpkgs/xapps/patches/paster.patch | 11 +++++++++++ srcpkgs/xapps/template | 28 ++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 120000 srcpkgs/xapps-devel create mode 100644 srcpkgs/xapps/patches/paster.patch create mode 100644 srcpkgs/xapps/template diff --git a/common/shlibs b/common/shlibs index 1c698dec669..6ed1ddadeda 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2656,3 +2656,4 @@ libpcre2-8.so.0 libpcre2-10.22_1 libpcre2-posix.so.1 libpcre2-10.22_1 libgnome-autoar-0.so.0 gnome-autoar-0.1.1_1 libgnome-autoar-gtk-0.so.0 gnome-autoar-0.1.1_1 +libxapp.so.1 xapps-1.0.2_1 diff --git a/srcpkgs/xapps-devel b/srcpkgs/xapps-devel new file mode 120000 index 00000000000..993477a504c --- /dev/null +++ b/srcpkgs/xapps-devel @@ -0,0 +1 @@ +xapps \ No newline at end of file diff --git a/srcpkgs/xapps/patches/paster.patch b/srcpkgs/xapps/patches/paster.patch new file mode 100644 index 00000000000..9838aa9e49d --- /dev/null +++ b/srcpkgs/xapps/patches/paster.patch @@ -0,0 +1,11 @@ +--- files/usr/bin/pastebin.orig 2016-11-10 01:27:40.693838803 -0600 ++++ files/usr/bin/pastebin 2016-11-10 01:28:05.234837754 -0600 +@@ -22,7 +22,7 @@ + content = str_args + + if content != "": +- for paster in ['/usr/bin/gist-paste', '/usr/bin/fpaste']: ++ for paster in ['/usr/bin/gist']: + if os.path.exists(paster): + p = subprocess.Popen([paster], stdin=subprocess.PIPE) + p.communicate(content.encode("UTF-8")) diff --git a/srcpkgs/xapps/template b/srcpkgs/xapps/template new file mode 100644 index 00000000000..551c08860cf --- /dev/null +++ b/srcpkgs/xapps/template @@ -0,0 +1,28 @@ +# Template file for 'xapps' +pkgname=xapps +version=1.0.2 +revision=1 +build_style=gnu-configure +hostmakedepends="gnome-common glib-devel intltool pkg-config libtool intltool" +makedepends="gettext-devel gobject-introspection gtk+3-devel gdk-pixbuf-devel libgnomekbd-devel" +depends="inxi gist xfconf" +short_desc="Cross-desktop libraries and common resources from Linux Mint" +maintainer="Michael Aldridge " +license="GPL-2" +homepage="https://github.com/linuxmint/xapps" +distfiles="https://github.com/linuxmint/xapps/archive/${version}.tar.gz" +checksum=1443e9f319763f8b90749ea9669880005f315af060f7bbaa2b4241b4c4ca49a4 + +pre_configure() { + ./autogen.sh +} + +xapps-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/lib/libxapp.so + vmove usr/include + vmove usr/lib/pkgconfig + } +}