summaryrefslogtreecommitdiff
path: root/dev-libs/kqoauth
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /dev-libs/kqoauth
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'dev-libs/kqoauth')
-rw-r--r--dev-libs/kqoauth/Manifest2
-rw-r--r--dev-libs/kqoauth/kqoauth-0.98-r3.ebuild (renamed from dev-libs/kqoauth/kqoauth-0.98-r2.ebuild)15
2 files changed, 12 insertions, 5 deletions
diff --git a/dev-libs/kqoauth/Manifest b/dev-libs/kqoauth/Manifest
index db8d3ded6dc5..1d92f346cba8 100644
--- a/dev-libs/kqoauth/Manifest
+++ b/dev-libs/kqoauth/Manifest
@@ -1,3 +1,3 @@
DIST kqoauth-0.98.tar.gz 37059 BLAKE2B d1214ac22cb52e7ead1be3ce7af2af9c4b2e1cb74e2b4bf3891300099c0a0abb0c7295fb4616adcb59cb4405eb52bec4097b48d39563ac407bfe692ce94492a2 SHA512 f89e0f046fb7fd7812548f94c460d7c18d4881972e155a99e07503e97fd46b6eada0de9f2c3a94af33ef5b1b3b489bbd5dc6738cee104fe2d11ed62e681c7979
-EBUILD kqoauth-0.98-r2.ebuild 976 BLAKE2B 611fdf2cf91b9a2f3d6ad640c30b2eeb3fb1ebb6b0b2f59233edf33153f660d4d329aeef7d2ca3f3d05a50c3670402a07635e8957b798f5f0c65cf731afe04dd SHA512 9b6dd2ed8de3c89573548149fdcceaf2e3ada6cf8d005c4085f80a59040c83593c4c46abcd5a69904cf9ccf58a21feba4d5f775207662bdec6f05c67f2656095
+EBUILD kqoauth-0.98-r3.ebuild 1157 BLAKE2B d092dca4d5ee1b6f603f03ef5004af596548259122f442db151a6e75881ef9f22fc5b88842f03033c2200f43d370efa517f7db5b75d3696e7f6f321678eb6cdc SHA512 0fdbe01fced1aad9d173f1e2ef20e1a6118b29029afa7ada2ce57f546563a598b95d28ac88d763b85b25c9779cd997431280895817c6fadcce5253491453bae5
MISC metadata.xml 443 BLAKE2B e38dcf6daed9ac5a23061075de0f992b2e3a879ca35450617ce70dc3a007ea989ffce209a4ac150a98cfe37c6bd013484a3dca219934479128ad11bc493a7b93 SHA512 56182d7d36d0d01d2a64393e60cefb440650b46dbc45e102cfa7f3fe6431552dd4dfa03eb4f34a284fb8dfafa14ef711fb8586a7beaf6aed71f6048401c89aaf
diff --git a/dev-libs/kqoauth/kqoauth-0.98-r2.ebuild b/dev-libs/kqoauth/kqoauth-0.98-r3.ebuild
index af40313065f8..e557c8191dfb 100644
--- a/dev-libs/kqoauth/kqoauth-0.98-r2.ebuild
+++ b/dev-libs/kqoauth/kqoauth-0.98-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit qmake-utils
+inherit multilib qmake-utils
DESCRIPTION="Library for Qt that implements the OAuth 1.0 authentication specification"
HOMEPAGE="https://github.com/kypeli/kQOAuth"
@@ -30,11 +30,18 @@ src_prepare() {
# prevent tests from beeing built at src_compile
sed -i -e '/SUBDIRS/s/ tests//' ${PN}.pro || die "sed on ${PN}.pro failed"
# respect libdir
- sed -e 's:{INSTALL_PREFIX}/lib:[QT_INSTALL_LIBS]:g'\
- -i src/src.pro || die "sed on src.pro failed"
+ sed -e 's:{INSTALL_PREFIX}/lib:[QT_INSTALL_LIBS]:g' -i src/src.pro || die "sed on src.pro failed"
- sed -e "s/TARGET = kqoauth/TARGET = kqoauth-qt5/g" \
+ sed \
+ -e "s/TARGET = kqoauth/TARGET = kqoauth-qt5/g" \
-i src/src.pro || die
+
+ # upstream .pc is aimed at Qt4
+ sed \
+ -e "/^Libs/s/lkqoauth/&-qt5/" \
+ -e "/^libdir/s/lib$/$(get_libdir)/" \
+ -e "/^Requires/s/Qt/Qt5/g" \
+ -i src/pcfile.sh || die
}
src_configure() {