diff options
Diffstat (limited to 'x11-misc/apwal')
-rw-r--r-- | x11-misc/apwal/Manifest | 6 | ||||
-rw-r--r-- | x11-misc/apwal/apwal-0.4.5-r2.ebuild | 29 | ||||
-rw-r--r-- | x11-misc/apwal/files/apwal-0.4.5-makefile.patch | 67 | ||||
-rw-r--r-- | x11-misc/apwal/metadata.xml | 8 |
4 files changed, 110 insertions, 0 deletions
diff --git a/x11-misc/apwal/Manifest b/x11-misc/apwal/Manifest new file mode 100644 index 000000000000..315e12de6c49 --- /dev/null +++ b/x11-misc/apwal/Manifest @@ -0,0 +1,6 @@ +AUX apwal-0.4.5-makefile.patch 1796 SHA256 3be4e28d830e2691bc837cb853733e2eda8254fafdcb2a9cf98edf146d4152ce SHA512 e87ea9d0fdc328d46fb9dc345135efdb6b2801da583a1a6dc5569869f2854e062ca3c676c5477a23f0b07bc0557cf1af9a76383115bd44111dd0d17d4ad97f74 WHIRLPOOL 0b9e13cc630fbb855b2caca72510de1a655f38b84c7874861fe8668fa77a3aca24ce0febd6929a137202084c31b271071ec6ca7ba2ceba5f4b8997f65b7f1445 +DIST apwal-0.4.5.tar.gz 73999 SHA256 0de64be9b40d853ef1efe69faf99e3e7b9c3b756575ed9f40e16aa4fe74844f3 SHA512 a37f5453d49bc276d2e16d4fd739cb9034a841af1a60f723ec705751da1ea77be79e63d6a29a0f16b52f1021368e73e513c9081a3d73f34e0332639f0f243dc9 WHIRLPOOL 0c5a3abd67ee9d9aba1012ec055fc6b1945aa7b4dd8eddf0d527cfb1410bc6f9c377ef77ae428d5d65f2447751585ec08b1867fbfab5c2fe7cfc0bc6754f8a2d +EBUILD apwal-0.4.5-r2.ebuild 582 SHA256 a8514ee32f792738a03ce7f90ccddacd9d89703fb900adaa0e01670bd8860611 SHA512 55ec053855e5a1426dbe8046b8b882a6284212881dc15f7244fe56db015a454e32301ac6e6f3065755b1fd004d5018e90244bf56f675ea4ca52e9dd2c9c4a52a WHIRLPOOL 585be27701a1973996ea981ee8a6ab6ec0007836b2bc910f4d2ca7dda440c2c0a81020db22bbf3bcd94d9f90f2d8dc37ce5be6e1a9f5017a1027820bbb943c04 +MISC ChangeLog 2462 SHA256 740e0bb67b2d406964cd6608169111d8789051f1f62b38dd937d5e796115cf58 SHA512 c1178fc6709e5a1d2fe93ce4dea984adb64f3f27e33494b3c3e82213ce911380e7d21f016b751f8b813c089d44d14529b51a9829b3ca572a8e37a654fc7839d0 WHIRLPOOL 40395784bde4e8e293da85ee0fedf86904e507c2607cfa87ab1eb63f10ddd76c40aefe0f28d6cd54e44e628fd167a6316a4fc379e7d8a6e852ebda36ec34f125 +MISC ChangeLog-2015 2315 SHA256 fa1b46a4a7aa03e78664fa12f09814dd1dfbe567ee4184a7409cb865c2b6cf5f SHA512 3e4bf260d9c7828ffc30e7c1f27d06be0a995a97f172e731a9b18690fb033249a3e6459891e9b7a8a66c84757da84f27a92e4f2f8c5ba4fc9fd191d284a987cd WHIRLPOOL 5a6d66d64551f2e81799943928e9305ddf5567fe63aa589c6972dd3f8f980c3881019cb08c1e313f8b32b8cd9746176ee6190b1f0af56a45d4c6debdb43ca7c5 +MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50 diff --git a/x11-misc/apwal/apwal-0.4.5-r2.ebuild b/x11-misc/apwal/apwal-0.4.5-r2.ebuild new file mode 100644 index 000000000000..0ec395f371f8 --- /dev/null +++ b/x11-misc/apwal/apwal-0.4.5-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A simple application launcher and combined editor" +HOMEPAGE="http://apwal.free.fr/" +SRC_URI="http://apwal.free.fr/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/gdk-pixbuf + dev-libs/libxml2 + dev-libs/glib:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) +S=${WORKDIR}/${PN} + +src_configure() { + tc-export CC +} diff --git a/x11-misc/apwal/files/apwal-0.4.5-makefile.patch b/x11-misc/apwal/files/apwal-0.4.5-makefile.patch new file mode 100644 index 000000000000..2c278b278a03 --- /dev/null +++ b/x11-misc/apwal/files/apwal-0.4.5-makefile.patch @@ -0,0 +1,67 @@ +* Fix parallel build +* Respect CC, CFLAGS, LDFLAGS #333969 +* don't strip binaries +* fix install paths + +--- a/Makefile ++++ b/Makefile +@@ -1,11 +1,8 @@ + + include Makefile.inc + +-all: +- (cd src && $(MAKE) $@) +- +-install: +- (cd src && $(MAKE) $@) ++all install: ++ $(MAKE) -C src $@ + + clean: + (cd src && $(MAKE) $@) +--- a/src/Makefile ++++ b/src/Makefile +@@ -5,8 +5,8 @@ + CFLAGS=-g -Wall -Werror `pkg-config --cflags gtk+-2.0 gthread-2.0` -DGTK_DISABLE_DEPRECATED -DAPWAL_DEBUG + LDFLAGS=`pkg-config --libs gtk+-2.0 gthread-2.0` `xml2-config --libs` + else +-CFLAGS=-O2 `pkg-config --cflags gtk+-2.0 gthread-2.0` +-LDFLAGS=-O2 `pkg-config --libs gtk+-2.0 gthread-2.0` `xml2-config --libs` ++CPPFLAGS=`pkg-config --cflags gtk+-2.0 gthread-2.0` ++LIBS=`pkg-config --libs gtk+-2.0 gthread-2.0` `xml2-config --libs` + endif + + OBJS=main.o app.o launcher.o editor.o property.o \ +@@ -24,25 +24,24 @@ + ifdef APWAL_DEBUG + all: checktraceformat apwal tags + apwal: $(OBJS) +- gcc -o $@ $^ $(LDFLAGS) ++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + else + all: apwal + apwal: $(OBJS) +- gcc -o $@ $^ $(LDFLAGS) +- strip $@ ++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + endif + + install: all +- cp apwal /usr/local/bin/ +- ln -sf /usr/local/bin/apwal /usr/local/bin/apwal-editor ++ install -D -m 755 apwal $(DESTDIR)/usr/bin/apwal ++ ln -sf apwal $(DESTDIR)/usr/bin/apwal-editor + + .c.o: $(INCS) +- gcc -c $< -o $*.o $(CFLAGS) ++ $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $*.o + + xmlrc.o: xmlrc.c $(INCS) +- gcc -c $< -o $*.o $(CFLAGS) `xml2-config --cflags` ++ $(CC) $(CPPFLAGS) $(CFLAGS) `xml2-config --cflags` -c $< -o $*.o + about.o: about.c $(INCS) ../Makefile.inc +- gcc -c $< -o $*.o $(CFLAGS) -DAPWAL_VERSION=\"$(VERS)\" ++ $(CC) $(CPPFLAGS) -DAPWAL_VERSION=\"$(VERS)\" $(CFLAGS) -c $< -o $*.o + + gtkstuff.o: pixbufinline.inc + xmlrc.o: xmlrcinline.inc diff --git a/x11-misc/apwal/metadata.xml b/x11-misc/apwal/metadata.xml new file mode 100644 index 000000000000..49c86a887b6a --- /dev/null +++ b/x11-misc/apwal/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>desktop-misc@gentoo.org</email> + <name>Gentoo Desktop Miscellaneous Project</name> +</maintainer> +</pkgmetadata> |