x11-libs/xapps: New upstream version 1.0.3
authorKristian Fiskerstrand <k_f@gentoo.org>
Sat, 24 Jun 2017 14:55:25 +0000 (16:55 +0200)
committerKristian Fiskerstrand <k_f@gentoo.org>
Sat, 24 Jun 2017 14:58:32 +0000 (16:58 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

x11-libs/xapps/Manifest
x11-libs/xapps/xapps-1.0.3.ebuild [new file with mode: 0644]

index 795ed39f5631f68cf62e8781a9c0744d6cab4856..ace91cf8306f2f3834d7ba5979033718facab192 100644 (file)
@@ -1 +1,2 @@
 DIST xapps-1.0.2.tar.gz 109067 SHA256 1443e9f319763f8b90749ea9669880005f315af060f7bbaa2b4241b4c4ca49a4 SHA512 59426a8e39af48eb6435cb649fd88601a1a324d284ed9d222f12b7e52e70a0b250235b5924af1ecb7d6f3abd6c8e53e0cf38672c94dff44193f01dbc90c35646 WHIRLPOOL 6e4f01f17c7450b246dbfbed3fa229315166f5223c051422be7fd8510df376d6e916ab5e9eaac645abd57e055ac89da81291aa73de38af6a9129497f1994201d
+DIST xapps-1.0.3.tar.gz 121490 SHA256 bb1b89b586eec67fc109140de791710c5b4ec488b01ef3ac261e288a27b4797e SHA512 1182062153fc7344f94e9a25e98a457237b54c4841e425d202f8b57751f288e460423ca7408a888aff7a2b162acd194efda332b6acbd0a5cc2c12ae9414ea3c3 WHIRLPOOL 43784ca1328d810f38a3843eb0ef9bc9ac9a30c4bbc524c4898e0f7f3c0e6bbe3ceb507be4d48e962f06be8a652ffbc4a80ac3ed76d0807cce80d1d86f87c211
diff --git a/x11-libs/xapps/xapps-1.0.3.ebuild b/x11-libs/xapps/xapps-1.0.3.ebuild
new file mode 100644 (file)
index 0000000..845c739
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools gnome2-utils xdg-utils
+
+DESCRIPTION="Cross-desktop libraries and common resources"
+HOMEPAGE="https://github.com/linuxmint/xapps/"
+LICENSE="GPL-3"
+
+SRC_URI="https://github.com/linuxmint/xapps/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+SLOT="0"
+IUSE="introspection static-libs"
+
+RDEPEND="
+       >=dev-libs/glib-2.37.3:2
+       dev-libs/gobject-introspection:0=
+       gnome-base/libgnomekbd
+       gnome-base/gnome-common
+       x11-libs/cairo
+       >=x11-libs/gdk-pixbuf-2.22.0:2[introspection?]
+       >=x11-libs/gtk+-3.3.16:3[introspection?]
+       x11-libs/libxkbfile
+"
+DEPEND="${RDEPEND}
+       sys-devel/gettext
+"
+
+src_prepare() {
+       xdg_environment_reset
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               $(use_enable introspection) \
+               $(use_enable static-libs static)
+}
+
+src_install() {
+       default
+       rm -rf "${ED%/}"/usr/bin || die
+
+       # package provides .pc files
+       find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}