summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-23 23:30:07 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-23 23:37:49 +0200
commit8f1427ca5bde77bcb7a6886a9b540c0bf1cef55f (patch)
tree435a2d04482df38aab120f40f3db775d6b76d83f /x11-misc
parentx11-misc/appmenu-qt: Import 0.2.6 from before last-rites (diff)
downloadkde-sunset-8f1427ca5bde77bcb7a6886a9b540c0bf1cef55f.tar.gz
kde-sunset-8f1427ca5bde77bcb7a6886a9b540c0bf1cef55f.tar.bz2
kde-sunset-8f1427ca5bde77bcb7a6886a9b540c0bf1cef55f.zip
x11-misc/launchy: Import 2.5-r1 from before last-rites
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/launchy/Manifest1
-rw-r--r--x11-misc/launchy/files/launchy-2.5-prefix-and-libdir.patch112
-rw-r--r--x11-misc/launchy/files/launchy-2.5-underlink.patch12
-rw-r--r--x11-misc/launchy/launchy-2.5-r1.ebuild52
-rw-r--r--x11-misc/launchy/metadata.xml5
5 files changed, 182 insertions, 0 deletions
diff --git a/x11-misc/launchy/Manifest b/x11-misc/launchy/Manifest
new file mode 100644
index 00000000..29c95bf1
--- /dev/null
+++ b/x11-misc/launchy/Manifest
@@ -0,0 +1 @@
+DIST launchy-2.5.tar.gz 2926807 BLAKE2B 7104012e76c0156a0432aaa039ea20be71fb82d062d8c78c5d2ae1a54f70dba5f7c468c7cce81fde74042c712c90d297f394e61c08a1990a171189b1ebd704f4 SHA512 31cf591184c81c5c44c174f12ffdec4fd15eb2f78af3195afceb9b11253d4bb17edee77b9316c8275828431b2ece5bfbc69f50b390eec27295828e80965c0930
diff --git a/x11-misc/launchy/files/launchy-2.5-prefix-and-libdir.patch b/x11-misc/launchy/files/launchy-2.5-prefix-and-libdir.patch
new file mode 100644
index 00000000..5b277786
--- /dev/null
+++ b/x11-misc/launchy/files/launchy-2.5-prefix-and-libdir.patch
@@ -0,0 +1,112 @@
+diff -ur a/platforms/unix/unix.pro b/platforms/unix/unix.pro
+--- a/platforms/unix/unix.pro 2008-09-01 03:40:56.000000000 +0300
++++ b/platforms/unix/unix.pro 2017-03-01 15:44:50.201858265 +0200
+@@ -11,11 +11,10 @@
+
+
+ unix {
+- PREFIX = /usr
+ DEFINES += SKINS_PATH=\\\"$$PREFIX/share/launchy/skins/\\\" \
+- PLUGINS_PATH=\\\"$$PREFIX/lib/launchy/plugins/\\\" \
+- PLATFORMS_PATH=\\\"$$PREFIX/lib/launchy/\\\"
+- target.path = $$PREFIX/lib/launchy/
++ PLUGINS_PATH=\\\"$$PREFIX/$$LIBDIR/launchy/plugins/\\\" \
++ PLATFORMS_PATH=\\\"$$PREFIX/$$LIBDIR/launchy/\\\"
++ target.path = $$PREFIX/$$LIBDIR/launchy/
+ INSTALLS += target
+ }
+
+diff -ur a/plugins/calcy/calcy.pro b/plugins/calcy/calcy.pro
+--- a/plugins/calcy/calcy.pro 2010-03-08 01:02:22.000000000 +0200
++++ b/plugins/calcy/calcy.pro 2017-03-01 15:46:49.252849881 +0200
+@@ -26,9 +26,8 @@
+
+
+ unix:!macx {
+- PREFIX = /usr
+- target.path = $$PREFIX/lib/launchy/plugins/
+- icon.path = $$PREFIX/lib/launchy/plugins/icons/
++ target.path = $$PREFIX/$$LIBDIR/launchy/plugins/
++ icon.path = $$PREFIX/$$LIBDIR/launchy/plugins/icons/
+ icon.files = calcy.png
+ INSTALLS += target \
+ icon
+diff -ur a/plugins/gcalc/gcalc.pro b/plugins/gcalc/gcalc.pro
+--- a/plugins/gcalc/gcalc.pro 2010-02-15 23:07:34.000000000 +0200
++++ b/plugins/gcalc/gcalc.pro 2017-03-01 15:48:00.542647288 +0200
+@@ -19,10 +19,9 @@
+ if(!debug_and_release|build_pass):CONFIG(debug, debug|release):DESTDIR = ../../debug/plugins
+ if(!debug_and_release|build_pass):CONFIG(release, debug|release):DESTDIR = ../../release/plugins
+ unix:!macx {
+- PREFIX = /usr
+- target.path = $$PREFIX/lib/launchy/plugins/
++ target.path = $$PREFIX/$$LIBDIR/launchy/plugins/
+
+- # icon.path = $$PREFIX/lib/launchy/plugins/icons/
++ # icon.path = $$PREFIX/$$LIBDIR/launchy/plugins/icons/
+ # icon.files = gcalc.png
+ INSTALLS += target
+ }
+diff -ur a/plugins/runner/runner.pro b/plugins/runner/runner.pro
+--- a/plugins/runner/runner.pro 2010-02-15 23:07:34.000000000 +0200
++++ b/plugins/runner/runner.pro 2017-03-01 15:46:22.202306212 +0200
+@@ -42,9 +42,8 @@
+ }
+
+ unix:!macx {
+- PREFIX = /usr
+- target.path = $$PREFIX/lib/launchy/plugins/
+- icon.path = $$PREFIX/lib/launchy/plugins/icons/
++ target.path = $$PREFIX/$$LIBDIR/launchy/plugins/
++ icon.path = $$PREFIX/$$LIBDIR/launchy/plugins/icons/
+ icon.files = runner.png
+ INSTALLS += target icon
+ }
+diff -ur a/plugins/verby/verby.pro b/plugins/verby/verby.pro
+--- a/plugins/verby/verby.pro 2010-02-15 23:07:34.000000000 +0200
++++ b/plugins/verby/verby.pro 2017-03-01 15:47:09.785503507 +0200
+@@ -31,9 +31,8 @@
+ /WX
+ }
+ unix:!macx {
+- PREFIX = /usr
+- target.path = $$PREFIX/lib/launchy/plugins/
+- icon.path = $$PREFIX/lib/launchy/plugins/icons/
++ target.path = $$PREFIX/$$LIBDIR/launchy/plugins/
++ icon.path = $$PREFIX/$$LIBDIR/launchy/plugins/icons/
+ icon.files = verby.png copy.png opencontainer.png properties.png run.png
+ INSTALLS += target \
+ icon
+diff -ur a/plugins/weby/weby.pro b/plugins/weby/weby.pro
+--- a/plugins/weby/weby.pro 2010-02-15 23:07:34.000000000 +0200
++++ b/plugins/weby/weby.pro 2017-03-01 15:47:30.764149617 +0200
+@@ -32,9 +32,8 @@
+ if(!debug_and_release|build_pass):CONFIG(debug, debug|release):DESTDIR = ../../debug/plugins
+ if(!debug_and_release|build_pass):CONFIG(release, debug|release):DESTDIR = ../../release/plugins
+ unix:!macx {
+- PREFIX = /usr
+- target.path = $$PREFIX/lib/launchy/plugins/
+- icon.path = $$PREFIX/lib/launchy/plugins/icons/
++ target.path = $$PREFIX/$$LIBDIR/launchy/plugins/
++ icon.path = $$PREFIX/$$LIBDIR/launchy/plugins/icons/
+ icon.files = weby.png
+ INSTALLS += target \
+ icon
+diff -ur a/src/src.pro b/src/src.pro
+--- a/src/src.pro 2017-03-01 15:50:28.430152700 +0200
++++ b/src/src.pro 2017-03-01 15:51:18.931300883 +0200
+@@ -71,11 +71,10 @@
+ platform_base_hotkey.h \
+ platform_base_hottrigger.h
+
+- PREFIX = /usr
+ LIBS += -lX11 -lXext -lXrender
+ DEFINES += SKINS_PATH=\\\"$$PREFIX/share/launchy/skins/\\\" \
+- PLUGINS_PATH=\\\"$$PREFIX/lib/launchy/plugins/\\\" \
+- PLATFORMS_PATH=\\\"$$PREFIX/lib/launchy/\\\"
++ PLUGINS_PATH=\\\"$$PREFIX/$$LIBDIR/launchy/plugins/\\\" \
++ PLATFORMS_PATH=\\\"$$PREFIX/$$LIBDIR/launchy/\\\"
+ if(!debug_and_release|build_pass) {
+ CONFIG(debug, debug|release):DESTDIR = ../debug/
+ CONFIG(release, debug|release):DESTDIR = ../release/
+Only in a/src: src.pro.orig
diff --git a/x11-misc/launchy/files/launchy-2.5-underlink.patch b/x11-misc/launchy/files/launchy-2.5-underlink.patch
new file mode 100644
index 00000000..f14110d5
--- /dev/null
+++ b/x11-misc/launchy/files/launchy-2.5-underlink.patch
@@ -0,0 +1,12 @@
+diff --git a/src/src.pro b/src/src.pro
+index 13a627d..f720a22 100644
+--- a/src/src.pro
++++ b/src/src.pro
+@@ -72,6 +72,7 @@ unix:!macx {
+ platform_base_hottrigger.h
+
+ PREFIX = /usr
++ LIBS += -lX11 -lXext -lXrender
+ DEFINES += SKINS_PATH=\\\"$$PREFIX/share/launchy/skins/\\\" \
+ PLUGINS_PATH=\\\"$$PREFIX/lib64/launchy/plugins/\\\" \
+ PLATFORMS_PATH=\\\"$$PREFIX/lib64/launchy/\\\"
diff --git a/x11-misc/launchy/launchy-2.5-r1.ebuild b/x11-misc/launchy/launchy-2.5-r1.ebuild
new file mode 100644
index 00000000..1f366bb0
--- /dev/null
+++ b/x11-misc/launchy/launchy-2.5-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit fdo-mime gnome2-utils qmake-utils
+
+DESCRIPTION="utility that merges application menus, your desktop and even your file manager"
+HOMEPAGE="http://www.launchy.net/"
+SRC_URI="http://www.launchy.net/downloads/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtgui:4
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ x11-base/xorg-proto
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-underlink.patch
+ "${FILESDIR}"/${P}-prefix-and-libdir.patch
+)
+
+src_configure() {
+ eqmake4 Launchy.pro PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/launchy/metadata.xml b/x11-misc/launchy/metadata.xml
new file mode 100644
index 00000000..6f49eba8
--- /dev/null
+++ b/x11-misc/launchy/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>