1 |
commit: 3b91a16ee30026156d9c0c422658911a9694a720 |
2 |
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 |
AuthorDate: Thu Dec 23 16:46:55 2021 +0000 |
4 |
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
5 |
CommitDate: Thu Dec 23 16:46:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b91a16e |
7 |
|
8 |
gui-apps/tiramisu: version bump to 2.0.20211107 |
9 |
|
10 |
now builds with vala |
11 |
|
12 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
13 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
14 |
|
15 |
gui-apps/tiramisu/Manifest | 1 + |
16 |
.../files/tiramisu-2.0.20211107-pkg-config.patch | 29 ++++++++++++++++++++++ |
17 |
...su-9999.ebuild => tiramisu-2.0.20211107.ebuild} | 11 +++++--- |
18 |
gui-apps/tiramisu/tiramisu-9999.ebuild | 11 +++++--- |
19 |
4 files changed, 44 insertions(+), 8 deletions(-) |
20 |
|
21 |
diff --git a/gui-apps/tiramisu/Manifest b/gui-apps/tiramisu/Manifest |
22 |
index c641bc93b..ae01e3ab8 100644 |
23 |
--- a/gui-apps/tiramisu/Manifest |
24 |
+++ b/gui-apps/tiramisu/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST tiramisu-1.0_p20201110.tar.gz 3063380 BLAKE2B 52b8f46478323b401dd5db96a531c86271b38d61991ee9147ccef400f2563fadacc92a289ef6ea2ccc01507cb1af57f0186a1690d39a421dcccb5d1f73ca3825 SHA512 7f8c978e6ead387fc9ccfb9eb15c73f237e10b14c8eb53e537a869402897e89451af371eabdf76506b9fcf51d6080b21d97863978de5e5e43af2b25578535b1d |
27 |
+DIST tiramisu-2.0.20211107.tar.gz 3061582 BLAKE2B d6ce0e96e7c41223d08c1581377d83c402cee495497c5ddc7aaf152dc569c6ea65ca602c3c06784e92509a64d2312ad8393a2312ac4acc522f209aae42d55c1c SHA512 ac205467e7e4bec1768040455902bed0bb545f8550d8d22c3ed94fec13cee04409bf1f3e49bd3136cd4f36d312fc553e950ce66eaeb20b4ba0ee7fb3160409fc |
28 |
|
29 |
diff --git a/gui-apps/tiramisu/files/tiramisu-2.0.20211107-pkg-config.patch b/gui-apps/tiramisu/files/tiramisu-2.0.20211107-pkg-config.patch |
30 |
new file mode 100644 |
31 |
index 000000000..9871eaf01 |
32 |
--- /dev/null |
33 |
+++ b/gui-apps/tiramisu/files/tiramisu-2.0.20211107-pkg-config.patch |
34 |
@@ -0,0 +1,29 @@ |
35 |
+diff --git a/Makefile b/Makefile |
36 |
+index 7660c8b..f009f4c 100644 |
37 |
+--- a/Makefile |
38 |
++++ b/Makefile |
39 |
+@@ -1,14 +1,15 @@ |
40 |
+-TARGET = tiramisu |
41 |
+-SRC := src/notification.vala src/dbus.vala src/tiramisu.vala |
42 |
++TARGET = tiramisu |
43 |
++SRC := src/notification.vala src/dbus.vala src/tiramisu.vala |
44 |
+ |
45 |
+-PREFIX ?= /usr/local |
46 |
+-INSTALL = install -Dm755 |
47 |
+-RM ?= rm -f |
48 |
++PREFIX ?= /usr/local |
49 |
++INSTALL = install -Dm755 |
50 |
++RM ?= rm -f |
51 |
++PKG_CONFIG ?= pkg-config |
52 |
+ |
53 |
+-VALAC ?= valac |
54 |
+-CFLAGS += -Wall -Wno-unused-value |
55 |
+-IFLAGS = --pkg gio-2.0 |
56 |
+-LFLAGS = `pkg-config --libs glib-2.0 gio-2.0` |
57 |
++VALAC ?= valac |
58 |
++CFLAGS += -Wall -Wno-unused-value |
59 |
++IFLAGS = --pkg gio-2.0 |
60 |
++LFLAGS = `$(PKG_CONFIG) --libs glib-2.0 gio-2.0` |
61 |
+ |
62 |
+ all: $(TARGET) |
63 |
+ |
64 |
|
65 |
diff --git a/gui-apps/tiramisu/tiramisu-9999.ebuild b/gui-apps/tiramisu/tiramisu-2.0.20211107.ebuild |
66 |
similarity index 75% |
67 |
copy from gui-apps/tiramisu/tiramisu-9999.ebuild |
68 |
copy to gui-apps/tiramisu/tiramisu-2.0.20211107.ebuild |
69 |
index 61e394264..2a8ff0ec9 100644 |
70 |
--- a/gui-apps/tiramisu/tiramisu-9999.ebuild |
71 |
+++ b/gui-apps/tiramisu/tiramisu-2.0.20211107.ebuild |
72 |
@@ -1,9 +1,9 @@ |
73 |
-# Copyright 1999-2020 Gentoo Authors |
74 |
+# Copyright 1999-2021 Gentoo Authors |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
|
77 |
EAPI=7 |
78 |
|
79 |
-inherit toolchain-funcs |
80 |
+inherit vala |
81 |
|
82 |
DESCRIPTION="minimalistic desktop notifications provider" |
83 |
HOMEPAGE="https://github.com/Sweets/tiramisu" |
84 |
@@ -21,10 +21,13 @@ SLOT="0" |
85 |
|
86 |
RDEPEND="dev-libs/glib:2[dbus]" |
87 |
DEPEND="${RDEPEND}" |
88 |
+BDEPEND="$(vala_depend)" |
89 |
|
90 |
-src_configure() { |
91 |
- tc-export CC |
92 |
+PATCHES=( "${FILESDIR}/tiramisu-2.0.20211107-pkg-config.patch" ) |
93 |
+ |
94 |
+src_prepare() { |
95 |
default |
96 |
+ vala_src_prepare |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
|
101 |
diff --git a/gui-apps/tiramisu/tiramisu-9999.ebuild b/gui-apps/tiramisu/tiramisu-9999.ebuild |
102 |
index 61e394264..2a8ff0ec9 100644 |
103 |
--- a/gui-apps/tiramisu/tiramisu-9999.ebuild |
104 |
+++ b/gui-apps/tiramisu/tiramisu-9999.ebuild |
105 |
@@ -1,9 +1,9 @@ |
106 |
-# Copyright 1999-2020 Gentoo Authors |
107 |
+# Copyright 1999-2021 Gentoo Authors |
108 |
# Distributed under the terms of the GNU General Public License v2 |
109 |
|
110 |
EAPI=7 |
111 |
|
112 |
-inherit toolchain-funcs |
113 |
+inherit vala |
114 |
|
115 |
DESCRIPTION="minimalistic desktop notifications provider" |
116 |
HOMEPAGE="https://github.com/Sweets/tiramisu" |
117 |
@@ -21,10 +21,13 @@ SLOT="0" |
118 |
|
119 |
RDEPEND="dev-libs/glib:2[dbus]" |
120 |
DEPEND="${RDEPEND}" |
121 |
+BDEPEND="$(vala_depend)" |
122 |
|
123 |
-src_configure() { |
124 |
- tc-export CC |
125 |
+PATCHES=( "${FILESDIR}/tiramisu-2.0.20211107-pkg-config.patch" ) |
126 |
+ |
127 |
+src_prepare() { |
128 |
default |
129 |
+ vala_src_prepare |
130 |
} |
131 |
|
132 |
src_install() { |