summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-07 11:24:27 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-07 11:25:33 +0200
commit1fdb0bcfc939df9627bb06171b8ca58a8d67dfdb (patch)
tree6db9d70eee61ef7bf609138a5b7f564a46019d24 /sci-electronics/klayout
parentapp-crypt/aespipe: version bump (diff)
downloadgentoo-1fdb0bcfc939df9627bb06171b8ca58a8d67dfdb.tar.gz
gentoo-1fdb0bcfc939df9627bb06171b8ca58a8d67dfdb.tar.bz2
gentoo-1fdb0bcfc939df9627bb06171b8ca58a8d67dfdb.zip
sci-electronics/klayout: Simplify; remove upstreamed patch
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'sci-electronics/klayout')
-rw-r--r--sci-electronics/klayout/files/klayout-9999-expert.patch104
-rw-r--r--sci-electronics/klayout/klayout-9999.ebuild9
2 files changed, 1 insertions, 112 deletions
diff --git a/sci-electronics/klayout/files/klayout-9999-expert.patch b/sci-electronics/klayout/files/klayout-9999-expert.patch
deleted file mode 100644
index 6fb1b8734303..000000000000
--- a/sci-electronics/klayout/files/klayout-9999-expert.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-diff --git a/build.sh b/build.sh
-index ad9ac30..6a61904 100755
---- a/build.sh
-+++ b/build.sh
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/bin/bash
-
- #
- # KLayout Layout Viewer
-@@ -44,6 +44,7 @@ RPATH=""
- MAKE_OPT=""
-
- CONFIG="release"
-+BUILD_EXPERT=0
-
- # Check, whether build.sh is run from the top level folder
- if ! [ -e src ] || ! [ -e src/klayout.pro ]; then
-@@ -75,6 +76,9 @@ while [ "$*" != "" ]; do
- -debug)
- CONFIG="debug"
- ;;
-+ -expert)
-+ BUILD_EXPERT=1
-+ ;;
- -python)
- PYTHON="$1"
- shift
-@@ -500,28 +504,53 @@ $QMAKE -v
- # Force a minimum rebuild because of version info
- touch $CURR_DIR/src/version/version.h
-
--qmake_cmd="$QMAKE $CURR_DIR/src/klayout.pro -recursive \
-- CONFIG+=$CONFIG \
-- RUBYLIBFILE=$RUBYLIBFILE \
-- RUBYINCLUDE=$RUBYINCLUDE \
-- RUBYINCLUDE2=$RUBYINCLUDE2 \
-- RUBYVERSIONCODE=$RUBYVERSIONCODE \
-- HAVE_RUBY=$HAVE_RUBY \
-- PYTHONLIBFILE=$PYTHONLIBFILE \
-- PYTHONINCLUDE=$PYTHONINCLUDE \
-- HAVE_PYTHON=$HAVE_PYTHON \
-- HAVE_QTBINDINGS=$HAVE_QTBINDINGS \
-- HAVE_64BIT_COORD=$HAVE_64BIT_COORD \
-- HAVE_QT5=$HAVE_QT5 \
-- PREFIX='$BIN' \
-- RPATH='$RPATH' \
-- KLAYOUT_VERSION=$KLAYOUT_VERSION \
-- KLAYOUT_VERSION_DATE=$KLAYOUT_VERSION_DATE \
-- KLAYOUT_VERSION_REV=$KLAYOUT_VERSION_REV \
--"
--
--echo $qmake_cmd
--$qmake_cmd
-+qmake_options=(
-+ -recursive
-+ CONFIG+="$CONFIG"
-+ RUBYLIBFILE="$RUBYLIBFILE"
-+ RUBYINCLUDE="$RUBYINCLUDE"
-+ RUBYINCLUDE2="$RUBYINCLUDE2"
-+ RUBYVERSIONCODE="$RUBYVERSIONCODE"
-+ HAVE_RUBY="$HAVE_RUBY"
-+ PYTHONLIBFILE="$PYTHONLIBFILE"
-+ PYTHONINCLUDE="$PYTHONINCLUDE"
-+ HAVE_PYTHON="$HAVE_PYTHON"
-+ HAVE_QTBINDINGS="$HAVE_QTBINDINGS"
-+ HAVE_64BIT_COORD="$HAVE_64BIT_COORD"
-+ HAVE_QT5="$HAVE_QT5"
-+ PREFIX="$BIN"
-+ RPATH="$RPATH"
-+ KLAYOUT_VERSION="$KLAYOUT_VERSION"
-+ KLAYOUT_VERSION_DATE="$KLAYOUT_VERSION_DATE"
-+ KLAYOUT_VERSION_REV="$KLAYOUT_VERSION_REV"
-+)
-+
-+if [ $BUILD_EXPERT = 1 ]; then
-+ qmake_options+=(
-+ QMAKE_AR="$AR cqs"
-+ QMAKE_LINK_C="$CC"
-+ QMAKE_LINK_C_SHLIB="$CC"
-+ QMAKE_LINK="$CXX"
-+ QMAKE_LINK_SHLIB="$CXX"
-+ QMAKE_OBJCOPY="$OBJCOPY"
-+ QMAKE_RANLIB=
-+ QMAKE_STRIP=
-+ QMAKE_CC="$CC"
-+ QMAKE_CXX="$CXX"
-+ QMAKE_CFLAGS="$CFLAGS"
-+ QMAKE_CFLAGS_RELEASE=
-+ QMAKE_CFLAGS_DEBUG=
-+ QMAKE_CXXFLAGS="$CXXFLAGS"
-+ QMAKE_CXXFLAGS_RELEASE=
-+ QMAKE_CXXFLAGS_DEBUG=
-+ QMAKE_LFLAGS="$LDFLAGS"
-+ QMAKE_LFLAGS_RELEASE=
-+ QMAKE_LFLAGS_DEBUG=
-+ )
-+fi
-+
-+echo $QMAKE "$CURR_DIR/src/klayout.pro" "${qmake_options[@]}"
-+$QMAKE "$CURR_DIR/src/klayout.pro" "${qmake_options[@]}"
-
- cd $CURR_DIR
- echo ""
diff --git a/sci-electronics/klayout/klayout-9999.ebuild b/sci-electronics/klayout/klayout-9999.ebuild
index c7e32ad87f9e..d6a39fafedfe 100644
--- a/sci-electronics/klayout/klayout-9999.ebuild
+++ b/sci-electronics/klayout/klayout-9999.ebuild
@@ -37,10 +37,6 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-PATCHES=(
- "${FILESDIR}/${PN}-9999-expert.patch"
-)
-
pkg_setup() {
python-single-r1_pkg_setup
ruby-ng_pkg_setup
@@ -61,10 +57,7 @@ each_ruby_configure() {
-option "${MAKEOPTS}" \
-with-qtbinding \
-without-64bit-coord \
- -qt5 \
- -qtbin /usr/lib64/qt5/bin \
- -qtinc /usr/include/qt5 \
- -qtlib "/usr/$(get_libdir)/qt5" || die "Configuration failed"
+ -qt5 || die "Configuration failed"
}
each_ruby_compile() {