aboutsummaryrefslogtreecommitdiff
path: root/graphics/libkscreen
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2014-10-12 11:33:12 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2014-10-12 11:33:12 +0000
commitba84bf6efe673c231e2200ac7ceabf3a1a138928 (patch)
treeb241dc581631642e71c2889d7332bf3b80118556 /graphics/libkscreen
parentc49ebfcb6a42f13298e6b5ad0c66d5600599cc0f (diff)
downloadports-ba84bf6efe673c231e2200ac7ceabf3a1a138928.tar.gz
ports-ba84bf6efe673c231e2200ac7ceabf3a1a138928.zip
Notes
Diffstat (limited to 'graphics/libkscreen')
-rw-r--r--graphics/libkscreen/Makefile27
-rw-r--r--graphics/libkscreen/distinfo2
-rw-r--r--graphics/libkscreen/files/patch-CMakeLists.txt11
-rw-r--r--graphics/libkscreen/pkg-descr3
-rw-r--r--graphics/libkscreen/pkg-plist18
5 files changed, 61 insertions, 0 deletions
diff --git a/graphics/libkscreen/Makefile b/graphics/libkscreen/Makefile
new file mode 100644
index 000000000000..9b44517bf0ef
--- /dev/null
+++ b/graphics/libkscreen/Makefile
@@ -0,0 +1,27 @@
+# Created by: alonso@
+# $FreeBSD$
+
+PORTNAME= libkscreen
+PORTVERSION= 1.0.5
+CATEGORIES= graphics kde
+MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE screen management library
+
+LIB_DEPENDS= libqjson.so:${PORTSDIR}/devel/qjson \
+ libxcb.so:${PORTSDIR}/x11/libxcb
+
+USE_KDE4= kdelibs kdeprefix automoc4
+USES= cmake:outsource pkgconfig tar:xz
+USE_QT4= corelib dbus gui script \
+ moc_build qmake_build rcc_build uic_build
+USE_LDCONFIG= yes
+
+PLIST_SUB+= PORTVERSION="${PORTVERSION}"
+
+pre-configure:
+ ${REINPLACE_CMD} -e 's,$${LIB_INSTALL_DIR}/pkgconfig,libdata/pkgconfig,' \
+ ${WRKSRC}/src/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/graphics/libkscreen/distinfo b/graphics/libkscreen/distinfo
new file mode 100644
index 000000000000..0a453df2cc5f
--- /dev/null
+++ b/graphics/libkscreen/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libkscreen-1.0.5.tar.xz) = ee6cfb92c41fe78c43ee6d509039d598d9f98582f9aa67aeac5b2760b3b2e904
+SIZE (libkscreen-1.0.5.tar.xz) = 36384
diff --git a/graphics/libkscreen/files/patch-CMakeLists.txt b/graphics/libkscreen/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..14302797850a
--- /dev/null
+++ b/graphics/libkscreen/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2014-09-16 23:09:39.620225053 +0200
++++ CMakeLists.txt 2014-09-16 23:09:49.250232904 +0200
+@@ -1,7 +1,7 @@
+ project(libkscreen)
+ set(libkscreen_VERSION_MAJOR 1)
+ set(libkscreen_VERSION_MINOR 0)
+-set(libkscreen_VERSION_RELEASE 4)
++set(libkscreen_VERSION_RELEASE 5)
+ set(libkscreen_VERSION "${libkscreen_VERSION_MAJOR}.${libkscreen_VERSION_MINOR}.${libkscreen_VERSION_RELEASE}")
+ add_definitions("-DLIBKSCREEN_VERSION=\\\"${libkscreen_VERSION}\\\"")
+
diff --git a/graphics/libkscreen/pkg-descr b/graphics/libkscreen/pkg-descr
new file mode 100644
index 000000000000..89dd5b272b37
--- /dev/null
+++ b/graphics/libkscreen/pkg-descr
@@ -0,0 +1,3 @@
+KDE screen management library.
+
+WWW: http://projects.kde.org/projects/extragear/libs/libkscreen
diff --git a/graphics/libkscreen/pkg-plist b/graphics/libkscreen/pkg-plist
new file mode 100644
index 000000000000..c720aeed4dff
--- /dev/null
+++ b/graphics/libkscreen/pkg-plist
@@ -0,0 +1,18 @@
+include/kscreen/config.h
+include/kscreen/configmonitor.h
+include/kscreen/edid.h
+include/kscreen/kscreen_export.h
+include/kscreen/mode.h
+include/kscreen/output.h
+include/kscreen/screen.h
+lib/cmake/LibKScreen/LibKScreenConfig.cmake
+lib/cmake/LibKScreen/LibKScreenConfigVersion.cmake
+lib/cmake/LibKScreen/LibKScreenTargetsWithPrefix-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/LibKScreen/LibKScreenTargetsWithPrefix.cmake
+lib/kde4/plugins/kscreen/KSC_Fake.so
+lib/kde4/plugins/kscreen/KSC_XRandR.so
+lib/kde4/plugins/kscreen/KSC_XRandR11.so
+lib/libkscreen.so
+lib/libkscreen.so.1
+lib/libkscreen.so.%%PORTVERSION%%
+libdata/pkgconfig/kscreen.pc