1 |
commit: de8d5c247b2699a7c713f13557e1cca59915f9b9 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 7 14:21:25 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 7 14:21:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de8d5c24 |
7 |
|
8 |
media-sound/qsynth: bump to 0.9.1, xdg-utils -> xdg, updated live |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
media-sound/qsynth/Manifest | 1 + |
14 |
.../files/qsynth-0.9.1-cmake-no-git-version.patch | 21 +++++++++++++++++++++ |
15 |
.../{qsynth-9999.ebuild => qsynth-0.9.1.ebuild} | 12 +++--------- |
16 |
media-sound/qsynth/qsynth-9999.ebuild | 10 +--------- |
17 |
4 files changed, 26 insertions(+), 18 deletions(-) |
18 |
|
19 |
diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest |
20 |
index b6fb37b4356..c24bb02be3e 100644 |
21 |
--- a/media-sound/qsynth/Manifest |
22 |
+++ b/media-sound/qsynth/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST qsynth-0.6.3.tar.gz 382990 BLAKE2B 37565c86b077602cd681b92aaea20d4aa07db1c4cf51d391562b5226ddde70dad0a3f641f0fcf54f35c6bb1a9e487a779c22237b0c8087666b7a2c1dea8a511e SHA512 7320a355b5fbb347b04b46fdfe86c13ab18b264cff09f2ed133e2b065febac27e58bd709eea284b4d0f98034059647ad6e9b97638fdd75edb1524fd3cf9f07a2 |
25 |
DIST qsynth-0.9.0.tar.gz 383118 BLAKE2B d9464a2f122d7281ff69171c431fff72d05886ec130d20aae8d8f122e1cefd1180b8bcdc157f324c5cdbc7e2c524c82a9cc7f481efc8b69912ce61912e73ed58 SHA512 5cc0e099cd05f3639ded81642bde80205c8921b65d22dcb32d40ac874107043edeb672e69d7e4734e0fd37a498be2e5b787f0b8c1707be45e39cfab616fd522c |
26 |
+DIST qsynth-0.9.1.tar.gz 393897 BLAKE2B f63766614d821409cd12e418e36b8dbd739da8e2cd7deae91c2b00dd4f5ba2f447a3ca19c3829de3282e368baa37567333be051641221300d13dd7948d762008 SHA512 70bba332b90963d1c1da18fb3de8f05544fed3406c2144b6ed78cf93720cbcb684ff367d7ef4bc80be94ebea060b38753ae0cb183e85f96f127014c08de701b0 |
27 |
|
28 |
diff --git a/media-sound/qsynth/files/qsynth-0.9.1-cmake-no-git-version.patch b/media-sound/qsynth/files/qsynth-0.9.1-cmake-no-git-version.patch |
29 |
new file mode 100644 |
30 |
index 00000000000..9ea401abc26 |
31 |
--- /dev/null |
32 |
+++ b/media-sound/qsynth/files/qsynth-0.9.1-cmake-no-git-version.patch |
33 |
@@ -0,0 +1,21 @@ |
34 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
35 |
+index 47ea36f..0194f32 100644 |
36 |
+--- a/CMakeLists.txt |
37 |
++++ b/CMakeLists.txt |
38 |
+@@ -8,6 +8,7 @@ project(qsynth |
39 |
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") |
40 |
+ |
41 |
+ set (CONFIG_VERSION ${PROJECT_VERSION}) |
42 |
++#[[ |
43 |
+ execute_process ( |
44 |
+ COMMAND git describe --tags --dirty --abbrev=6 |
45 |
+ OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT |
46 |
+@@ -29,6 +30,8 @@ if (GIT_DESCRIBE_RESULT EQUAL 0) |
47 |
+ else () |
48 |
+ set (VERSION "${PROJECT_VERSION}") |
49 |
+ endif () |
50 |
++]] |
51 |
++set (VERSION "${PROJECT_VERSION}") |
52 |
+ |
53 |
+ set (PACKAGE_NAME "Qsynth") |
54 |
+ set (PACKAGE_VERSION "${VERSION}") |
55 |
|
56 |
diff --git a/media-sound/qsynth/qsynth-9999.ebuild b/media-sound/qsynth/qsynth-0.9.1.ebuild |
57 |
similarity index 91% |
58 |
copy from media-sound/qsynth/qsynth-9999.ebuild |
59 |
copy to media-sound/qsynth/qsynth-0.9.1.ebuild |
60 |
index b0cfa6dfb05..dac583b64db 100644 |
61 |
--- a/media-sound/qsynth/qsynth-9999.ebuild |
62 |
+++ b/media-sound/qsynth/qsynth-0.9.1.ebuild |
63 |
@@ -3,7 +3,7 @@ |
64 |
|
65 |
EAPI=7 |
66 |
|
67 |
-inherit cmake desktop qmake-utils xdg-utils |
68 |
+inherit cmake desktop qmake-utils xdg |
69 |
|
70 |
DESCRIPTION="Qt application to control FluidSynth" |
71 |
HOMEPAGE="https://qsynth.sourceforge.io/" |
72 |
@@ -34,6 +34,8 @@ DEPEND=" |
73 |
" |
74 |
RDEPEND="${DEPEND}" |
75 |
|
76 |
+PATCHES=( "${FILESDIR}/${P}-cmake-no-git-version.patch" ) |
77 |
+ |
78 |
src_prepare() { |
79 |
cmake_src_prepare |
80 |
|
81 |
@@ -67,11 +69,3 @@ src_install() { |
82 |
|
83 |
make_desktop_entry "${cmd}" Qsynth qsynth |
84 |
} |
85 |
- |
86 |
-pkg_postinst() { |
87 |
- xdg_icon_cache_update |
88 |
-} |
89 |
- |
90 |
-pkg_postrm() { |
91 |
- xdg_icon_cache_update |
92 |
-} |
93 |
|
94 |
diff --git a/media-sound/qsynth/qsynth-9999.ebuild b/media-sound/qsynth/qsynth-9999.ebuild |
95 |
index b0cfa6dfb05..f2e790dc5a2 100644 |
96 |
--- a/media-sound/qsynth/qsynth-9999.ebuild |
97 |
+++ b/media-sound/qsynth/qsynth-9999.ebuild |
98 |
@@ -3,7 +3,7 @@ |
99 |
|
100 |
EAPI=7 |
101 |
|
102 |
-inherit cmake desktop qmake-utils xdg-utils |
103 |
+inherit cmake desktop qmake-utils xdg |
104 |
|
105 |
DESCRIPTION="Qt application to control FluidSynth" |
106 |
HOMEPAGE="https://qsynth.sourceforge.io/" |
107 |
@@ -67,11 +67,3 @@ src_install() { |
108 |
|
109 |
make_desktop_entry "${cmd}" Qsynth qsynth |
110 |
} |
111 |
- |
112 |
-pkg_postinst() { |
113 |
- xdg_icon_cache_update |
114 |
-} |
115 |
- |
116 |
-pkg_postrm() { |
117 |
- xdg_icon_cache_update |
118 |
-} |