diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-09-20 17:08:32 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-09-29 09:27:25 +0200 |
commit | 0ac2945504b4df71d0ac6777b2c956cd4921ad08 (patch) | |
tree | 301eb3b41ae6f4e78a8b5611040ba8d9c13af6dd /arch/tde-extra | |
parent | 318e997cf4d25c5d2e7b4261a6017b653c1fa93c (diff) | |
download | tde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.tar.gz tde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.zip |
ArchLinux: Take a newer state of pkgbuilds from Michael Manley
Clean old long-term not maintained pkgbuilds.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 018f946ee70600993c60a74046f417ca05bdb41b)
Diffstat (limited to 'arch/tde-extra')
24 files changed, 1152 insertions, 0 deletions
diff --git a/arch/tde-extra/tde-amarok/PKGBUILD b/arch/tde-extra/tde-amarok/PKGBUILD new file mode 100644 index 000000000..d26358250 --- /dev/null +++ b/arch/tde-extra/tde-amarok/PKGBUILD @@ -0,0 +1,40 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-amarok +pkgver=14.0.5 +pkgrel=1 +pkgdesc="TDE Amarok" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/amarok' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase' 'taglib') +makedepends=('pkgconfig' 'cmake') +#provides=('tde-amarok') +#conflicts=('tde-amarok') +#replaces=('tde-amarok') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/amarok-R${pkgver}.tar.bz2") +md5sums=('0351b0d4ee54ae266e2a3ec47cd3accf') +# install='' + +build() { + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname#*-} + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname}..." + + ./configure --prefix=${TDEDIR} + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/applications/${pkgname#*-} + + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-gtk-qt-engine/PKGBUILD b/arch/tde-extra/tde-gtk-qt-engine/PKGBUILD new file mode 100644 index 000000000..c16ef0f97 --- /dev/null +++ b/arch/tde-extra/tde-gtk-qt-engine/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Michael Manley <mmanley@nasutek.com> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +pkgname=tde-gtk-qt-engine +pkgver=14.0.5 +pkgrel=1 +pkgdesc="gtk qt engine" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/gtk-qt-engine' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake') +#provides=('gtk-qt-engine') +#conflicts=('gtk-qt-engine') +#replaces=('gtk-qt-engine') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/gtk-qt-engine-R${pkgver}.tar.bz2") +md5sums=('31777d53a3b6e79e416306427e908a89') +# install='' + +build() { + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname#*-} + + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p "$srcdir/build" + cd "$srcdir/build" + + msg "Starting cmake..." + + cmake ${srcdir}/applications/${pkgname#*-} \ + -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ + -DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \ + -DBUILD_ALL=ON \ + -DWITH_GCC_VISIBILITY=ON + + make $NUMJOBS + +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build # use for libtool + + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD b/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD new file mode 100644 index 000000000..075ff99a5 --- /dev/null +++ b/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Michael Manley <mmanley@nasutek.com> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +pkgname=tde-gtk3-tqt-engine +pkgver=14.0.5 +pkgrel=1 +pkgdesc="gtk3 tqt engine" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/gtk3-tqt-engine' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase' 'gtk3') +makedepends=('pkgconfig' 'cmake') +#provides=('tdemultimedia') +#conflicts=('gtk3-tqt-engine') +#replaces=('gtk3-tqt-engine') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/gtk3-tqt-engine-R${pkgver}.tar.bz2") +md5sums=('76b078e7afcd6a8e683efa924fcfad2e') +# install='' + +build() { + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname#*-} + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname}..." + + ./configure --prefix=${TDEDIR} + + ### PATCH: This allows the package to compile due to some odd reason its not finding tqt-mt, Remove LD_LIBRARY_PATH + ### if fixed on future versions + LD_LIBRARY_PATH=$TQTDIR/lib make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/applications/${pkgname#*-} + + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-kmplayer/PKGBUILD b/arch/tde-extra/tde-kmplayer/PKGBUILD new file mode 100644 index 000000000..a5b3bdcc5 --- /dev/null +++ b/arch/tde-extra/tde-kmplayer/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Michael Manley <mmanley@nasutek.com> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +pkgname=tde-kmplayer +pkgver=14.0.5 +pkgrel=1 +pkgdesc="TDE KMPlayer" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/kmplayer' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase' 'dbus-glib') +makedepends=('pkgconfig' 'cmake' 'mplayer') +#provides=('kmplayer') +#conflicts=('kmplayer') +#replaces=('kmplayer') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/kmplayer-R${pkgver}.tar.bz2" + "callback-stub-fix.patch") +md5sums=('968e2116b333ea646ce00fd2ab2038a8' + '31ed0b0814a3855c65541c058ac91a68') +# install='' + +build() { + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname#*-} + + msg "Patching for callback stub header..." + patch -p1 -i ${srcdir}/callback-stub-fix.patch + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname}..." + CFLAGS="${CFLAGS} -fpermissive" \ + CXXFLAGS="${CXXFLAGS} -fpermissive" \ + ./configure \ + --prefix=${TDEDIR} \ + --with-qt-dir=${QTDIR} \ + --with-qt-includes=${QTDIR}/include \ + --with-qt-libraries=${QTDIR}/lib \ + --sysconfdir=${TDEDIR}/etc \ + --localstatedir=/var \ + --enable-closure + + msg "Building - ${pkgname#*-}..." +make $NUMJOBS +} + +package() { +msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/applications/${pkgname#*-} # use for libtool + +make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-kmplayer/callback-stub-fix.patch b/arch/tde-extra/tde-kmplayer/callback-stub-fix.patch new file mode 100644 index 000000000..a2069defc --- /dev/null +++ b/arch/tde-extra/tde-kmplayer/callback-stub-fix.patch @@ -0,0 +1,35 @@ +diff -Naur kmplayer-orig/src/Makefile.am kmplayer/src/Makefile.am +--- kmplayer-orig/src/Makefile.am 2018-08-25 10:16:53.000000000 +0000 ++++ kmplayer/src/Makefile.am 2019-01-31 21:26:36.000000000 +0000 +@@ -27,6 +27,7 @@ + kmplayer_la_SOURCES= main.cpp kmplayerapp.cpp kmplayertvsource.cpp kmplayerbroadcast.cpp kmplayervdr.cpp + kmplayer_la_LIBADD= libkmplayercommon.la $(LIB_XTEST) + kmplayer_la_LDFLAGS= -module $(KDE_PLUGIN) $(LIB_QT) ++kmplayer_la_COMPILE_FIRST= kmplayer_backend_stub.h + + EXTRA_PROGRAMS = kxineplayer kxvplayer kgstplayer + if include_kxineplayer +@@ -48,14 +49,17 @@ + kxineplayer_CFLAGS= $(CFLAGS_XINE) + kxineplayer_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor + kxineplayer_SOURCES= xineplayer.cpp ++kxineplayer_COMPILE_FIRST= kmplayer_callback_stub.h + + kxvplayer_LDADD= libkmplayerbackend.la -lDCOP -lXv + kxvplayer_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor + kxvplayer_SOURCES= xvplayer.cpp ++kxvplayer_COMPILE_FIRST= kmplayer_callback_stub.h + + kgstplayer_LDADD= libkmplayerbackend.la $(LIB_GST) $(LIB_GST_PLUGINS) $(LIB_GST_OVERLAY) -lDCOP + kgstplayer_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor + kgstplayer_SOURCES= gstplayer.cpp ++kgstplayer_COMPILE_FIRST= kmplayer_callback_stub.h + + knpplayer_LDADD= $(LIBNSPR_LIBS) + knpplayer_LDFLAGS= -lX11 -lgmodule-2.0 +@@ -79,3 +83,5 @@ + + messages: rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/kmplayer.pot ++ ++.NOTPARALLEL: diff --git a/arch/tde-extra/tde-krusader/PKGBUILD b/arch/tde-extra/tde-krusader/PKGBUILD new file mode 100644 index 000000000..d00693d71 --- /dev/null +++ b/arch/tde-extra/tde-krusader/PKGBUILD @@ -0,0 +1,56 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-krusader +pkgver=14.0.5 +pkgrel=1 +pkgdesc="TDE Krusader" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/krusader' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'automake') +#provides=('krusader') +#conflicts=('krusader') +#replaces=('krusader') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/krusader-R${pkgver}.tar.bz2") +md5sums=('0787b4b4271f7a107b4d397db621b145') +# install='' + +build() { + # old ruby1.8 path + export PATH=/opt/ruby1.8/bin:$PATH + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname#*-} + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname}..." + CFLAGS="${CFLAGS} -fpermissive" \ + CXXFLAGS="${CXXFLAGS} -fpermissive" \ + ./configure \ + --prefix=${TDEDIR} \ + --with-qt-dir=${QTDIR} \ + --with-qt-includes=${QTDIR}/include \ + --with-qt-libraries=${QTDIR}/lib \ + --sysconfdir=${TDEDIR}/etc \ + --localstatedir=/var \ + --enable-closure + + msg "Building - ${pkgname#*-}..." +make $NUMJOBS +} + +package() { +msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/applications/${pkgname#*-} # use for libtool + +make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-ksplash-engine-moodin/PKGBUILD b/arch/tde-extra/tde-ksplash-engine-moodin/PKGBUILD new file mode 100644 index 000000000..7da4d0d4a --- /dev/null +++ b/arch/tde-extra/tde-ksplash-engine-moodin/PKGBUILD @@ -0,0 +1,56 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-ksplash-engine-moodin +pkgver=14.0.5 +pkgrel=1 +pkgdesc="TDE KSplash Engine Moodin" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/ksplash-engine-moodin' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'automake') +#provides=('ksplash-engine-moodin') +#conflicts=('ksplash-engine-moodin') +#replaces=('ksplash-engine-moodin') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/ksplash-engine-moodin-R${pkgver}.tar.bz2") +md5sums=('fb580976442327d34fbfcd2fcab63e9e') +# install='' + +build() { + # old ruby1.8 path + export PATH=/opt/ruby1.8/bin:$PATH + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname#*-} + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname}..." + CFLAGS="${CFLAGS} -fpermissive" \ + CXXFLAGS="${CXXFLAGS} -fpermissive" \ + ./configure \ + --prefix=${TDEDIR} \ + --with-qt-dir=${QTDIR} \ + --with-qt-includes=${QTDIR}/include \ + --with-qt-libraries=${QTDIR}/lib \ + --sysconfdir=${TDEDIR}/etc \ + --localstatedir=/var \ + --enable-closure + + msg "Building - ${pkgname#*-}..." +make $NUMJOBS +} + +package() { +msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/applications/${pkgname#*-} # use for libtool + +make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-style-qtcurve/PKGBUILD b/arch/tde-extra/tde-style-qtcurve/PKGBUILD new file mode 100644 index 000000000..e5bc33437 --- /dev/null +++ b/arch/tde-extra/tde-style-qtcurve/PKGBUILD @@ -0,0 +1,46 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-style-qtcurve +pkgver=14.0.5 +pkgrel=1 +pkgdesc="TDE Style QTCurve" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/tde-style-qtcurve' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake') +#provides=('tde-style-qtcurve') +#conflicts=('tde-style-qtcurve') +#replaces=('tde-style-qtcurve') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/tde-style-qtcurve-R${pkgver}.tar.bz2") +md5sums=('43e7e865807d966890663e511837b616') +# install='' + +build() { + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname} + + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p "$srcdir/build" + cd "$srcdir/build" + + msg "Starting cmake..." + + cmake ${srcdir}/applications/${pkgname} \ + -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ + -DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \ + -DBUILD_ALL=ON \ + -DWITH_GCC_VISIBILITY=ON + + make $NUMJOBS + +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build # use for libtool + + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-systemsettings/PKGBUILD b/arch/tde-extra/tde-systemsettings/PKGBUILD new file mode 100644 index 000000000..239f47606 --- /dev/null +++ b/arch/tde-extra/tde-systemsettings/PKGBUILD @@ -0,0 +1,49 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-systemsettings +pkgver=14.0.5 +pkgrel=1 +pkgdesc="TDE System Settings" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/tde-systemsettings' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake') +#provides=('tde-systemsettings') +#conflicts=('tde-systemsettings') +#replaces=('tde-systemsettings') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/tde-systemsettings-R${pkgver}.tar.bz2") +md5sums=('2a59f87b39bd63b8ae30eca38763a3ec') +# install='' + +build() { + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname} + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname}..." + + ./configure --prefix=${TDEDIR} + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/applications/${pkgname} + + make -j1 DESTDIR="${pkgdir}" install + + rm -rf ${pkgdir}/opt/trinity/share/applications/tde/kcmfontinst.desktop + rm -rf ${pkgdir}/opt/trinity/share/applications/tde/laptop.desktop + rm -rf ${pkgdir}/opt/trinity/share/desktop-directories/tde-settings-power.directory + rm -rf ${pkgdir}/opt/trinity/share/desktop-directories/tde-settings-system.directory +} diff --git a/arch/tde-extra/tde-tdeaccessibility/PKGBUILD b/arch/tde-extra/tde-tdeaccessibility/PKGBUILD new file mode 100644 index 000000000..b95da285b --- /dev/null +++ b/arch/tde-extra/tde-tdeaccessibility/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: David C. Rankin <drankinatty at gmail dot com> + +pkgname=tde-tdeaccessibility +pkgver=14.0.5 +pkgrel=1 +pkgdesc="Accessibility utilities for the TDE Desktop" +arch=('i686' 'x86_64') +url="http://scm.trinitydesktop.org/scm/git/${pkgname#*-}" +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake' 'autoconf' 'imake') +optdepends=() +provides=("${pkgname#*-}") +conflicts=("trinity-${pkgname#*-}") +replaces=("trinity-${pkgname#*-}") +options=('staticlibs' 'libtool' '!emptydirs') +# install='pkgname.install' +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdeaccessibility-R${pkgver}.tar.bz2") +md5sums=('e6b46859ddc8bb22e6b4e5cd21f989e1') + +build() { + cd ${srcdir}/${pkgname#*-} + ## Generate config files and update with autoreconf + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname}..." + ./configure \ + --prefix=${TDEDIR} \ + --with-qt-dir=${QTDIR} \ + --with-extra-libs=${TDEDIR}/lib/trinity \ + --localstatedir=/var \ + --enable-kttsd-epos=no \ + --enable-kttsd-festivalint=no \ + --enable-kttsd-flite=no \ + --enable-kttsd-freetts=no \ + --enable-kttsd-hadifix=no \ + --enable-debug=full \ + --enable-closure + + msg "Building - ${pkgname}..." + + make $NUMJOBS + +} + +package() { + msg "Packaging - $pkgname-$pkgver" + + cd ${srcdir}/${pkgname#*-} # use for non-out-of-source + + make -j1 DESTDIR="$pkgdir" install +} diff --git a/arch/tde-extra/tde-tdeaddons/PKGBUILD b/arch/tde-extra/tde-tdeaddons/PKGBUILD new file mode 100644 index 000000000..8a16ac123 --- /dev/null +++ b/arch/tde-extra/tde-tdeaddons/PKGBUILD @@ -0,0 +1,43 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-tdeaddons +pkgver=14.0.5 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/tdeaddons' +license=('GPL') +groups=('tde-extra') +pkgdesc="Trinity Desktop Addons" +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake' 'tde-tdegames' 'tde-tdepim' 'tde-tdemultimedia') +provides=('tdeaddons') +conflicts=('trinity-tdeaddons' 'trinity-kdeaddons') +replaces=('trinity-tdeaddons') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdeaddons-R${pkgver}.tar.bz2") +md5sums=('b730d4d465d867755a19f77e6efc9e88') +# install='' + +build() { + cd $srcdir + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p build + cd build + + msg "Starting cmake..." + cmake ${srcdir}/${pkgname#*-} \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX=$TDEDIR \ + -DWITH_SPEEX=ON \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON + + msg "Building - ${pkgname#*-}..." + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-tdeedu/PKGBUILD b/arch/tde-extra/tde-tdeedu/PKGBUILD new file mode 100644 index 000000000..e326ce774 --- /dev/null +++ b/arch/tde-extra/tde-tdeedu/PKGBUILD @@ -0,0 +1,75 @@ +# Maintainer: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-tdeedu +pkgver=14.0.5 +pkgrel=1 +pkgdesc="Educational utilities for the TDE Desktop" +arch=('i686' 'x86_64') +url="http://scm.trinitydesktop.org/scm/git/${pkgname#*-}" +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'autoconf') +optdepends=() +provides=("${pkgname#*-}") +conflicts=("trinity-${pkgname#*-}") +replaces=("trinity-${pkgname#*-}") +options=('staticlibs' 'libtool' '!emptydirs') +# install='pkgname.install' +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdeedu-R${pkgver}.tar.bz2" + "kmplot.patch") +md5sums=('b6ceb82d93d19e3862dfb01c45457774' + '3b00bf93b77d020d69d9d92ef80041d2') + +build() { + cd ${srcdir}/${pkgname#*-} + ## Generate config files and update with autoreconf + + msg "Patching for kmplot..." + patch -p1 -i ${srcdir}/kmplot.patch + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname}..." + ./configure \ + --prefix=${TDEDIR} \ + --with-qt-dir=${QTDIR} \ + --with-extra-libs=${TDEDIR}/lib/trinity \ + --localstatedir=/var \ + --enable-kttsd-epos=no \ + --enable-kttsd-festivalint=no \ + --enable-kttsd-flite=no \ + --enable-kttsd-freetts=no \ + --enable-kttsd-hadifix=no \ + --enable-debug=full \ + --enable-closure + + msg "Building - ${pkgname}..." + + make $NUMJOBS + +} + +package() { + msg "Packaging - $pkgname-$pkgver" + + cd ${srcdir}/${pkgname#*-} # use for non-out-of-source + + make -j1 DESTDIR="$pkgdir" install + +# # remove icons that conflict with tdelibs +# msg "Removing kttsd.png icons that conflict with tdelibs..." +# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/16x16/apps/kttsd.png +# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/22x22/apps/kttsd.png +# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/32x32/apps/kttsd.png +# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/48x48/apps/kttsd.png +# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/64x64/apps/kttsd.png +# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/128x128/apps/kttsd.png +# rm ${pkgdir}/opt/trinity/share/icons/crystalsvg/scalable/apps/kttsd.svgz +} diff --git a/arch/tde-extra/tde-tdeedu/kmplot.patch b/arch/tde-extra/tde-tdeedu/kmplot.patch new file mode 100644 index 000000000..486ac6724 --- /dev/null +++ b/arch/tde-extra/tde-tdeedu/kmplot.patch @@ -0,0 +1,12 @@ +diff -Naur tdeedu-orig/kmplot/kmplot/Makefile.am tdeedu/kmplot/kmplot/Makefile.am +--- tdeedu-orig/kmplot/kmplot/Makefile.am 2018-08-25 10:03:05.000000000 +0000 ++++ tdeedu/kmplot/kmplot/Makefile.am 2019-01-31 21:39:42.000000000 +0000 +@@ -28,6 +28,8 @@ + kmplot_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) $(LIB_TDEPARTS) -lDCOP + kmplot_LDADD = $(LIB_TDEPARTS) + ++kmplot_COMPILE_FIRST = FktDlgData.h qminmax.h settings.h ++ + # this is where the desktop file will go + appmimedir = $(kde_mimedir)/application + appmime_DATA = x-kmplot.desktop diff --git a/arch/tde-extra/tde-tdegames/PKGBUILD b/arch/tde-extra/tde-tdegames/PKGBUILD new file mode 100644 index 000000000..d3d4d5b00 --- /dev/null +++ b/arch/tde-extra/tde-tdegames/PKGBUILD @@ -0,0 +1,43 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-tdegames +pkgver=14.0.5 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/tdegames' +license=('GPL') +groups=('tde-extra') +pkgdesc="Trinity Desktop Games" +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake') +provides=('tdegames') +conflicts=('trinity-tdegames' 'trinity-kdegames') +replaces=('trinity-tdegames') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdegames-R${pkgver}.tar.bz2") +md5sums=('8832d778231615da0dc6b4d1e083f9ba') +# install='' + +build() { + cd $srcdir + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p build + cd build + + msg "Starting cmake..." + cmake ${srcdir}/${pkgname#*-} \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX=$TDEDIR \ + -DWITH_SPEEX=ON \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON + + msg "Building - ${pkgname#*-}..." + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-tdemultimedia/PKGBUILD b/arch/tde-extra/tde-tdemultimedia/PKGBUILD new file mode 100644 index 000000000..01378237c --- /dev/null +++ b/arch/tde-extra/tde-tdemultimedia/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Michael Manley <mmanley@nasutek.com> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +pkgname=tde-tdemultimedia +pkgver=14.0.5 +pkgrel=1 +pkgdesc="Trinity Desktop MultiMedia Components" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/tdemultimedia' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake') +provides=('tdemultimedia') +conflicts=('trinity-tdemultimedia' 'trinity-kdemultimedia') +replaces=('trinity-tdemultimedia') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdemultimedia-R${pkgver}.tar.bz2" + "stat.patch") +md5sums=('35df868eecb8a7d794c156fe6e6e038c' + '19a31ab61d45477149dd7ab6b85a17cd') +# install='' + +build() { + ## Generate config files and update with autoreconf + cd ${srcdir}/${pkgname#*-} + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Patching to not use linux/stat.h" + patch -p1 -i ${srcdir}/stat.patch + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname}..." + CFLAGS="${CFLAGS} -fpermissive" \ + CXXFLAGS="${CXXFLAGS} -fpermissive" \ + ./configure \ + --prefix=${TDEDIR} \ + --with-qt-dir=${QTDIR} \ + --with-qt-includes=${QTDIR}/include \ + --with-qt-libraries=${QTDIR}/lib \ + --sysconfdir=${TDEDIR}/etc \ + --localstatedir=/var \ + --enable-closure + + msg "Building - ${pkgname#*-}..." + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/${pkgname#*-} # use for libtool + + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-tdemultimedia/stat.patch b/arch/tde-extra/tde-tdemultimedia/stat.patch new file mode 100644 index 000000000..167ee6cfc --- /dev/null +++ b/arch/tde-extra/tde-tdemultimedia/stat.patch @@ -0,0 +1,15 @@ +diff -Naur tdemultimedia-orig/kscd/kcompactdisc.cpp tdemultimedia/kscd/kcompactdisc.cpp +--- tdemultimedia-orig/kscd/kcompactdisc.cpp 2018-08-25 05:29:23.000000000 +0000 ++++ tdemultimedia/kscd/kcompactdisc.cpp 2019-01-31 10:16:44.000000000 +0000 +@@ -42,11 +42,6 @@ + #include <fcntl.h> + #include <sys/ioctl.h> + +-/* this is for glibc 2.x which the ust structure in ustat.h not stat.h */ +-#ifdef __GLIBC__ +-#include <sys/ustat.h> +-#endif +- + #ifdef __FreeBSD__ + #include <sys/param.h> + #include <sys/ucred.h> diff --git a/arch/tde-extra/tde-tdenetwork/PKGBUILD b/arch/tde-extra/tde-tdenetwork/PKGBUILD new file mode 100644 index 000000000..b67f24858 --- /dev/null +++ b/arch/tde-extra/tde-tdenetwork/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Michael Manley <mmanley@nasutek.com> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +pkgname=tde-tdenetwork +pkgver=14.0.5 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/tdenetwork' +license=('GPL') +groups=('tde-extra') +pkgdesc="Trinity Desktop Network Components" +depends=('tde-tdebase' 'speex' 'wireless_tools' 'wpa_supplicant') +makedepends=('pkgconfig' 'cmake') +provides=('tdenetwork') +conflicts=('trinity-tdenetwork' 'trinity-kdenetwork') +replaces=('trinity-tdenetwork') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdenetwork-R${pkgver}.tar.bz2") +md5sums=('a8bf7062f8955179955aa6a52e58112c') +# install='' + +build() { + cd $srcdir + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p build + cd build + + msg "Starting cmake..." + cmake ${srcdir}/${pkgname#*-} \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX=$TDEDIR \ + -DWITH_SPEEX=ON \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON + + msg "Building - ${pkgname#*-}..." + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-tdenetworkmanager/PKGBUILD b/arch/tde-extra/tde-tdenetworkmanager/PKGBUILD new file mode 100644 index 000000000..d6b94e78d --- /dev/null +++ b/arch/tde-extra/tde-tdenetworkmanager/PKGBUILD @@ -0,0 +1,46 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-tdenetworkmanager +pkgver=14.0.5 +pkgrel=1 +pkgdesc="gtk qt engine" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/tdenetworkmanager' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake') +#provides=('tdenetworkmanager') +#conflicts=('tdenetworkmanager') +#replaces=('tdenetworkmanager') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/tdenetworkmanager-R${pkgver}.tar.bz2") +md5sums=('28f6255e6407330573f8a4af57e41a65') +# install='' + +build() { + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname#*-} + + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p "$srcdir/build" + cd "$srcdir/build" + + msg "Starting cmake..." + + cmake ${srcdir}/applications/${pkgname#*-} \ + -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ + -DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \ + -DBUILD_ALL=ON \ + -DWITH_GCC_VISIBILITY=ON + + make $NUMJOBS + +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build # use for libtool + + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-tdepim/PKGBUILD b/arch/tde-extra/tde-tdepim/PKGBUILD new file mode 100644 index 000000000..d2d17a9b0 --- /dev/null +++ b/arch/tde-extra/tde-tdepim/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Michael Manley <mmanley@nasutek.com> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +pkgname=tde-tdepim +pkgver=14.0.5 +pkgrel=1 +pkgdesc="Trinity Desktop PIM Components" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/tdepim' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdenetwork' 'boost' 'boost-libs' 'gnokii' 'libxss' 'xscreensaver' 'tde-libcaldav' 'tde-libcarddav') +makedepends=('pkgconfig' 'cmake' ) +provides=('tdepim') +replaces=('trinity-tdepim') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdepim-R${pkgver}.tar.bz2") +md5sums=('0dfd3561ff0ffc440fc9ead221021333') + +build() { + cd $srcdir + + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p build + cd build + + msg "Starting cmake..." + cmake ${srcdir}/${pkgname#*-} \ + -DCMAKE_C_FLAGS="-fpermissive" \ + -DCMAKE_CXX_FLAGS="-fpermissive" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX=$TDEDIR \ + -DWITH_ALL_OPTIONS=ON \ + -DBUILD_ALL=ON + + msg "Building - ${pkgname#*-}..." + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + make -j1 DESTDIR="${pkgdir}" install + # Removing /opt/trinity/share/icons/default.tde to prevent a conflict + rm -rf ${pkgdir}/opt/trinity/share/icons/default.tde +} diff --git a/arch/tde-extra/tde-tdepowersave/PKGBUILD b/arch/tde-extra/tde-tdepowersave/PKGBUILD new file mode 100644 index 000000000..65f5a99f8 --- /dev/null +++ b/arch/tde-extra/tde-tdepowersave/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Michael Manley <mmanley@nasutek.com> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +_mod=tdepowersave +_cat=applications/ +_kdemod="${_mod/tde/kde}" +pkgname="tde-$_mod" +pkgver=14.0.5 +pkgrel=1 +pkgdesc="Trinity Desktop Enviroment $_cat$_mod" +arch=('i686' 'x86_64') +url="http://scm.trinitydesktop.org/scm/git/$_mod" +license=('GPL') +#provides=("$_mod") +groups=('tde-extra') +depends=( + 'tde-tdelibs' + 'tde-dbus-1-tqt' +) +makedepends=( + 'autoconf' + 'cmake' + 'pkgconfig' +) +optdepends=() +confilicts=("trinity-$_kdemod" "kdemod3-$_kdemod") +#replaces=("trinity-$_mod") +options=('staticlibs' 'libtool' '!strip') +install= + +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R$pkgver/$_cat$_mod-R$pkgver.tar.bz2") + +build() { + cd "${srcdir}/${_cat}${_mod}" + + msg "Patch sources" + sed -i 's/^int kdemain/KDE_EXPORT \0/' src/main.cpp + + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p "$srcdir/build" + cd "$srcdir/build" + + msg "Starting cmake..." + + export LIBRARY_PATH="$LIBRARY_PATH:/opt/trinity/lib/" + cmake ${srcdir}/${_cat}${_mod} \ + -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ + -DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \ + -DBUILD_ALL=ON \ + -DWITH_GCC_VISIBILITY=ON + + make VERBOSE=1 $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd "$srcdir/build" + make -j1 DESTDIR="$pkgdir" install +} +md5sums=('5006a20e844e3d8dc2ba8dbc41487990') diff --git a/arch/tde-extra/tde-tdesudo/PKGBUILD b/arch/tde-extra/tde-tdesudo/PKGBUILD new file mode 100644 index 000000000..17739ab81 --- /dev/null +++ b/arch/tde-extra/tde-tdesudo/PKGBUILD @@ -0,0 +1,56 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-tdesudo +pkgver=14.0.5 +pkgrel=1 +pkgdesc="TDE Sudo" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/tdesudo' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'automake') +#provides=('tdesudo') +#conflicts=('tdesudo') +#replaces=('tdesudo') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/tdesudo-R${pkgver}.tar.bz2") +md5sums=('8f86b7b497a9575979b27fd2911b0106') +# install='' + +build() { + # old ruby1.8 path + export PATH=/opt/ruby1.8/bin:$PATH + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname#*-} + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname#*-}..." + CFLAGS="${CFLAGS} -fpermissive" \ + CXXFLAGS="${CXXFLAGS} -fpermissive" \ + ./configure \ + --prefix=${TDEDIR} \ + --with-qt-dir=${QTDIR} \ + --with-qt-includes=${QTDIR}/include \ + --with-qt-libraries=${QTDIR}/lib \ + --sysconfdir=${TDEDIR}/etc \ + --localstatedir=/var \ + --enable-closure + + msg "Building - ${pkgname#*-}..." +make $NUMJOBS +} + +package() { +msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/applications/${pkgname#*-} # use for libtool + +make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-tdetoys/PKGBUILD b/arch/tde-extra/tde-tdetoys/PKGBUILD new file mode 100644 index 000000000..2689a473c --- /dev/null +++ b/arch/tde-extra/tde-tdetoys/PKGBUILD @@ -0,0 +1,43 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-tdetoys +pkgver=14.0.5 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/tdetoys' +license=('GPL') +groups=('tde-extra') +pkgdesc="Trinity Desktop Toys" +depends=('tde-tdebase') +makedepends=('pkgconfig' 'cmake' 'tde-tdegames') +provides=('tdetoys') +conflicts=('trinity-tdetoys' 'trinity-kdetoys') +replaces=('trinity-tdetoys') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdetoys-R${pkgver}.tar.bz2") +md5sums=('bc2324f104aa0c9db1caf2e8419b76fb') +# install='' + +build() { + cd $srcdir + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p build + cd build + + msg "Starting cmake..." + cmake ${srcdir}/${pkgname#*-} \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX=$TDEDIR \ + -DWITH_SPEEX=ON \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON + + msg "Building - ${pkgname#*-}..." + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-tdmtheme/PKGBUILD b/arch/tde-extra/tde-tdmtheme/PKGBUILD new file mode 100644 index 000000000..aa991c312 --- /dev/null +++ b/arch/tde-extra/tde-tdmtheme/PKGBUILD @@ -0,0 +1,56 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-tdmtheme +pkgver=14.0.5 +pkgrel=1 +pkgdesc="TDM Theme" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/tdmtheme' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'automake') +#provides=('tdmtheme') +#conflicts=('tdmtheme') +#replaces=('tdmtheme') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/tdmtheme-R${pkgver}.tar.bz2") +md5sums=('dc202459e80fde7b469ef1cfb684803c') +# install='' + +build() { + # old ruby1.8 path + export PATH=/opt/ruby1.8/bin:$PATH + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname#*-} + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname#*-}..." + CFLAGS="${CFLAGS} -fpermissive" \ + CXXFLAGS="${CXXFLAGS} -fpermissive" \ + ./configure \ + --prefix=${TDEDIR} \ + --with-qt-dir=${QTDIR} \ + --with-qt-includes=${QTDIR}/include \ + --with-qt-libraries=${QTDIR}/lib \ + --sysconfdir=${TDEDIR}/etc \ + --localstatedir=/var \ + --enable-closure + + msg "Building - ${pkgname#*-}..." +make $NUMJOBS +} + +package() { +msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/applications/${pkgname#*-} # use for libtool + +make -j1 DESTDIR="${pkgdir}" install +} diff --git a/arch/tde-extra/tde-twin-style-crystal/PKGBUILD b/arch/tde-extra/tde-twin-style-crystal/PKGBUILD new file mode 100644 index 000000000..4deb3c208 --- /dev/null +++ b/arch/tde-extra/tde-twin-style-crystal/PKGBUILD @@ -0,0 +1,56 @@ +# Contributor: e1z0 <justinas at eofnet dot lt> + +pkgname=tde-twin-style-crystal +pkgver=14.0.5 +pkgrel=1 +pkgdesc="TDE TWin Style Crystal" +arch=('i686' 'x86_64') +url='http://scm.trinitydesktop.org/scm/git/applications/twin-style-crystal' +license=('GPL') +groups=('tde-extra') +depends=('tde-tdebase') +makedepends=('pkgconfig' 'automake') +#provides=('twin-style-crystal') +#conflicts=('twin-style-crystal') +#replaces=('twin-style-crystal') +options=('staticlibs' 'libtool' '!strip') +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/twin-style-crystal-R${pkgver}.tar.bz2") +md5sums=('51983ea2543b9ed886b4357bc6cfec60') +# install='' + +build() { + # old ruby1.8 path + export PATH=/opt/ruby1.8/bin:$PATH + ## Generate config files and update with autoreconf + cd ${srcdir}/applications/${pkgname#*-} + + msg "Copying system libtool files...." + cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in + cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh + + msg "Running make -f admin/Makefile.common ...." + make -f admin/Makefile.common + + ## configure + msg "Configuring - ${pkgname#*-}..." + CFLAGS="${CFLAGS} -fpermissive" \ + CXXFLAGS="${CXXFLAGS} -fpermissive" \ + ./configure \ + --prefix=${TDEDIR} \ + --with-qt-dir=${QTDIR} \ + --with-qt-includes=${QTDIR}/include \ + --with-qt-libraries=${QTDIR}/lib \ + --sysconfdir=${TDEDIR}/etc \ + --localstatedir=/var \ + --enable-closure + + msg "Building - ${pkgname#*-}..." +make $NUMJOBS +} + +package() { +msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/applications/${pkgname#*-} # use for libtool + +make -j1 DESTDIR="${pkgdir}" install +} |