summaryrefslogtreecommitdiff
path: root/games-arcade/kobodeluxe
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-25 23:06:25 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-25 23:06:25 +0000
commit441d1370330332b7d78f238d2f5e13f7aed5e4e0 (patch)
tree6a5171dd615dfeee62a45044144c66e864738fb0 /games-arcade/kobodeluxe
parentab3da91fb6c91a9df52fff8f991570f456fd3c7a (diff)
gentoo christmass resync : 25.12.2020
Diffstat (limited to 'games-arcade/kobodeluxe')
-rw-r--r--games-arcade/kobodeluxe/Manifest3
-rw-r--r--games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-clang.patch22
-rw-r--r--games-arcade/kobodeluxe/kobodeluxe-0.5.1-r2.ebuild (renamed from games-arcade/kobodeluxe/kobodeluxe-0.5.1-r1.ebuild)13
3 files changed, 32 insertions, 6 deletions
diff --git a/games-arcade/kobodeluxe/Manifest b/games-arcade/kobodeluxe/Manifest
index 85770fb2b965..da3de5f90783 100644
--- a/games-arcade/kobodeluxe/Manifest
+++ b/games-arcade/kobodeluxe/Manifest
@@ -1,5 +1,6 @@
+AUX kobodeluxe-0.5.1-clang.patch 670 BLAKE2B bebded939e08b4a5184170c1527b4e9135e1c4be8ba3b788576778aab337f21eb96556ac7aefa8f3da76145abad1219a0840a8f58bf5dc8394b9b428f535b7c1 SHA512 7d36f7e537de05868107f34b1645db8f16e01317ab443d1cfb84eb4ab0ff8771e522539e37190bc555208e7ec996b90f4cfb130781232432d9d8a53fad18ca67
AUX kobodeluxe-0.5.1-glibc2.10.patch 219 BLAKE2B 78c45966711049c7715ae0efd18289be82b4ea3965d85338ab81c79f07785273a6d767cf471deace08722b3ab9b8581a45201e30343b9e6ad784d820256b7dd9 SHA512 77624a0e18958d76c938e9d1becb72803079364612056687fb955cc912bda9b4443c7e6245abb6a32cc3ff96b04c63993e3cd114f73115254efe7b50f749a45c
AUX kobodeluxe-0.5.1-glibc29.patch 2408 BLAKE2B c3abfe3594b2c43428d4e49a34285680a1ae2ac40106aac255aa2da846a67ecbcfcf8f5d8af48ca0adbf627d188f6a8941d6b4f75df3bdad39fff4d869b324e1 SHA512 de2014b9a0607ddb5853c63eb4c14daf4f14d2158697348d952305db09b4a8f84a3a918cd730085f01120b7cbcfae076afd73c559c1ddd46f5a9777c89e76897
DIST KoboDeluxe-0.5.1.tar.bz2 1781752 BLAKE2B d7f08ab9603b861f8992629bac9a65051a3c5fee6822f1951d57cbc5c31055a6cefeed098637dda84c0a1538645f47816848d767a4fa7916726b5784dfbc0414 SHA512 fc107e4367fd300574823aa40c68311d95de3a403d7c930963b8754aac14293f0624996fd77c4de0677921d11883047b68dd95df81eeb03078c37426ebd58afd
-EBUILD kobodeluxe-0.5.1-r1.ebuild 1236 BLAKE2B b34a08fdd3c518443f53af54f67d3edc96e6350b918e132688c569a430914eed0f23b6474a9f9ec286590e0fe1958f795d1ef9a943cabcabb4870049b15fe89e SHA512 fe75c34de56bb558cdda8d30d33aa392e70ae6750daac99e53752045e9321c02396149be685a5de4a162172fb09d56e4c4f15f2e3f9a12c2ae83594d043939fe
+EBUILD kobodeluxe-0.5.1-r2.ebuild 1274 BLAKE2B e448d47c8aa22955b9082a932550ab551fe465505d8b7875fbefdb2f20ab14532cf0219c02313fef5d34b0ab6a883cf904f6e8d196e5cb0d086bb4f633d5a88a SHA512 1793faf4183a24345edc641463fb387a47b54373077b7b2fc9818f2e1af17c8d34f35b3d95b8327067d625b8c3adc5ab59615a637cc5a42bc76a9602008fdb2c
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-clang.patch b/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-clang.patch
new file mode 100644
index 000000000000..7732b6e147d4
--- /dev/null
+++ b/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-clang.patch
@@ -0,0 +1,22 @@
+--- a/filemap.cpp
++++ b/filemap.cpp
+@@ -851,7 +851,7 @@
+ while(k)
+ {
+ if(strcmp(k->key, key) == 0 || all)
+- fprintf(f, "%s"FM_DEREF_TOKEN" --> \"%s\"\n", k->key, k->path);
++ fprintf(f, "%s" FM_DEREF_TOKEN " --> \"%s\"\n", k->key, k->path);
+ k = k->next;
+ }
+ }
+--- a/prefs.cpp
++++ b/prefs.cpp
+@@ -30,7 +30,7 @@
+ void prefs_t::init()
+ {
+ comment("--------------------------------------------");
+- comment(" Kobo Deluxe "VERSION" Configuration File");
++ comment(" Kobo Deluxe " VERSION " Configuration File");
+ comment("--------------------------------------------");
+ comment(" Switches - [no]<switch>");
+ comment(" Values - <key> [<value>|\"<string>\"]");
diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r1.ebuild b/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r2.ebuild
index ed655d6c5b87..b813ddc2a1b0 100644
--- a/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r1.ebuild
+++ b/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit desktop
MY_P="KoboDeluxe-${PV/_/}"
@@ -22,17 +22,20 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
+PATCHES=(
+ "${FILESDIR}"/${P}-glibc29.patch
+ "${FILESDIR}"/${P}-glibc2.10.patch
+ "${FILESDIR}"/${P}-clang.patch
+)
+
src_unpack() {
unpack ${A}
- cd "${S}"
+ cd "${S}" || die
unpack ./icons.tar.gz
}
src_prepare() {
default
- eapply \
- "${FILESDIR}"/${P}-glibc29.patch \
- "${FILESDIR}"/${P}-glibc2.10.patch
# Fix paths
sed -i \
-e 's:\$(datadir)/kobo-deluxe:$(datadir)/kobodeluxe:' \