diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-themes/gtk-engines-qtpixmap |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-themes/gtk-engines-qtpixmap')
4 files changed, 160 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines-qtpixmap/Manifest b/x11-themes/gtk-engines-qtpixmap/Manifest new file mode 100644 index 000000000000..30ce1a400143 --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/Manifest @@ -0,0 +1,6 @@ +AUX gtk-engines-qtpixmap-0.28-gtk_switches.patch 3612 SHA256 45e917ab0579264c4bd5b160877df3b9d28a3f8a397d2d25d85a44720359bd8d SHA512 2e3162f85cde2f2ba4e0cf6e9812af53a3e0802a9e47f1a993bc9c8ccd559c2f71d6781189ffc765d54fdbe725a36165d9a5addabab12f30a471ef5982d8750a WHIRLPOOL ad2f9b94a23f1d2a0dee07951559e999d383d1c512108987a5bb43349dd740f7e84519a1e0602584443a0bcd2235ec62435326e582bff60ad9925e74a4d9b08b +DIST QtPixmap-0.28.tar.gz 429698 SHA256 514090d808db0c9ff04792663e24ac5ab663ae5b15ea4914cae8b76f4663a407 SHA512 42a16ed163ed12665d5db587bec3babcd5d802e63a3c282a9382041dc22e0dbcdfc9ae739b8ce224525c877b31f9c615d2c731a633722151a9b1185621a96e55 WHIRLPOOL 04ad32ca0561632203303efa56cd7bc4d407ca244a304a3c4e03289d245f229ffc965324209c122e5f3f62dc9f53014e875f9a043e317c7a2dcca0bb34d6df45 +EBUILD gtk-engines-qtpixmap-0.28-r2.ebuild 1007 SHA256 a5ce513c3484e052e35c7816bfe53e73f1f61f84cff00440ad17197dbc484da5 SHA512 2ee4de8a521de5a616cbdaa2fcc15ff0d617686c9360d25daab86362196ff55ae21cf6d48d8b0259ae35338808ec9d8f363d3c2e05c212a1880fecd0f399a6de WHIRLPOOL b11d8759c81b6f0c6c2c61f45826cfc25a80afb963c8475c1bd67719c993aeb166623ac9e549b0041754973f218d9528e0f44c2e29653b52e80cf28d80e4f2e4 +MISC ChangeLog 2527 SHA256 91c573cc4760853122db3d6c5800b9755d2656a845f860c9f0146ae20e2c9aa7 SHA512 4e067f184dd62a297eab27361aee93c7f16672d768785b7596624f3fe5710a024cbedada4bc34252601ec5c1e03d1567bc2b9fbb0f9d500f0044737cc5e08e9e WHIRLPOOL 602d0004c1a47502afc05a11ef14a98f91652af74b702488a367ede15196bc2fe6c0889c1ab845c9443b1f839102dc5c79a7834b8b0fa97b3823b2a55c9bd168 +MISC ChangeLog-2015 4023 SHA256 d054c00b5d2d71e55f76363f07fa12d40094a1fa1eed791a5a7e5e8fa47de1eb SHA512 bcf38339e6ba139b26012c79b5be85b396c85cff137aa931e5520d09ffd00a492b39aa3bf49b4e13bebde5e7a98eaceea6fb57d6aebeffb6ade87ac2323d0b68 WHIRLPOOL 4cd040af536c167ab6c61fd14a59cc9267799a4e9c105ebc5d9d98669ada272729a9df45654f480c39a87a68518811cd5366c38b184bbf94545ff17b4424d8c1 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/x11-themes/gtk-engines-qtpixmap/files/gtk-engines-qtpixmap-0.28-gtk_switches.patch b/x11-themes/gtk-engines-qtpixmap/files/gtk-engines-qtpixmap-0.28-gtk_switches.patch new file mode 100644 index 000000000000..8f5e10d6681c --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/files/gtk-engines-qtpixmap-0.28-gtk_switches.patch @@ -0,0 +1,98 @@ +diff -NurdB QtPixmap-0.28/configure.in QtPixmap-0.28-patched/configure.in +--- QtPixmap-0.28/configure.in 2004-02-03 06:26:07.000000000 -0500 ++++ QtPixmap-0.28-patched/configure.in 2005-08-02 21:59:35.000000000 -0500 +@@ -19,23 +19,28 @@ + FOUND_IMLIB=0 + FOUND_GTK2=0 + +-AC_PATH_PROG(gtkconf, gtk-config, no) +-if test -n "$gtkconf"; then +- vers=`$gtkconf --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` +- if test -n "$vers" && test "$vers" -ge 1002009; then +- GTK_LIBS="`$gtkconf --libs`" +- GTK_CFLAGS="`$gtkconf --cflags`" +- AC_SUBST(GTK_LIBS) +- AC_SUBST(GTK_CFLAGS) +- FOUND_GTK1=1 ++AC_ARG_ENABLE([gtk1], ++ AS_HELP_STRING([--enable-gtk1],[Enable Gtk+1 engine (default=yes)]), ++ [enable_gtk1=$enableval], ++ [enable_gtk1=yes]) ++ ++if test x$enable_gtk1 = xyes; then ++ AC_PATH_PROG(gtkconf, gtk-config, no) ++ if test -n "$gtkconf"; then ++ vers=`$gtkconf --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` ++ if test -n "$vers" && test "$vers" -ge 1002009; then ++ GTK_LIBS="`$gtkconf --libs`" ++ GTK_CFLAGS="`$gtkconf --cflags`" ++ AC_SUBST(GTK_LIBS) ++ AC_SUBST(GTK_CFLAGS) ++ FOUND_GTK1=1 ++ else ++ AC_MSG_ERROR([Not compiling for GTK1.x - you need at least Gtk v1.2.9]) ++ fi + else +- AC_MSG_WARN([Not compiling for GTK1.x - you need at least Gtk v1.2.9]) ++ AC_MSG_ERROR([Not compiling for GTK1.x - Gtk1.x not installed, need at least v1.2.9]) + fi +-else +- AC_MSG_WARN([Not compiling for GTK1.x - Gtk1.x not installed, need at least v1.2.9]) +-fi + +-if test $FOUND_GTK1 -eq 1; then + AC_PATH_PROG(imlibconf, imlib-config, no) + if test -n "$imlibconf"; then + vers=`$imlibconf --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` +@@ -46,29 +51,36 @@ + AC_SUBST(GDK_IMLIB_CFLAGS) + FOUND_IMLIB=1 + else +- AC_MSG_WARN([Not compiling for GTK1.x - you need at least IMLIB v1.8.0]) ++ AC_MSG_ERROR([Not compiling for GTK1.x - you need at least IMLIB v1.8.0]) + fi + else +- AC_MSG_WARN([Not compiling for GTK1.x - IMLIB not installed, need at least v1.8.0]) ++ AC_MSG_ERROR([Not compiling for GTK1.x - IMLIB not installed, need at least v1.8.0]) + fi + fi + + +-AC_PATH_PROG(pkgconfig, pkg-config, no) +-if test -n "$pkg-config"; then +- GTK2_VERSION=`$pkgconfig --variable=gtk_binary_version gtk+-2.0` +- if test -n "$GTK2_VERSION"; then +- GTK2_CFLAGS=`$pkgconfig gtk+-2.0 --cflags` +- GTK2_LIBS=`$pkgconfig gtk+-2.0 --libs` +- AC_SUBST(GTK2_CFLAGS) +- AC_SUBST(GTK2_LIBS) +- AC_SUBST(GTK2_VERSION) +- FOUND_GTK2=1 ++AC_ARG_ENABLE([gtk2], ++ AS_HELP_STRING([--enable-gtk2],[Enable Gtk+2 engine (default=yes)]), ++ [enable_gtk2=$enableval], ++ [enable_gtk2=yes]) ++ ++if test x$enable_gtk2 = xyes; then ++ AC_PATH_PROG(pkgconfig, pkg-config, no) ++ if test -n "$pkg-config"; then ++ GTK2_VERSION=`$pkgconfig --variable=gtk_binary_version gtk+-2.0` ++ if test -n "$GTK2_VERSION"; then ++ GTK2_CFLAGS=`$pkgconfig gtk+-2.0 --cflags` ++ GTK2_LIBS=`$pkgconfig gtk+-2.0 --libs` ++ AC_SUBST(GTK2_CFLAGS) ++ AC_SUBST(GTK2_LIBS) ++ AC_SUBST(GTK2_VERSION) ++ FOUND_GTK2=1 ++ else ++ AC_MSG_ERROR([Not compiling for GTK2.x - Gtk2.x not installed]) ++ fi + else +- AC_MSG_WARN([Not compiling for GTK2.x - Gtk2.x not installed]) ++ AC_MSG_ERROR([Not compiling for GTK2.x - pkg-config not installed]) + fi +-else +- AC_MSG_WARN([Not compiling for GTK2.x - pkg-config not installed]) + fi + + if (test $FOUND_IMLIB -eq 0) && (test $FOUND_GTK2 -eq 0); then diff --git a/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild b/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild new file mode 100644 index 000000000000..58f2b58fefdb --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" + +inherit autotools eutils gnome2 + +MY_P="QtPixmap-${PV}" + +DESCRIPTION="Theme engine based on GTK pixmap engine using the Plasma color scheme" +HOMEPAGE="http://www.kde-look.org/content/show.php?content=7043" +SRC_URI="http://www.cpdrummond.freeuk.com/${MY_P}.tar.gz" + +KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86" +LICENSE="GPL-2" +SLOT="0" + +IUSE="" + +RDEPEND="x11-libs/gtk+:2" + +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # Add switches to enable/disable gtk1 and gtk2 engines in the configure + # script. + epatch "${FILESDIR}/${P}-gtk_switches.patch" + + sed -i -e 's/AC_CHECK_COMPILERS/AC_PROG_CC/' configure.in || die + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die + + rm acinclude.m4 + + eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --enable-gtk2 \ + --disable-gtk1 +} diff --git a/x11-themes/gtk-engines-qtpixmap/metadata.xml b/x11-themes/gtk-engines-qtpixmap/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> |