Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde-sunset:master commit in: app-crypt/qca/files/, app-crypt/qca/
Date: Mon, 30 Nov 2020 01:10:35
Message-Id: 1606698371.eaba3141ee60c71c1600e30c5bfa27ad2005f923.asturm@gentoo
1 commit: eaba3141ee60c71c1600e30c5bfa27ad2005f923
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 30 01:06:11 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 30 01:06:11 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=eaba3141
7
8 app-crypt/qca: Drop 1.0-r3
9
10 Package-Manager: Portage-3.0.11, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-crypt/qca/files/qca-1.0-fbsd.patch | 33 --------------------
14 app-crypt/qca/files/qca-pathfix.patch | 11 -------
15 app-crypt/qca/qca-1.0-r3.ebuild | 56 ----------------------------------
16 3 files changed, 100 deletions(-)
17
18 diff --git a/app-crypt/qca/files/qca-1.0-fbsd.patch b/app-crypt/qca/files/qca-1.0-fbsd.patch
19 deleted file mode 100644
20 index ce541a21..00000000
21 --- a/app-crypt/qca/files/qca-1.0-fbsd.patch
22 +++ /dev/null
23 @@ -1,33 +0,0 @@
24 -diff -x '*~' -ur qca-1.0/configure qca-1.0-fixed/configure
25 ---- qca-1.0/configure 2003-12-10 01:06:43.000000000 +0100
26 -+++ qca-1.0-fixed/configure 2005-05-24 18:03:08.912751344 +0200
27 -@@ -1,4 +1,4 @@
28 --#!/bin/sh
29 -+#!/bin/bash
30 -
31 - show_usage() {
32 - cat <<EOT
33 -@@ -17,12 +17,12 @@
34 - while [ $# -gt 0 ]; do
35 - case "$1" in
36 - --prefix=*)
37 -- PREFIX=`expr "${1}" : "--prefix=\(.*\)"`
38 -+ PREFIX="${1/--prefix=/}"
39 - shift
40 - ;;
41 -
42 - --qtdir=*)
43 -- QTDIR=`expr "${1}" : "--qtdir=\(.*\)"`
44 -+ QTDIR="${1/--qtdir=/}"
45 - shift
46 - ;;
47 -
48 -@@ -76,7 +76,7 @@
49 - echo Warning: qmake not in \$QTDIR/bin/qmake
50 - echo trying to find it in \$PATH
51 - fi
52 -- qm=`type -p qmake`
53 -+ qm=`which qmake`
54 - if [ -x "$qm" ]; then
55 - if [ "$QC_DEBUG" = "Y" ]; then
56 - echo qmake found in $qm
57
58 diff --git a/app-crypt/qca/files/qca-pathfix.patch b/app-crypt/qca/files/qca-pathfix.patch
59 deleted file mode 100644
60 index 6a2a5ac7..00000000
61 --- a/app-crypt/qca/files/qca-pathfix.patch
62 +++ /dev/null
63 @@ -1,11 +0,0 @@
64 ---- qca.pro 2003-10-22 15:14:43.000000000 +0100
65 -+++ qca.pro-patched 2005-01-04 15:50:49.928406816 +0000
66 -@@ -1,7 +1,7 @@
67 - # qca qmake profile
68 -
69 - TEMPLATE = lib
70 --CONFIG += qt thread release
71 -+CONFIG += qt thread release no_fixpath
72 - TARGET = qca
73 -
74 - MOC_DIR = .moc
75
76 diff --git a/app-crypt/qca/qca-1.0-r3.ebuild b/app-crypt/qca/qca-1.0-r3.ebuild
77 deleted file mode 100644
78 index aa9a7e97..00000000
79 --- a/app-crypt/qca/qca-1.0-r3.ebuild
80 +++ /dev/null
81 @@ -1,56 +0,0 @@
82 -# Copyright 1999-2013 Gentoo Foundation
83 -# Distributed under the terms of the GNU General Public License v2
84 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-1.0-r3.ebuild,v 1.11 2008/12/02 23:15:17 ranger Exp $
85 -
86 -EAPI=1
87 -
88 -inherit eutils qt3
89 -
90 -DESCRIPTION="Qt Cryptographic Architecture (QCA)"
91 -HOMEPAGE="http://delta.affinix.com/qca/"
92 -SRC_URI="http://delta.affinix.com/download/${PN}/${P}.tar.bz2"
93 -
94 -LICENSE="GPL-2"
95 -SLOT="0"
96 -KEYWORDS="~alpha amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc x86"
97 -IUSE=""
98 -
99 -DEPEND="dev-qt/qt-meta:3"
100 -RDEPEND="${DEPEND}"
101 -
102 -src_unpack() {
103 - unpack ${A}
104 - cd "${S}"
105 - epatch "${FILESDIR}"/qca-pathfix.patch
106 - #This is needed just in bsd, but make no harm in linux
107 - epatch "${FILESDIR}"/qca-1.0-fbsd.patch
108 -}
109 -
110 -src_compile() {
111 - ./configure --prefix=/usr || die "configure failed"
112 - sed -i \
113 - -e "/^CFLAGS/s:$: ${CFLAGS}:" \
114 - -e "/^CXXFLAGS/s:$: ${CXXFLAGS}:" \
115 - -e "/-strip/d" \
116 - Makefile
117 - emake || die "emake failed"
118 -}
119 -
120 -src_install() {
121 - emake INSTALL_ROOT="${D}" install || die "make install failed"
122 -
123 - dodir "/usr/include/qca1"
124 - dodir "/usr/lib/qca1"
125 - mv "${D}/usr/include"/* "${D}/usr/include/qca1"
126 - mv "${D}/usr/lib"/* "${D}/usr/lib/qca1"
127 -
128 - local _libdir=$(get_libdir)
129 - if [[ "${_libdir}" != "lib" ]]; then
130 - mv "${D}"/usr/lib "${D}"/usr/${_libdir}
131 - fi
132 -
133 - cat <<-EOF > "${T}/44qca1"
134 - LDPATH=/usr/${_libdir}/qca1
135 - EOF
136 - doenvd "${T}/44qca1"
137 -}