Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnow/files/, x11-misc/xsnow/
Date: Fri, 04 Sep 2020 12:42:01
Message-Id: 1599223314.3ce4311b7b37ff992b3ffd95ffa9b50a21d84d7b.jer@gentoo
1 commit: 3ce4311b7b37ff992b3ffd95ffa9b50a21d84d7b
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 4 12:40:22 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 4 12:41:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce4311b
7
8 x11-misc/xsnow: Version 3.0.7
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Closes: https://bugs.gentoo.org/show_bug.cgi?id=726216
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 x11-misc/xsnow/Manifest | 1 +
15 x11-misc/xsnow/files/xsnow-3.0.7-gamesdir.patch | 12 +++++++++
16 x11-misc/xsnow/xsnow-3.0.7.ebuild | 34 +++++++++++++++++++++++++
17 3 files changed, 47 insertions(+)
18
19 diff --git a/x11-misc/xsnow/Manifest b/x11-misc/xsnow/Manifest
20 index 63341784f64..433f4d3d6bf 100644
21 --- a/x11-misc/xsnow/Manifest
22 +++ b/x11-misc/xsnow/Manifest
23 @@ -1 +1,2 @@
24 DIST xsnow-1.42.tar.gz 56752 BLAKE2B b6feefa4aabc464097b099a0e48d27b9bd5d1b82bc02ca187ffd8ab810f3562c1d11ad01f18f79994699e1fb1fa520269976a35634388fbab2838e2e2bb122bd SHA512 7833f3c1834d64944a578dc71bbf09966d47a1b4878fb826cf121606e76c69544d96d73665572b45c47e0e017dd0cb0bf49f76799aeb859c1dc72348da4ff257
25 +DIST xsnow-3.0.7.tar.gz 322314 BLAKE2B 21c754daddb989a2f0771199d15342d0c08d23669525bbd9672537c200f7ff06d92708c256f2f89b483bb91947374195e4e95c2291425e630883cfe3b9898563 SHA512 1bc58d8c4542839ccc80c7612e472754f7471d2d72c61785b27d8a89d5e6826d40b892628bcea8c7dcfcf22e4c13db76a825a8c580a32f1ea74785f6c478fb79
26
27 diff --git a/x11-misc/xsnow/files/xsnow-3.0.7-gamesdir.patch b/x11-misc/xsnow/files/xsnow-3.0.7-gamesdir.patch
28 new file mode 100644
29 index 00000000000..9272ad83ab4
30 --- /dev/null
31 +++ b/x11-misc/xsnow/files/xsnow-3.0.7-gamesdir.patch
32 @@ -0,0 +1,12 @@
33 +--- a/src/Makefile.am
34 ++++ b/src/Makefile.am
35 +@@ -19,8 +19,7 @@
36 + #-#
37 + SUBDIRS = Pixmaps
38 +
39 +-gamesdir = $(exec_prefix)/games
40 +-games_PROGRAMS = xsnow
41 ++bin_PROGRAMS = xsnow
42 +
43 + xsnow_CPPFLAGS = $(XML_CFLAGS) $(GTK_CFLAGS) $(DBUS_CFLAGS) -DUSE_LIST_NODE_ALLOCATOR
44 + xsnow_LDADD = $(XML_LIBS) $(GTK_LIBS) $(DBUS_LIBS)
45
46 diff --git a/x11-misc/xsnow/xsnow-3.0.7.ebuild b/x11-misc/xsnow/xsnow-3.0.7.ebuild
47 new file mode 100644
48 index 00000000000..e5540612626
49 --- /dev/null
50 +++ b/x11-misc/xsnow/xsnow-3.0.7.ebuild
51 @@ -0,0 +1,34 @@
52 +# Copyright 1999-2020 Gentoo Authors
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI=7
56 +inherit autotools xdg
57 +
58 +DESCRIPTION="let it snow on your desktop and windows"
59 +HOMEPAGE="https://janswaal.home.xs4all.nl/Xsnow/ https://sourceforge.net/projects/xsnow/"
60 +SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
61 +
62 +LICENSE="freedist"
63 +SLOT="0"
64 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
65 +
66 +RDEPEND="
67 + dev-libs/glib:2
68 + dev-libs/libxml2
69 + sys-apps/dbus
70 + x11-libs/gtk+:3
71 + x11-libs/libX11
72 + x11-libs/libXpm
73 +"
74 +DEPEND="
75 + ${RDEPEND}
76 + x11-base/xorg-proto
77 +"
78 +PATCHES=(
79 + "${FILESDIR}"/${PN}-3.0.7-gamesdir.patch
80 +)
81 +
82 +src_prepare() {
83 + default
84 + eautoreconf
85 +}