diff options
author | Angelo Theodorou | 2015-07-07 22:15:08 +0100 |
---|---|---|
committer | Angelo Theodorou | 2015-07-07 22:15:08 +0100 |
commit | a640e74763cd1addb54cb708fac4bfb7cd20cc0f (patch) | |
tree | bc2a18b536b9b6faf2ce2ca7157af591d74bef75 | |
download | aur-a640e74763cd1addb54cb708fac4bfb7cd20cc0f.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | ChangeLog | 19 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rw-r--r-- | lumina.desktop | 10 | ||||
-rw-r--r-- | lumina.install | 7 | ||||
-rw-r--r-- | search_paths.patch | 26 | ||||
-rw-r--r-- | source_edit.patch | 11 |
7 files changed, 131 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8024775535bb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = lumina + pkgdesc = Free cross-platform development environment for GLSL shaders + pkgver = 0.4.0 + pkgrel = 3 + url = http://lumina.sourceforge.net + install = lumina.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = glew + depends = qt + optdepends = blender: for mesh export script + source = http://downloads.sourceforge.net/lumina/Lumina-0.4.0.tar.bz2 + source = lumina.desktop + source = search_paths.patch + source = source_edit.patch + md5sums = f6d17cb7ee39fbcc88623ba3ab252524 + md5sums = 3e99ede58a3fd82c209fc72b887ebc39 + md5sums = 4a6126d743a05184a8a45874d186f6d3 + md5sums = dc46667f3d19a119d2daa89b45e262ba + +pkgname = lumina + diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 000000000000..9ed7149a340b --- /dev/null +++ b/ChangeLog @@ -0,0 +1,19 @@ +2009-04-19 encelo <encelo@users.sourceforge.net> + + * PKGBUILD : + Added a patch for the source editor + +2008-08-22 encelo <encelo@users.sourceforge.net> + + * PKGBUILD : + Images directory isn't installed anymore + Menu icon is the same as the application one + Added a patch for search paths + +2008-05-24 encelo <encelo@users.sourceforge.net> + + * PKGBUILD : + Installing .desktop file with icon + luminaexporter.py installed with 644 octal permission mode + glew added to the makedepends array + Blender added to the optdepends array diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b4310717638a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Angelo Theodorou <encelo@users.sourceforge.net> + +pkgname=lumina +pkgver=0.4.0 +pkgrel=3 +pkgdesc="Free cross-platform development environment for GLSL shaders" +arch=('i686' 'x86_64') +url="http://lumina.sourceforge.net" +license=('GPL') +depends=('qt') +makedepends=('glew') +optdepends=('blender: for mesh export script') +install=lumina.install +source=(http://downloads.sourceforge.net/$pkgname/Lumina-$pkgver.tar.bz2 lumina.desktop search_paths.patch source_edit.patch) +md5sums=('f6d17cb7ee39fbcc88623ba3ab252524' '3e99ede58a3fd82c209fc72b887ebc39' + '4a6126d743a05184a8a45874d186f6d3' 'dc46667f3d19a119d2daa89b45e262ba') + +build() { + cd $srcdir/Lumina-$pkgver + patch -p1 < ../search_paths.patch + patch -p1 < ../source_edit.patch + + qmake + make || return 1 + + install -D -m755 lumina $pkgdir/usr/bin/lumina + install -D -m644 Blenderexporter/luminaexporter.py $pkgdir/usr/share/blender/scripts/luminaexporter.py + install -d $pkgdir/usr/share/lumina + cp -R examples media plugins $pkgdir/usr/share/lumina + + install -d $pkgdir/usr/share/applications + install -m644 $srcdir/lumina.desktop $pkgdir/usr/share/applications + install -d $pkgdir/usr/share/pixmaps + install -m644 images/lumina.png $pkgdir/usr/share/pixmaps +} diff --git a/lumina.desktop b/lumina.desktop new file mode 100644 index 000000000000..fe9a1c035fce --- /dev/null +++ b/lumina.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Lumina +Comment=GLSL shaders IDE +Exec=lumina +Icon=lumina.png +StartupNotify=true +Terminal=false +Type=Application +Categories=Application;Development;IDE; diff --git a/lumina.install b/lumina.install new file mode 100644 index 000000000000..c5dab92c4e88 --- /dev/null +++ b/lumina.install @@ -0,0 +1,7 @@ +post_install() { + echo "If you have blender installed copy the lumina exporter to your home blender scripts directory" +} + +post_upgrade() { + post_upgrade $1 +} diff --git a/search_paths.patch b/search_paths.patch new file mode 100644 index 000000000000..230ef68c9d70 --- /dev/null +++ b/search_paths.patch @@ -0,0 +1,26 @@ +diff -uNr Lumina-0.4.0_orig/src/item.cpp Lumina-0.4.0/src/item.cpp +--- Lumina-0.4.0_orig/src/item.cpp 2008-08-04 05:32:03.000000000 +0300 ++++ Lumina-0.4.0/src/item.cpp 2008-08-22 21:26:29.000000000 +0300 +@@ -137,6 +137,9 @@ + QStringList paths; + paths << QString(QFileInfo( QCoreApplication::arguments().at(0) ).absolutePath ()) + "/plugins/"; + paths << QString(QDir::homePath ())+ "/.lumina/plugins/"; ++#ifndef _WIN32 ++ paths << QString("/usr/share/lumina/plugins/"); ++#endif + + for(int p = 0; p < paths.size(); p++){ + +diff -uNr Lumina-0.4.0_orig/src/script_extender.cpp Lumina-0.4.0/src/script_extender.cpp +--- Lumina-0.4.0_orig/src/script_extender.cpp 2008-08-03 06:46:00.000000000 +0300 ++++ Lumina-0.4.0/src/script_extender.cpp 2008-08-22 21:27:00.000000000 +0300 +@@ -139,6 +139,9 @@ + QStringList paths; + paths << QString(QFileInfo( QCoreApplication::arguments().at(0) ).absolutePath ()) + "/scripts/"; + paths << QString(QDir::homePath ())+ "/.lumina/scripts/"; ++#ifndef _WIN32 ++ paths << QString("/usr/share/lumina/scripts/"); ++#endif + + for(int p = 0; p < paths.size(); p++){ + diff --git a/source_edit.patch b/source_edit.patch new file mode 100644 index 000000000000..8d3767e8565c --- /dev/null +++ b/source_edit.patch @@ -0,0 +1,11 @@ +--- Lumina-0.4.0/src/sourceedit.cpp.orig 2008-07-24 19:08:19.000000000 +0200 ++++ Lumina-0.4.0/src/sourceedit.cpp 2009-04-21 01:35:04.000000000 +0200 +@@ -300,7 +300,7 @@ + myClassFormat.setFontWeight(0); + myClassFormat.setForeground(Qt::darkGreen); + +- index = text.indexOf(comment); ++ index = text.indexOf(pre); + while (index >= 0) { + length = pre.matchedLength(); + setFormat(index, length, myClassFormat); |