Add aarch64 and armv7h to architectures. Add pkgbuilds for several applications. Add pkgbuild for libkipi library. Add pkgbuilds for dependencies. Remove dependence on Python 2. Remove backported patches. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/159/head
parent
a5c233945a
commit
ddc027255b
@ -1,81 +0,0 @@
|
|||||||
commit 9adc0f647c04e84792be63d913274633cc2ecd65
|
|
||||||
Author: Slávek Banko <slavek.banko@axis.cz>
|
|
||||||
Date: Sat Apr 30 01:48:37 2022 +0200
|
|
||||||
|
|
||||||
Add support for Poppler >= 22.03.
|
|
||||||
|
|
||||||
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
||||||
|
|
||||||
diff --git a/config.h.cmake b/config.h.cmake
|
|
||||||
index 7c1ab17a..fea46aaf 100644
|
|
||||||
--- a/config.h.cmake
|
|
||||||
+++ b/config.h.cmake
|
|
||||||
@@ -1,6 +1,7 @@
|
|
||||||
#cmakedefine VERSION "@VERSION@"
|
|
||||||
|
|
||||||
// poppler-tqt
|
|
||||||
+#cmakedefine HAVE_POPPLER_2203
|
|
||||||
#cmakedefine HAVE_POPPLER_2112
|
|
||||||
#cmakedefine HAVE_POPPLER_2111
|
|
||||||
#cmakedefine HAVE_POPPLER_2108
|
|
||||||
diff --git a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
|
|
||||||
index fa82dd3c..def19529 100644
|
|
||||||
--- a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
|
|
||||||
+++ b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
|
|
||||||
@@ -24,7 +24,7 @@ check_cxx_source_compiles("
|
|
||||||
HAVE_POPPLER_030 )
|
|
||||||
tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
|
|
||||||
|
|
||||||
-foreach( _poppler_ver 0.58 0.64 0.70 0.71 0.72 0.76 0.82 0.83 0.86 21.08 21.11 21.12 )
|
|
||||||
+foreach( _poppler_ver 0.58 0.64 0.70 0.71 0.72 0.76 0.82 0.83 0.86 21.08 21.11 21.12 22.03 )
|
|
||||||
string( REPLACE "." "" _poppler_str "${_poppler_ver}" )
|
|
||||||
if( NOT DEFINED HAVE_POPPLER_${_poppler_str} )
|
|
||||||
message( STATUS "Performing Test HAVE_POPPLER_${_poppler_str}" )
|
|
||||||
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp b/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp
|
|
||||||
index 78e8befe..86e831ee 100644
|
|
||||||
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp
|
|
||||||
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp
|
|
||||||
@@ -50,7 +50,11 @@ Document *Document::load(const TQString &filePath)
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
+# if defined(HAVE_POPPLER_2203)
|
|
||||||
+ DocumentData *doc = new DocumentData(std::make_unique<GooString>(TQFile::encodeName(filePath)), {});
|
|
||||||
+# else
|
|
||||||
DocumentData *doc = new DocumentData(new GooString(TQFile::encodeName(filePath)), NULL);
|
|
||||||
+# endif
|
|
||||||
Document *pdoc;
|
|
||||||
if (doc->doc.isOk() || doc->doc.getErrorCode() == errEncrypted) {
|
|
||||||
pdoc = new Document(doc);
|
|
||||||
@@ -84,10 +88,15 @@ bool Document::unlock(const TQCString &password)
|
|
||||||
{
|
|
||||||
if (data->locked) {
|
|
||||||
/* racier then it needs to be */
|
|
||||||
+# if defined(HAVE_POPPLER_2203)
|
|
||||||
+ DocumentData *doc2 = new DocumentData(std::make_unique<GooString>(data->doc.getFileName()),
|
|
||||||
+ GooString(password.data()));
|
|
||||||
+# else
|
|
||||||
GooString *filename = new GooString(data->doc.getFileName());
|
|
||||||
GooString *pwd = new GooString(password.data());
|
|
||||||
DocumentData *doc2 = new DocumentData(filename, pwd);
|
|
||||||
delete pwd;
|
|
||||||
+# endif
|
|
||||||
if (!doc2->doc.isOk()) {
|
|
||||||
delete doc2;
|
|
||||||
} else {
|
|
||||||
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
|
|
||||||
index c98d02b8..f1096ceb 100644
|
|
||||||
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
|
|
||||||
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
|
|
||||||
@@ -104,7 +104,11 @@ class LinkDestinationData {
|
|
||||||
|
|
||||||
class DocumentData {
|
|
||||||
public:
|
|
||||||
+# if defined(HAVE_POPPLER_2203)
|
|
||||||
+ DocumentData(std::unique_ptr<GooString> &&filePath, const std::optional<GooString> &password) : doc(std::move(filePath), password), m_fontInfoScanner(0), m_outputDev(0) {}
|
|
||||||
+# else
|
|
||||||
DocumentData(GooString *filePath, GooString *password) : doc(filePath,password), m_fontInfoScanner(0), m_outputDev(0) {}
|
|
||||||
+# endif
|
|
||||||
|
|
||||||
~DocumentData()
|
|
||||||
{
|
|
@ -0,0 +1,36 @@
|
|||||||
|
pkgbase = gnokii
|
||||||
|
pkgdesc = Tools and user space driver for use with mobile phones
|
||||||
|
pkgver = 0.6.31
|
||||||
|
pkgrel = 19
|
||||||
|
url = https://www.gnokii.org/
|
||||||
|
install = gnokii.install
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL
|
||||||
|
makedepends = gtk2
|
||||||
|
makedepends = mariadb-libs
|
||||||
|
makedepends = postgresql-libs
|
||||||
|
makedepends = intltool
|
||||||
|
depends = libusb-compat
|
||||||
|
depends = libxpm
|
||||||
|
depends = bluez-libs
|
||||||
|
depends = libical
|
||||||
|
depends = sqlite
|
||||||
|
depends = systemd
|
||||||
|
optdepends = dialog: sendsms tool
|
||||||
|
optdepends = gtk2: xgnokii GUI
|
||||||
|
optdepends = mariadb-libs: smsd mysql backend
|
||||||
|
optdepends = postgresql-libs: smsd postgresql backend
|
||||||
|
backup = etc/gnokiirc
|
||||||
|
source = https://www.gnokii.org/download/gnokii/gnokii-0.6.31.tar.bz2
|
||||||
|
source = gnokii-config.patch
|
||||||
|
source = gnokii-lock.patch
|
||||||
|
source = gnokii-gcc5.patch
|
||||||
|
source = gnokii-gcc7.patch
|
||||||
|
sha256sums = 8f5a083b05c1a66a3402ca5cd80084e14c2c0632c991bb53b03c78e9adb02501
|
||||||
|
sha256sums = 4c795f0b80b3703a2813adb32399b42080a01670619c1db63ab094494cb6f329
|
||||||
|
sha256sums = e0584a44268e9055b43f1673d7db828f45294c5108635ebd5f664e12703f108b
|
||||||
|
sha256sums = eafe67990e383e92636a88de27f003674374db81d986ddbb397ab18d82b6556d
|
||||||
|
sha256sums = a5db8684216904bd2a2cd8a557dcc16484831b9bc2ec91a0b102b14c3bfe9245
|
||||||
|
|
||||||
|
pkgname = gnokii
|
||||||
|
|
@ -0,0 +1,79 @@
|
|||||||
|
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
|
||||||
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||||
|
# Contributor: Roman Kyrylych <roman@archlinux.org>
|
||||||
|
# Contributor: Aurelien Foret <orelien@chez.com>
|
||||||
|
|
||||||
|
pkgname=gnokii
|
||||||
|
pkgver=0.6.31
|
||||||
|
pkgrel=19.1
|
||||||
|
pkgdesc='Tools and user space driver for use with mobile phones'
|
||||||
|
arch=('x86_64' 'aarch64' 'armv7h')
|
||||||
|
url='https://www.gnokii.org/'
|
||||||
|
license=('GPL')
|
||||||
|
depends=('libusb-compat' 'libxpm' 'bluez-libs' 'libical' 'sqlite' 'systemd')
|
||||||
|
makedepends=('gtk2' 'mariadb-libs' 'postgresql-libs' 'intltool')
|
||||||
|
optdepends=('dialog: sendsms tool'
|
||||||
|
'gtk2: xgnokii GUI'
|
||||||
|
'mariadb-libs: smsd mysql backend'
|
||||||
|
'postgresql-libs: smsd postgresql backend')
|
||||||
|
backup=('etc/gnokiirc')
|
||||||
|
install=$pkgname.install
|
||||||
|
source=("https://www.gnokii.org/download/$pkgname/$pkgname-$pkgver.tar.bz2"
|
||||||
|
'gnokii-config.patch'
|
||||||
|
'gnokii-lock.patch'
|
||||||
|
'gnokii-gcc5.patch'
|
||||||
|
'gnokii-gcc7.patch')
|
||||||
|
sha256sums=('8f5a083b05c1a66a3402ca5cd80084e14c2c0632c991bb53b03c78e9adb02501'
|
||||||
|
'4c795f0b80b3703a2813adb32399b42080a01670619c1db63ab094494cb6f329'
|
||||||
|
'e0584a44268e9055b43f1673d7db828f45294c5108635ebd5f664e12703f108b'
|
||||||
|
'eafe67990e383e92636a88de27f003674374db81d986ddbb397ab18d82b6556d'
|
||||||
|
'a5db8684216904bd2a2cd8a557dcc16484831b9bc2ec91a0b102b14c3bfe9245')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
|
# Set bindir location
|
||||||
|
patch -Np1 -i ../gnokii-config.patch
|
||||||
|
|
||||||
|
# Set lock path
|
||||||
|
patch -Np1 -i ../gnokii-lock.patch
|
||||||
|
|
||||||
|
# Fix build with GCC 5 (Fedora patch)
|
||||||
|
patch -Np1 -i ../gnokii-gcc5.patch
|
||||||
|
|
||||||
|
# Fix build with GCC 7
|
||||||
|
patch -Np1 -i ../gnokii-gcc7.patch
|
||||||
|
|
||||||
|
# Update automake build system
|
||||||
|
cp -a /usr/share/libtool/build-aux/config.guess .
|
||||||
|
cp -a /usr/share/libtool/build-aux/config.sub .
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin \
|
||||||
|
--enable-security
|
||||||
|
make
|
||||||
|
pushd xgnokii
|
||||||
|
make
|
||||||
|
popd
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
pushd xgnokii
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
popd
|
||||||
|
|
||||||
|
# Install initial config file
|
||||||
|
install -Dm644 Docs/sample/gnokiirc "$pkgdir/etc/gnokiirc"
|
||||||
|
|
||||||
|
# Fix file permission
|
||||||
|
chmod 755 "$pkgdir/usr/bin/sendsms"
|
||||||
|
|
||||||
|
# Setup lock directory
|
||||||
|
install -dm755 "$pkgdir"/usr/lib/tmpfiles.d
|
||||||
|
echo 'd /run/lock/lockdev 0775 root lock -' > "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nura gnokii-0.6.31.orig/Docs/sample/gnokiirc gnokii-0.6.31/Docs/sample/gnokiirc
|
||||||
|
--- gnokii-0.6.31.orig/Docs/sample/gnokiirc 2011-12-02 15:53:04.000000000 +0100
|
||||||
|
+++ gnokii-0.6.31/Docs/sample/gnokiirc 2012-02-18 12:49:26.957557504 +0100
|
||||||
|
@@ -238,7 +238,7 @@
|
||||||
|
# In particular ensure that mgnokiidev is in this location, with
|
||||||
|
# permissions 4750, owned by root, group gnokii. Ensure you
|
||||||
|
# are in the gnokii group and that the group exists...
|
||||||
|
-bindir = /usr/local/sbin/
|
||||||
|
+bindir = /usr/bin/
|
||||||
|
|
||||||
|
# Any entries in the following two sections will be set as environment
|
||||||
|
# variables when running the scripts.
|
@ -0,0 +1,27 @@
|
|||||||
|
Patch by Robert Scheck <robert@fedoraproject.org> for gnokii <= 0.6.31 to avoid
|
||||||
|
build failures with GCC 5.x as "gnokii-0.6.31/xgnokii/xgnokii.c:1209: undefined
|
||||||
|
reference to `GUI_HideAbout'" and "xgnokii-xgnokii_logos.o:(.data.rel+0xe0):
|
||||||
|
undefined reference to `CloseLogosWindow'".
|
||||||
|
|
||||||
|
--- gnokii-0.6.31/xgnokii/xgnokii.c 2011-12-02 15:53:04.000000000 +0100
|
||||||
|
+++ gnokii-0.6.31/xgnokii/xgnokii.c.gcc5 2015-06-20 15:49:59.000000000 +0200
|
||||||
|
@@ -798,7 +798,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
-inline void GUI_HideAbout(void)
|
||||||
|
+void GUI_HideAbout(void)
|
||||||
|
{
|
||||||
|
gtk_widget_hide(AboutDialog);
|
||||||
|
}
|
||||||
|
--- gnokii-0.6.31/xgnokii/xgnokii_logos.c 2011-12-02 15:53:04.000000000 +0100
|
||||||
|
+++ gnokii-0.6.31/xgnokii/xgnokii_logos.c.gcc5 2015-06-20 15:50:15.000000000 +0200
|
||||||
|
@@ -1304,7 +1304,7 @@
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
-inline void CloseLogosWindow(void)
|
||||||
|
+void CloseLogosWindow(void)
|
||||||
|
{
|
||||||
|
gtk_widget_hide(GUI_LogosWindow);
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/common/gsm-filetypes.c b/common/gsm-filetypes.c
|
||||||
|
index b4ceea1..264420a 100644
|
||||||
|
--- a/common/gsm-filetypes.c
|
||||||
|
+++ b/common/gsm-filetypes.c
|
||||||
|
@@ -1409,7 +1409,7 @@ static int get_next_token(char *src, int delim)
|
||||||
|
#define GET_NEXT_TOKEN() o = get_next_token(line + offset, ';')
|
||||||
|
#define STORE_TOKEN(a) strip_slashes(a, line + offset, sizeof(a) - 1, o - 1)
|
||||||
|
|
||||||
|
-inline int local_atoi(char *str, int len)
|
||||||
|
+int local_atoi(char *str, int len)
|
||||||
|
{
|
||||||
|
int retval;
|
||||||
|
char *aux = strndup(str, len);
|
@ -0,0 +1,15 @@
|
|||||||
|
diff -Naur gnokii-0.6.31.orig/common/misc.c gnokii-0.6.31/common/misc.c
|
||||||
|
--- gnokii-0.6.31.orig/common/misc.c 2011-12-02 15:53:04.000000000 +0100
|
||||||
|
+++ gnokii-0.6.31/common/misc.c 2013-08-12 18:38:41.021668458 +0200
|
||||||
|
@@ -448,9 +448,9 @@
|
||||||
|
|
||||||
|
#define BUFFER_MAX_LENGTH 128
|
||||||
|
#if defined (__svr4__)
|
||||||
|
-# define lock_path "/var/run/LCK.."
|
||||||
|
+# define lock_path "/var/run/lockdev/LCK.."
|
||||||
|
#else
|
||||||
|
-# define lock_path "/var/lock/LCK.."
|
||||||
|
+# define lock_path "/var/lock/lockdev/LCK.."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Lock the device. Return allocated string with a lock name */
|
@ -0,0 +1,3 @@
|
|||||||
|
post_install() {
|
||||||
|
echo "Users need to be in 'lock' and 'uucp' groups to connect to devices"
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
pkgbase = htdig
|
||||||
|
pkgdesc = Scripts and HTML code needed for using ht://Dig as a web search engine
|
||||||
|
pkgver = 3.2.0b6
|
||||||
|
pkgrel = 11
|
||||||
|
url = http://www.htdig.org/
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL
|
||||||
|
depends = openssl
|
||||||
|
source = http://downloads.sourceforge.net/htdig/htdig-3.2.0b6.tar.bz2
|
||||||
|
source = gcc4.3.patch
|
||||||
|
source = CVE-2007-6110.patch
|
||||||
|
md5sums = 8b9b9587a411ac7dd278fa5413428960
|
||||||
|
md5sums = 2aeda683f95b58efc0978d7fe951de59
|
||||||
|
md5sums = 0d9099d3b5a32d322a8e0240f85a3578
|
||||||
|
|
||||||
|
pkgname = htdig
|
||||||
|
|
@ -0,0 +1,26 @@
|
|||||||
|
Index: htdig-3.2.0b6/htsearch/Display.cc
|
||||||
|
===================================================================
|
||||||
|
--- htdig-3.2.0b6.orig/htsearch/Display.cc
|
||||||
|
+++ htdig-3.2.0b6/htsearch/Display.cc
|
||||||
|
@@ -137,7 +137,7 @@ Display::display(int pageNumber)
|
||||||
|
// Must temporarily stash the message in a String, since
|
||||||
|
// displaySyntaxError will overwrite the static temp used in form.
|
||||||
|
|
||||||
|
- String s(form("No such sort method: `%s'", (const char*)config->Find("sort")));
|
||||||
|
+ String s("invalid sort method");
|
||||||
|
|
||||||
|
displaySyntaxError(s);
|
||||||
|
return;
|
||||||
|
Index: htdig-3.2.0b6/libhtdig/ResultFetch.cc
|
||||||
|
===================================================================
|
||||||
|
--- htdig-3.2.0b6.orig/libhtdig/ResultFetch.cc
|
||||||
|
+++ htdig-3.2.0b6/libhtdig/ResultFetch.cc
|
||||||
|
@@ -142,7 +142,7 @@ ResultFetch::fetch()
|
||||||
|
// Must temporarily stash the message in a String, since
|
||||||
|
// displaySyntaxError will overwrite the static temp used in form.
|
||||||
|
|
||||||
|
- String s(form("No such sort method: `%s'", (const char *) config->Find("sort")));
|
||||||
|
+ String s("invalid sort method");
|
||||||
|
|
||||||
|
displaySyntaxError(s);
|
||||||
|
//return;
|
@ -0,0 +1,53 @@
|
|||||||
|
# $Id: PKGBUILD 260530 2016-03-02 18:25:02Z foutrelis $
|
||||||
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
||||||
|
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
||||||
|
|
||||||
|
pkgname=htdig
|
||||||
|
pkgver=3.2.0b6
|
||||||
|
pkgrel=11.1
|
||||||
|
pkgdesc="Scripts and HTML code needed for using ht://Dig as a web search engine"
|
||||||
|
url="http://www.htdig.org/"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
license=('GPL')
|
||||||
|
depends=('openssl')
|
||||||
|
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
|
||||||
|
'gcc4.3.patch'
|
||||||
|
'CVE-2007-6110.patch')
|
||||||
|
md5sums=('8b9b9587a411ac7dd278fa5413428960'
|
||||||
|
'2aeda683f95b58efc0978d7fe951de59'
|
||||||
|
'0d9099d3b5a32d322a8e0240f85a3578')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
patch -p1 -i "${srcdir}/gcc4.3.patch"
|
||||||
|
patch -p1 -i "${srcdir}/CVE-2007-6110.patch"
|
||||||
|
|
||||||
|
cp -a /usr/share/libtool/build-aux/config.guess .
|
||||||
|
cp -a /usr/share/libtool/build-aux/config.sub .
|
||||||
|
cp -a /usr/share/libtool/build-aux/config.guess ./db/
|
||||||
|
cp -a /usr/share/libtool/build-aux/config.sub ./db/
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
CFLAGS=-Wno-narrowing CXXFLAGS="-Wno-narrowing -std=c++03" \
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--with-config-dir=/etc/htdig \
|
||||||
|
--with-default-config-file=/etc/htdig/htdig.conf \
|
||||||
|
--with-database-dir=/var/lib/htdig/db \
|
||||||
|
--with-cgi-bin-dir=/usr/bin \
|
||||||
|
--with-common-dir=/usr/share/doc/htdig \
|
||||||
|
--with-search-dir=/usr/share/doc/htdig \
|
||||||
|
--with-image-dir=/usr/share/doc/htdig \
|
||||||
|
--localstatedir=/var/lib/htdig \
|
||||||
|
--with-ssl
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
diff -Naurp htdig-3.2.0b6.orig/htsearch/Collection.h htdig-3.2.0b6/htsearch/Collection.h
|
||||||
|
--- htdig-3.2.0b6.orig/htsearch/Collection.h 2004-05-28 06:15:24.000000000 -0700
|
||||||
|
+++ htdig-3.2.0b6/htsearch/Collection.h 2006-03-22 11:35:40.000000000 -0800
|
||||||
|
@@ -36,9 +36,9 @@ public:
|
||||||
|
const char *docExcerpt);
|
||||||
|
~Collection();
|
||||||
|
|
||||||
|
- void Collection::Open();
|
||||||
|
+ void Open();
|
||||||
|
|
||||||
|
- void Collection::Close();
|
||||||
|
+ void Close();
|
||||||
|
|
||||||
|
char *getWordFile() { return wordFile.get(); }
|
||||||
|
DocumentRef *getDocumentRef(int id);
|
@ -0,0 +1,21 @@
|
|||||||
|
pkgbase = lcms
|
||||||
|
pkgdesc = Lightweight color management development library/engine
|
||||||
|
pkgver = 1.19
|
||||||
|
pkgrel = 7
|
||||||
|
url = http://www.littlecms.com
|
||||||
|
arch = x86_64
|
||||||
|
arch = i686
|
||||||
|
license = custom
|
||||||
|
makedepends = python2
|
||||||
|
depends = libtiff
|
||||||
|
source = https://downloads.sourceforge.net/sourceforge/lcms/lcms-1.19.tar.gz
|
||||||
|
source = cve-2013-4276.patch
|
||||||
|
sha256sums = 80ae32cb9f568af4dc7ee4d3c05a4c31fc513fc3e31730fed0ce7378237273a9
|
||||||
|
sha256sums = cd10cc5ce791ae782b1257e6181a71cbdb685b705779c9ef2ceffc7fb2021bd0
|
||||||
|
|
||||||
|
pkgname = lcms
|
||||||
|
|
||||||
|
pkgname = python2-lcms
|
||||||
|
pkgdesc = LittleCMS Python bindings
|
||||||
|
depends = lcms
|
||||||
|
|
@ -0,0 +1,59 @@
|
|||||||
|
# Maintainer: Tobias Kieslich <neri@archlinux.org>
|
||||||
|
# Contributor: Ben <contrasutra@myrealbox.com>
|
||||||
|
|
||||||
|
pkgbase=lcms
|
||||||
|
pkgname=(lcms)
|
||||||
|
pkgver=1.19
|
||||||
|
pkgrel=7.1
|
||||||
|
pkgdesc='Lightweight color management development library/engine'
|
||||||
|
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
|
||||||
|
license=('custom')
|
||||||
|
depends=('libtiff')
|
||||||
|
#makedepends=('python2')
|
||||||
|
url='http://www.littlecms.com'
|
||||||
|
source=("https://downloads.sourceforge.net/sourceforge/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"
|
||||||
|
'cve-2013-4276.patch')
|
||||||
|
sha256sums=('80ae32cb9f568af4dc7ee4d3c05a4c31fc513fc3e31730fed0ce7378237273a9'
|
||||||
|
'cd10cc5ce791ae782b1257e6181a71cbdb685b705779c9ef2ceffc7fb2021bd0')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||||
|
|
||||||
|
patch -Np1 -i ../cve-2013-4276.patch
|
||||||
|
|
||||||
|
cp -a /usr/share/libtool/build-aux/config.guess .
|
||||||
|
cp -a /usr/share/libtool/build-aux/config.sub .
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--without-python
|
||||||
|
make
|
||||||
|
#make -C python
|
||||||
|
}
|
||||||
|
|
||||||
|
package_lcms() {
|
||||||
|
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||||
|
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
install -D -m0644 COPYING \
|
||||||
|
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
|
||||||
|
rm -rf "${pkgdir}/usr/lib/python2.7/"
|
||||||
|
}
|
||||||
|
|
||||||
|
#package_python2-lcms() {
|
||||||
|
# pkgdesc='LittleCMS Python bindings'
|
||||||
|
# depends=('lcms')
|
||||||
|
#
|
||||||
|
# cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||||
|
#
|
||||||
|
# make DESTDIR="${pkgdir}" install
|
||||||
|
# install -D -m0644 COPYING \
|
||||||
|
# "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
#
|
||||||
|
# rm -rf "${pkgdir}/usr/"{bin,include,lib/{pkgconfig,liblcms.*},share/man}
|
||||||
|
#}
|
@ -0,0 +1,62 @@
|
|||||||
|
diff -ur lcms-1.19.dfsg/samples/icctrans.c lcms-1.19.dfsg-patched/samples/icctrans.c
|
||||||
|
--- lcms-1.19.dfsg/samples/icctrans.c 2009-10-30 15:57:45.000000000 +0000
|
||||||
|
+++ lcms-1.19.dfsg-patched/samples/icctrans.c 2013-08-06 11:53:14.385266647 +0100
|
||||||
|
@@ -86,6 +86,8 @@
|
||||||
|
static LPcmsNAMEDCOLORLIST InputColorant = NULL;
|
||||||
|
static LPcmsNAMEDCOLORLIST OutputColorant = NULL;
|
||||||
|
|
||||||
|
+unsigned int Buffer_size = 4096;
|
||||||
|
+
|
||||||
|
|
||||||
|
// isatty replacement
|
||||||
|
|
||||||
|
@@ -500,7 +502,7 @@
|
||||||
|
|
||||||
|
Prefix[0] = 0;
|
||||||
|
if (!lTerse)
|
||||||
|
- sprintf(Prefix, "%s=", C);
|
||||||
|
+ snprintf(Prefix, 20, "%s=", C);
|
||||||
|
|
||||||
|
if (InHexa)
|
||||||
|
{
|
||||||
|
@@ -648,7 +650,9 @@
|
||||||
|
static
|
||||||
|
void GetLine(char* Buffer)
|
||||||
|
{
|
||||||
|
- scanf("%s", Buffer);
|
||||||
|
+ char User_buffer[Buffer_size];
|
||||||
|
+ fgets(User_buffer, (Buffer_size - 1), stdin);
|
||||||
|
+ sscanf(User_buffer,"%s", Buffer);
|
||||||
|
|
||||||
|
if (toupper(Buffer[0]) == 'Q') { // Quit?
|
||||||
|
|
||||||
|
@@ -668,7 +672,7 @@
|
||||||
|
static
|
||||||
|
double GetAnswer(const char* Prompt, double Range)
|
||||||
|
{
|
||||||
|
- char Buffer[4096];
|
||||||
|
+ char Buffer[Buffer_size];
|
||||||
|
double val = 0.0;
|
||||||
|
|
||||||
|
if (Range == 0.0) { // Range 0 means double value
|
||||||
|
@@ -738,7 +742,7 @@
|
||||||
|
static
|
||||||
|
WORD GetIndex(void)
|
||||||
|
{
|
||||||
|
- char Buffer[4096], Name[40], Prefix[40], Suffix[40];
|
||||||
|
+ char Buffer[Buffer_size], Name[40], Prefix[40], Suffix[40];
|
||||||
|
int index, max;
|
||||||
|
|
||||||
|
max = cmsNamedColorCount(hTrans)-1;
|
||||||
|
diff -ur lcms-1.19.dfsg/tifficc/tiffdiff.c lcms-1.19.dfsg-patched/tifficc/tiffdiff.c
|
||||||
|
--- lcms-1.19.dfsg/tifficc/tiffdiff.c 2009-10-30 15:57:46.000000000 +0000
|
||||||
|
+++ lcms-1.19.dfsg-patched/tifficc/tiffdiff.c 2013-08-06 11:49:06.698951157 +0100
|
||||||
|
@@ -633,7 +633,7 @@
|
||||||
|
cmsIT8SetSheetType(hIT8, "TIFFDIFF");
|
||||||
|
|
||||||
|
|
||||||
|
- sprintf(Buffer, "Differences between %s and %s", TiffName1, TiffName2);
|
||||||
|
+ snprintf(Buffer, 256, "Differences between %s and %s", TiffName1, TiffName2);
|
||||||
|
|
||||||
|
cmsIT8SetComment(hIT8, Buffer);
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,12 @@
|
|||||||
|
pkgbase = pod2man
|
||||||
|
pkgdesc = Make pod2man easily accessible
|
||||||
|
pkgver = 5.30.2
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://perl.org/
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL
|
||||||
|
license = PerlArtistic
|
||||||
|
depends = perl
|
||||||
|
|
||||||
|
pkgname = pod2man
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
pkg
|
||||||
|
src
|
||||||
|
*.gz
|
||||||
|
*.xz
|
||||||
|
*.bak
|
||||||
|
*.new
|
@ -0,0 +1,22 @@
|
|||||||
|
# Maintainer: Fernando Ortiz <nandub+arch@nandub.info >
|
||||||
|
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
|
||||||
|
|
||||||
|
pkgname=pod2man
|
||||||
|
pkgver=5.30.2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Make pod2man easily accessible'
|
||||||
|
arch=(x86_64 aarch64 armv7h)
|
||||||
|
license=(GPL PerlArtistic)
|
||||||
|
url='https://perl.org/'
|
||||||
|
depends=(perl)
|
||||||
|
|
||||||
|
package() {
|
||||||
|
# perl 5 places pod2man in /usr/bin/core_perl instead of /usr/bin,
|
||||||
|
# for unknown reasons. This creates a symlink in what is what is now a more
|
||||||
|
# conventional location.
|
||||||
|
|
||||||
|
install -d "$pkgdir/usr/bin"
|
||||||
|
ln -s /usr/bin/core_perl/pod2man "$pkgdir/usr/bin/pod2man"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: ts=2 sw=2 et:
|
@ -0,0 +1,15 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#taken from https://bbs.archlinux.org/viewtopic.php?id=131666 by falconindy
|
||||||
|
awk -v newsums="$(makepkg -g)" '
|
||||||
|
BEGIN {
|
||||||
|
if (!newsums) exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
/^[[:blank:]]*(md|sha)[[:digit:]]+sums=/,/\)[[:blank:]]*$/ {
|
||||||
|
if (!i) print newsums; i++
|
||||||
|
next
|
||||||
|
}
|
||||||
|
|
||||||
|
1
|
||||||
|
' PKGBUILD > PKGBUILD.new && mv PKGBUILD{.new,}
|
@ -0,0 +1,29 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
get_latest() {
|
||||||
|
wget -q -O- 'https://github.com/kimwalisch/primesieve/wiki/Downloads' | \
|
||||||
|
sed -n 's,.*primesieve-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||||
|
grep -v '\(linux\|mac\|win\)' | \
|
||||||
|
sort -r | \
|
||||||
|
head -1
|
||||||
|
}
|
||||||
|
|
||||||
|
latest_version=$1
|
||||||
|
#latest_version=$(get_latest)
|
||||||
|
current_version=$(cat PKGBUILD | grep pkgver= | awk -F'=' '{print $2}')
|
||||||
|
|
||||||
|
if ! [ "$latest_version" = "$current_version" ]; then
|
||||||
|
echo Updating the package with the latest version
|
||||||
|
echo latest: $latest_version
|
||||||
|
echo current: $current_version
|
||||||
|
sed -i.bak "s/$current_version/$latest_version/g" PKGBUILD
|
||||||
|
sed -i.bak "s/pkgrel=[^d.]/pkgrel=1/g" PKGBUILD
|
||||||
|
./pkgsum.sh
|
||||||
|
if which makepkg &> /dev/null; then
|
||||||
|
makepkg --printsrcinfo > .SRCINFO
|
||||||
|
else
|
||||||
|
mksrcinfo
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo Nothing to update.
|
||||||
|
fi
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kdbg
|
||||||
|
_cat=applications/development/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Graphical debugger interface for TDE"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('a18fb41aff54bc952f366aff90125443')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kdiff3
|
||||||
|
_cat=applications/development/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Compares and merges 2 or 3 files or directories"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdebase'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('5b92c74663f12cc50fcc5061e8e6d5ca')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kscope
|
||||||
|
_cat=applications/development/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Source editing environment for TDE"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdebase'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('f6849ce333dbb68e6fca0486cad68b67')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kxmleditor
|
||||||
|
_cat=applications/development/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="XML Editor for TDE"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('6f43fe4d8a405513b226ecef268cae0f')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -1,28 +0,0 @@
|
|||||||
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
|
|
||||||
index f1b7246b..bab3b80d 100644
|
|
||||||
--- a/ConfigureChecks.cmake
|
|
||||||
+++ b/ConfigureChecks.cmake
|
|
||||||
@@ -197,7 +197,10 @@ find_package( OpenGL )
|
|
||||||
|
|
||||||
tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
|
|
||||||
set( CMAKE_REQUIRED_INCLUDES ${TQT_INCLUDE_DIRS} )
|
|
||||||
-set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} ${TQT_LIBRARIES} )
|
|
||||||
+foreach( _dirs ${TQT_LIBRARY_DIRS} )
|
|
||||||
+ list( APPEND CMAKE_REQUIRED_LIBRARIES "-L${_dirs}" )
|
|
||||||
+endforeach()
|
|
||||||
+list( APPEND CMAKE_REQUIRED_LIBRARIES ${TQT_LIBRARIES} )
|
|
||||||
|
|
||||||
check_cxx_source_compiles("
|
|
||||||
#include <cstdlib>
|
|
||||||
@@ -219,7 +222,10 @@ if( WITH_KONQSIDEBAR )
|
|
||||||
set( CMAKE_REQUIRED_DEFINITIONS ${TQT_CFLAGS_OTHER} )
|
|
||||||
set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};${TQT_INCLUDE_DIRS};${CMAKE_INCLUDE_PATH} )
|
|
||||||
set( CMAKE_REQUIRED_FLAGS "-include tqt.h" )
|
|
||||||
- set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} -L${QT_LIBRARY_DIRS} ${TQT_LIBRARIES} )
|
|
||||||
+ foreach( _dirs ${TQT_LIBRARY_DIRS} )
|
|
||||||
+ list( APPEND CMAKE_REQUIRED_LIBRARIES "-L${_dirs}" )
|
|
||||||
+ endforeach()
|
|
||||||
+ list( APPEND CMAKE_REQUIRED_LIBRARIES ${TQT_LIBRARIES} )
|
|
||||||
check_cxx_source_compiles("
|
|
||||||
#include <konqsidebarplugin.h>
|
|
||||||
int main(int, char**) { return 0; } "
|
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=filelight
|
||||||
|
_cat=applications/utilities/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Show where your diskspace is being used"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('28eb15886460968994467eabbd26a870')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kbiff
|
||||||
|
_cat=applications/internet/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="TDE mail notification utility"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('499c77307e53b094c72a745c0925a9cc')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,58 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kchmviewer
|
||||||
|
_cat=applications/utilities/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="CHM viewer for Trinity"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
'chmlib'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('4d9cb2ddbb0721c6211453c0d9d4d9be')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kcpuload
|
||||||
|
_cat=applications/utilities/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A CPU meter for Kicker"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('6e2d9d5f2b6fbf0b62e8eb24e78c5b1a')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,58 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=konversation
|
||||||
|
_cat=applications/internet/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="User friendly Internet Relay Chat (IRC) client for TDE"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
'libxss'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('2855fb9779afacaed2574a92eb9959e5')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kooldock
|
||||||
|
_cat=applications/system/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Dock for TDE with cool visual enhancements"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('6d2e7a4c2343fca9327da32dc19020d8')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kshutdown
|
||||||
|
_cat=applications/system/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="An advanced shut down utility for TDE"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('1485410bbbf5a8b3185a7ad1915487e1')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kvkbd
|
||||||
|
_cat=applications/system/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Virtual keyboard for TDE"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('ac97d9fea50e8675629c0c956334b33e')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,59 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=tde-style-baghira
|
||||||
|
_cat=applications/themes/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod/tde-}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="TDE style for Apple junkies :)"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdebase'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('4df33774e98c3c5dcb57de85a32b51e6')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,59 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=tde-style-lipstik
|
||||||
|
_cat=applications/themes/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod/tde-}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Lipstik style for TDE"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('6d6c279995361b6507fcfbba89f6e22d')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=tdeio-appinfo
|
||||||
|
_cat=applications/tdeio/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="TDEIO slave for the appinfo protocol"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('5fd6e345590b50cea978e7753243c699')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=tdeio-ftps
|
||||||
|
_cat=applications/tdeio/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="An ftps TDEIO slave for TDE"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('2553590a4b575f9a46608994db0894e4')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=tdeio-locate
|
||||||
|
_cat=applications/tdeio/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="tdeio-slave for the locate command"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('ca967bcdeda782b8df18f8e1bf0c4af3')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,59 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=twin-style-dekorator
|
||||||
|
_cat=applications/themes/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod/tde-}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Window decorations for TDE using user-supplied PNG files"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdebase'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('25f7de5dec8ef6462f9b4ea7f0f22bf6')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,48 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=libkipi
|
||||||
|
_cat=libraries/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.13
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="The library for apps that want to use TDE kipi-plugins"
|
||||||
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
groups=('tde-libs')
|
||||||
|
depends=('tde-tdelibs')
|
||||||
|
makedepends=('tde-cmake-trinity')
|
||||||
|
optdepends=()
|
||||||
|
provides=("${_mod}")
|
||||||
|
conflicts=("trinity-${_mod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!emptydirs')
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('bf86456c8c14a9c2b74e000b32dc4631')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p ${srcdir}/build
|
||||||
|
cd ${srcdir}/build
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver}/ \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building $pkgname..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - $pkgname-$pkgver"
|
||||||
|
cd ${srcdir}/build
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
Loading…
Reference in new issue