changeset 334:18a3a8db4361

graphics/libpng: rename from lib/libpng
author David Demelier <markand@malikania.fr>
date Wed, 27 Mar 2019 20:21:00 +0100
parents 251b663c3c01
children f2079c0760e3
files graphics/cairo/cairo.sh graphics/libpng/libpng.sh lib/freetype/freetype.sh lib/libpng/libpng.sh x11/pixman/pixman.sh x11/xcursorgen/xcursorgen.sh
diffstat 6 files changed, 58 insertions(+), 58 deletions(-) [+]
line wrap: on
line diff
--- a/graphics/cairo/cairo.sh	Wed Mar 27 20:20:00 2019 +0100
+++ b/graphics/cairo/cairo.sh	Wed Mar 27 20:21:00 2019 +0100
@@ -102,7 +102,7 @@
 fi
 
 if [ "$PNG" = "yes" ]; then
-	PKGDEPENDS="lib/libpng $PKGDEPENDS"
+	PKGDEPENDS="graphics/libpng $PKGDEPENDS"
 	with_png="--enable-png"
 else
 	with_png="--disable-png"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libpng/libpng.sh	Wed Mar 27 20:21:00 2019 +0100
@@ -0,0 +1,54 @@
+#!/bin/sh
+#
+# Copyright (c) 2019 David Demelier <markand@malikania.fr>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=libpng
+PKGVERSION=1.6.36
+PKGREVISION=1
+PKGLICENSE="CUSTOM"
+PKGSUMMARY="library for PNG image files"
+PKGDOWNLOAD="https://downloads.sourceforge.net/sourceforge/$PKGNAME/$PKGNAME-$PKGVERSION.tar.xz"
+
+: ${CHOST:=$(uname -m)-linux-musl}
+: ${CBUILD:=$(uname -m)-linux-musl}
+: ${CC:=gcc}
+: ${CFLAGS:=-O2}
+: ${LDFLAGS:=}
+: ${LIBS:=}
+
+build()
+{
+	rm -rf $PKGNAME-$PKGVERSION
+	tar xvaf $PKGNAME-$PKGVERSION.tar.xz
+	pushd $PKGNAME-$PKGVERSION
+
+	CC="$CC" \
+	CFLAGS="$CFLAGS" \
+	LDFLAGS="$LDFLAGS" \
+	LIBS="$LIBS" \
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--enable-shared \
+		--disable-static
+	make
+	make install DESTDIR=$DESTDIR
+	rm -f $DESTDIR/usr/lib/libpng{,16}.la
+
+	popd
+	rm -rf $PKGNAME-$PKGVERSION
+}
--- a/lib/freetype/freetype.sh	Wed Mar 27 20:20:00 2019 +0100
+++ b/lib/freetype/freetype.sh	Wed Mar 27 20:21:00 2019 +0100
@@ -41,7 +41,7 @@
 fi
 
 if [ "$PNG" = "yes" ]; then
-	PKGDEPENDS="lib/libpng $PKGDEPENDS"
+	PKGDEPENDS="graphics/libpng $PKGDEPENDS"
 	with_png="--with-png"
 else
 	with_png="--without-png"
--- a/lib/libpng/libpng.sh	Wed Mar 27 20:20:00 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2019 David Demelier <markand@malikania.fr>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=libpng
-PKGVERSION=1.6.36
-PKGREVISION=1
-PKGLICENSE="CUSTOM"
-PKGSUMMARY="library for PNG image files"
-PKGDOWNLOAD="https://downloads.sourceforge.net/sourceforge/$PKGNAME/$PKGNAME-$PKGVERSION.tar.xz"
-
-: ${CHOST:=$(uname -m)-linux-musl}
-: ${CBUILD:=$(uname -m)-linux-musl}
-: ${CC:=gcc}
-: ${CFLAGS:=-O2}
-: ${LDFLAGS:=}
-: ${LIBS:=}
-
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvaf $PKGNAME-$PKGVERSION.tar.xz
-	pushd $PKGNAME-$PKGVERSION
-
-	CC="$CC" \
-	CFLAGS="$CFLAGS" \
-	LDFLAGS="$LDFLAGS" \
-	LIBS="$LIBS" \
-	./configure \
-		--build=$CBUILD \
-		--host=$CHOST \
-		--prefix=/usr \
-		--enable-shared \
-		--disable-static
-	make
-	make install DESTDIR=$DESTDIR
-	rm -f $DESTDIR/usr/lib/libpng{,16}.la
-
-	popd
-	rm -rf $PKGNAME-$PKGVERSION
-}
--- a/x11/pixman/pixman.sh	Wed Mar 27 20:20:00 2019 +0100
+++ b/x11/pixman/pixman.sh	Wed Mar 27 20:21:00 2019 +0100
@@ -32,7 +32,7 @@
 : ${PNG:=no}
 
 if [ "$PNG" = "yes" ]; then
-	PKGDEPENDS="lib/libpng $PKGDEPENDS"
+	PKGDEPENDS="graphics/libpng $PKGDEPENDS"
 	with_png="--enable-libpng"
 else
 	with_png="--disable-libpng"
--- a/x11/xcursorgen/xcursorgen.sh	Wed Mar 27 20:20:00 2019 +0100
+++ b/x11/xcursorgen/xcursorgen.sh	Wed Mar 27 20:21:00 2019 +0100
@@ -21,7 +21,7 @@
 PKGLICENSE="CUSTOM"
 PKGSUMMARY="X.Org tool to create X cursors from PNG images"
 PKGDOWNLOAD="https://www.x.org/releases/individual/app/$PKGNAME-$PKGVERSION.tar.gz"
-PKGDEPENDS="lib/libpng
+PKGDEPENDS="graphics/libpng
             x11/libx11
             x11/libxcursor
             x11/util-macros:build