summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Carreira <jfmcarreira@gmail.com>2014-09-18 02:50:37 +0100
committerJoao Carreira <jfmcarreira@gmail.com>2014-09-18 02:50:37 +0100
commit7dda3d9221f46dd449fc2d97812d88e38c1287f8 (patch)
treebc620d3639e8491c91a9f8721d1e59aa7f78e7b4 /media-gfx
parentUpdate ktikz-9999 to use cmake only (diff)
downloadcarreira-7dda3d9221f46dd449fc2d97812d88e38c1287f8.tar.gz
carreira-7dda3d9221f46dd449fc2d97812d88e38c1287f8.tar.bz2
carreira-7dda3d9221f46dd449fc2d97812d88e38c1287f8.zip
Finish porting ktikz ebuild to qt5 and kf5
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/ktikz/Manifest2
-rw-r--r--media-gfx/ktikz/ktikz-9999.ebuild33
2 files changed, 16 insertions, 19 deletions
diff --git a/media-gfx/ktikz/Manifest b/media-gfx/ktikz/Manifest
index 352f4d7..24aa3dd 100644
--- a/media-gfx/ktikz/Manifest
+++ b/media-gfx/ktikz/Manifest
@@ -1,3 +1,3 @@
AUX ktikz-0.10-currenthighlight.patch 1109 SHA256 7e52843ff0ecfbd6bef6d6c15be5e88882a2c248d4ef971bc0fe72771d224881 SHA512 24e691e9841254171c7d790e39896b7f383ce5c7fe58fe581348e865ca151cb59d7ca6d800ccfcc45efe606c24a16f91f61f95baf88579f716a058a5ba61561c WHIRLPOOL 7361f6420cd17553ed7ae8b54713b9ae768ec144d71041e3622c49e59ceb530189273d064a4b26ca5438784f2c780220f2e7008f38b0d27cd80445401b32cae5
EBUILD ktikz-0.10_p1.ebuild 1520 SHA256 a33d8172540c983ca3962e2b0c73ec1e33025d399886f6b476a96cb476764977 SHA512 bfc962d221c1d93563736a5ab43162f9e26c1c0300f181f70494b0f99e355a99bc3e115bd16b41a69db86689b8890284a007160e70d9e940fac4f93cd85868c1 WHIRLPOOL dba288f1844097325c5d6dd2c6e2d67fb6a68d912aab64eff686e8a5f424d75aea213d023f775d767f854e2c315483f172ddc12b1632b908aef9d16b3da006c6
-EBUILD ktikz-9999.ebuild 1518 SHA256 326d8f926b49582fe2422a3ba674ea0905af96e4879b27b5b08a91c4eb73cb5b SHA512 fb18f2624e48b9c5c2df07a2b7f75af6f342a93ea3c7dcceecb0278d4ee89ecf1e95911327a2cc0b98a50f23ca36a99556b2f4af24f95b6ccc9ecc63b0a8d341 WHIRLPOOL 0a126dc642701b24d031f7adc750ec9869dbe4f808350d1282fca31536bb4d4a3c49d918dbef607ca7461c5d77b5f1b0193a63a6d3003036eb34c8b98e9cea3f
+EBUILD ktikz-9999.ebuild 1477 SHA256 d608be3abe327650b7b432bdbb0eed350a3bce99c20e64110369743c13b9fc4f SHA512 27567f451a4c0996f76c283cc98424ebf5abea8a4e2d3f017143b8529a094adb2c2dca012d21b63396b884ec474ebe61a6115d09a1e427614bb8cd9ead8610f7 WHIRLPOOL 86e9d7e139e74715e770bca35b3f353e8b748f5fcce85a3468bfd66fbbf3cc1986113ebd0addc0497cd99d57640714dcc753428a1000cd7975e4eadce6804823
diff --git a/media-gfx/ktikz/ktikz-9999.ebuild b/media-gfx/ktikz/ktikz-9999.ebuild
index 34f20ca..30c339c 100644
--- a/media-gfx/ktikz/ktikz-9999.ebuild
+++ b/media-gfx/ktikz/ktikz-9999.ebuild
@@ -4,13 +4,12 @@
EAPI=5
-inherit eutils cmake-utils git-2 qmake-utils
+inherit eutils cmake-utils qmake-utils git-2
DESCRIPTION="A QT5-based editor for the TikZ language"
HOMEPAGE="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language"
EGIT_REPO_URI="https://github.com/jfmcarreira/ktikz.git"
-EGIT_BRANCH="frameworks"
LICENSE="GPL-2"
SLOT="0"
@@ -36,17 +35,13 @@ DOCS="Changelog TODO"
S="${WORKDIR}/${PN}"
-src_unpack() {
- git-2_src_unpack
-}
-
src_prepare() {
if ! use kde; then
# libs are not equal ldflags, make that sure:
sed -i -e 's|QMAKE_LFLAGS|LIBS|' macros.pri || die "sed failed"
- # our lrelease is not versioned
- sed -i -e 's|lrelease-qt4|lrelease|' conf.pri || die "sed failed"
+# # our lrelease is not versioned
+# sed -i -e 's|lrelease-qt4|lrelease|' conf.pri || die "sed failed"
fi
}
@@ -60,18 +55,20 @@ src_configure() {
fi
}
+
src_compile() {
-# if use kde; then
- cmake-utils_src_compile
-# else
-# qt5_src_compile
-# fi
+ if use kde; then
+ cmake-utils_src_compile
+ else
+ default
+ fi
}
src_install() {
-# if use kde; then
- cmake-utils_src_install
-# else
-# qt5_src_install
-# fi
+ if use kde; then
+ cmake-utils_src_install
+ else
+ emake INSTALL_ROOT="${D}" install
+ fi
}
+